div class="twikiTopBar">

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

DWARFSystemModel Class Reference

Inheritance diagram for DWARFSystemModel:

Inheritance graph
[legend]
Collaboration diagram for DWARFSystemModel:

Collaboration graph
[legend]

inherited from DWARFModelEnumerator

std::string GetFirstService ()
std::string GetNextService (const std::string &sName)
DWARFServiceLockService (const std::string &sName)
void Update ()
unsigned long getVersion ()
void waitForNewVersion ()
void newVersion ()
int GetServiceManagerCount () const
int GetServiceCount () const
DWARF::SvcSession_var _this ()

inherited from DWARFModelEnumerator

string GetFirstService ()
string GetNextService (const string &sName)
DWARFServiceLockService (const string &sName)
void Update ()
unsigned long getVersion ()
bool waitForNewVersion (unsigned long time=ULONG_MAX)
void newVersion ()
int GetServiceManagerCount () const
int GetServiceCount () const
static void Init (int argc, char **argv)

Public Member Functions

 DWARFSystemModel (std::auto_ptr< Functor::Constant< void > > pUpdateEventReceiver)
virtual ~DWARFSystemModel ()
 Destructor.
 DWARFSystemModel (QObject *pUpdateEventReceiver, int iEventType)
 Constructor.
virtual ~DWARFSystemModel ()
 Destructor.

Data Structures

class  ServiceManagerSession

Detailed Description

represents a model of the state of a DWARF system Note: this is no longer a service, but an object that can be registered for a ServiceManager need
Author:
Daniel Pustka

Definition at line 72 of file ubitrack/MiddlewareAgent/DwarfSystemModel/dwarfsystemmodel.h.


Constructor & Destructor Documentation

DWARFSystemModel::DWARFSystemModel std::auto_ptr< Functor::Constant< void > >  pUpdateEventReceiver  ) 
 

Constructor

Parameters:
pUpdateEventReceiver Where to send notifications of succesfull updates (see Functor::Bind for details) Attention: The method will certainly be called from an arbitrary thread.

Definition at line 256 of file ubitrack/MiddlewareAgent/DwarfSystemModel/dwarfsystemmodel.cpp.


Member Function Documentation

DWARF::SvcSession_var DWARFSystemModel::_this  )  [inline]
 

returns a CORBA pointer to this object for registering as a need

Definition at line 140 of file ubitrack/MiddlewareAgent/DwarfSystemModel/dwarfsystemmodel.h.

string DWARFSystemModel::GetFirstService  )  [virtual]
 

returns the name of the fist DWARF service returns an empty string if list is empty

Implements DWARFModelEnumerator.

string DWARFSystemModel::GetFirstService  )  [virtual]
 

returns the name of the fist DWARF service returns an empty string if list is empty

Implements DWARFModelEnumerator.

Definition at line 290 of file ubitrack/MiddlewareAgent/DwarfSystemModel/dwarfsystemmodel.cpp.

string DWARFSystemModel::GetNextService const string &  sName  )  [virtual]
 

returns the name of the DWARF service following the given one returns an empty string if at the end of list

Implements DWARFModelEnumerator.

string DWARFSystemModel::GetNextService const std::string &  sName  )  [virtual]
 

returns the name of the DWARF service following the given one returns an empty string if at the end of list

Implements DWARFModelEnumerator.

Definition at line 297 of file ubitrack/MiddlewareAgent/DwarfSystemModel/dwarfsystemmodel.cpp.

int DWARFSystemModel::GetServiceCount  )  const [inline]
 

Get number of services

Definition at line 223 of file DIVE/dwarfsystemmodel.h.

int DWARFSystemModel::GetServiceCount  )  const [inline]
 

Get number of services

Definition at line 136 of file ubitrack/MiddlewareAgent/DwarfSystemModel/dwarfsystemmodel.h.

int DWARFSystemModel::GetServiceManagerCount  )  const [inline]
 

Get number of service managers

Definition at line 218 of file DIVE/dwarfsystemmodel.h.

int DWARFSystemModel::GetServiceManagerCount  )  const [inline]
 

Get number of service managers

Definition at line 130 of file ubitrack/MiddlewareAgent/DwarfSystemModel/dwarfsystemmodel.h.

unsigned long DWARFSystemModel::getVersion  )  [inline]
 

get the Version number

Warning:
this function is not used anywere

Definition at line 207 of file DIVE/dwarfsystemmodel.h.

unsigned long DWARFSystemModel::getVersion  )  [inline]
 

get the Version number

Warning:
this function is not used anywere

Definition at line 111 of file ubitrack/MiddlewareAgent/DwarfSystemModel/dwarfsystemmodel.h.

void DWARFSystemModel::Init int  argc,
char **  argv
[static]
 

should be called from main() with the program arguments

Definition at line 362 of file DIVE/dwarfsystemmodel.cpp.

DWARFService* DWARFSystemModel::LockService const string &  sName  )  [virtual]
 

returns the actual DWARF service description

  • the caller must unlock the service
  • may return 0 if the service is not available

Implements DWARFModelEnumerator.

DWARFService * DWARFSystemModel::LockService const std::string &  sName  )  [virtual]
 

returns the actual DWARF service description

  • the caller must unlock the service
  • may return 0 if the service is not available

Implements DWARFModelEnumerator.

Definition at line 308 of file ubitrack/MiddlewareAgent/DwarfSystemModel/dwarfsystemmodel.cpp.

void DWARFSystemModel::newVersion  ) 
 

increment the Version number an wake up everybody waiting for it

Warning:
this function is not used anywere

void DWARFSystemModel::newVersion  ) 
 

increment the Version number an wake up everybody waiting for it

Warning:
this function is not used anywere

Definition at line 269 of file ubitrack/MiddlewareAgent/DwarfSystemModel/dwarfsystemmodel.cpp.

void DWARFSystemModel::Update  ) 
 

updates the model

void DWARFSystemModel::Update  ) 
 

updates the model

Definition at line 352 of file ubitrack/MiddlewareAgent/DwarfSystemModel/dwarfsystemmodel.cpp.

bool DWARFSystemModel::waitForNewVersion unsigned long  time = ULONG_MAX  )  [inline]
 

wait for a new Version

Warning:
this function is not used anywere

Definition at line 210 of file DIVE/dwarfsystemmodel.h.

void DWARFSystemModel::waitForNewVersion  )  [inline]
 

wait for a new Version

Warning:
this function is not used anywere

Definition at line 118 of file ubitrack/MiddlewareAgent/DwarfSystemModel/dwarfsystemmodel.h.

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