div class="twikiTopBar">

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

InferenceServiceSyncPush Class Reference

Inheritance diagram for InferenceServiceSyncPush:

Inheritance graph
[legend]
Collaboration diagram for InferenceServiceSyncPush:

Collaboration graph
[legend]

Public Member Functions

 InferenceServiceSyncPush ()
CORBA::Object_ptr createNeedObject (DWARF::NeedDescription_ptr pNeedDescr)

Protected Member Functions

void PushEventA (const DWARF::PoseData &rEvent)
void PushEventB (const DWARF::PoseData &rEvent)

Protected Attributes

omni_mutex m_Mutex
DWARF::PoseData m_PoseA
DWARF::PoseData m_PoseB
std::auto_ptr< DWARF::InternalEvents::InternalEventReceiver<
DWARF::PoseData > > 
m_pEventReceiverA
std::auto_ptr< DWARF::InternalEvents::InternalEventReceiver<
DWARF::PoseData > > 
m_pEventReceiverB
DWARF::InternalEvents::InternalEventSender m_EventSender

Detailed Description

The inference service, derived from TemplateService The service has one PushSupplier ability and two PushConsumer needs. Note: An event is sent ONLY when two incoming events have EXACTLY the same timestamp, e.g. they are from the same tracker picture
Author:
Daniel Pustka <pustka@in.tum.de>

Definition at line 46 of file InferenceSyncPush.h.


Constructor & Destructor Documentation

InferenceServiceSyncPush::InferenceServiceSyncPush  ) 
 

constructor.

Definition at line 29 of file InferenceSyncPush.cpp.


Member Function Documentation

CORBA::Object_ptr InferenceServiceSyncPush::createNeedObject DWARF::NeedDescription_ptr  pNeedDescr  )  [virtual]
 

creates objects for needs

Reimplemented from TemplateService.

Definition at line 37 of file InferenceSyncPush.cpp.

void InferenceServiceSyncPush::PushEventA const DWARF::PoseData rEvent  )  [protected]
 

event receiving method for need A

Definition at line 64 of file InferenceSyncPush.cpp.

void InferenceServiceSyncPush::PushEventB const DWARF::PoseData rEvent  )  [protected]
 

event receiving method for need B

Definition at line 77 of file InferenceSyncPush.cpp.


Field Documentation

DWARF::InternalEvents::InternalEventSender InferenceServiceSyncPush::m_EventSender [protected]
 

event sender object

Definition at line 79 of file InferenceSyncPush.h.

omni_mutex InferenceServiceSyncPush::m_Mutex [protected]
 

mutex to protect access to stored poses

Definition at line 58 of file InferenceSyncPush.h.

std::auto_ptr< DWARF::InternalEvents::InternalEventReceiver< DWARF::PoseData > > InferenceServiceSyncPush::m_pEventReceiverA [protected]
 

event receiver for need A

Definition at line 73 of file InferenceSyncPush.h.

std::auto_ptr< DWARF::InternalEvents::InternalEventReceiver< DWARF::PoseData > > InferenceServiceSyncPush::m_pEventReceiverB [protected]
 

event receiver for need B

Definition at line 76 of file InferenceSyncPush.h.

DWARF::PoseData InferenceServiceSyncPush::m_PoseA [protected]
 

the last event received from need A

Definition at line 61 of file InferenceSyncPush.h.

DWARF::PoseData InferenceServiceSyncPush::m_PoseB [protected]
 

the last event received from need B

Definition at line 64 of file InferenceSyncPush.h.

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