div class="twikiTopBar">

Chair for Computer Aided Medical Procedures & Augmented Reality
Lehrstuhl für Informatikanwendungen in der Medizin & Augmented Reality

ShmemViewer Class Reference
[Shared memory viewer]

The DWARF service class. More...

Inheritance diagram for ShmemViewer:

Inheritance graph
[legend]
Collaboration diagram for ShmemViewer:

Collaboration graph
[legend]

Public Member Functions

 ShmemViewer (ShmemViewerWindow *window)
 Stores window.
virtual ~ShmemViewer ()
 Does nothing.
void shutdown ()
 shuts down this service

Protected Member Functions

CORBA::Object_ptr createAbilityObject (DWARF::AbilityDescription_ptr abilityDescr)
 Not used.
CORBA::Object_ptr createNeedObject (DWARF::NeedDescription_ptr needDescr)
 Create a Need object for a given description.
void run ()
 core method of service. Just calls ShmemNeed::receiveData()

Private Attributes

ShmemNeedp_needObject
 a pointer to the single ShmemNeed
ShmemViewerWindowp_window
 the Qt main window displaying our image

Detailed Description

The DWARF service class.

This class is derived from the DWARF C++ Template service. It allows only a single Need of type CameraData, instantiating an object of type ShmemNeed

Author:
Martin Wagner <martin.wagner@in.tum.de>

Definition at line 165 of file ShmemViewer.h.


Member Function Documentation

CORBA::Object_ptr ShmemViewer::createAbilityObject DWARF::AbilityDescription_ptr  abilityDescr  )  [inline, protected, virtual]
 

Not used.

Parameters:
abilityDescr The description of the ability
Returns:
A CORBA nil pointer (we don't have any abilities)

Reimplemented from TemplateService.

Definition at line 189 of file ShmemViewer.h.

CORBA::Object_ptr ShmemViewer::createNeedObject DWARF::NeedDescription_ptr  needDescr  )  [protected, virtual]
 

Create a Need object for a given description.

Returns a new ShmemNeed object only on the first occurence of a need description of type CameraData.

Parameters:
needDescr The description of the need
Returns:
The created C++ Object_ptr

Reimplemented from TemplateService.

Definition at line 96 of file ShmemViewer.cc.

ShmemViewer Class Reference | generated on Sun Apr 29 02:01:10 2007 by Doxygen 1.4.1 for DWARF