Inheritance diagram for DWARF::PoseService:
This class implements a service which sends and/or receives PoseData. For every initial PoseData ability it stores an PoseSender which handles the communication.
Franz Strasser <strassef@in.tum.de>
Martin Wagner <wagnerm@in.tum.de>
Definition at line 57 of file PoseService.h.
"PoseService"
The default constructor for the PoseService.
This constructor takes an optional service and creates the service object.
Definition at line 37 of file PoseService.cpp.
[inline, virtual]
Construct a PoseService with an external EventProcessor.
Empty default destructor
Definition at line 139 of file PoseService.h.
[protected, virtual]
Create an Ability object for a given description.
Reimplemented from TemplateService.
Definition at line 106 of file PoseService.cpp.
Create a Need object for a given description.
Reimplemented in DWARF::ErrorVisualizerService.
Definition at line 64 of file PoseService.cpp.
Disables continuous sending of events for all PoseSenders
Definition at line 225 of file PoseService.cpp.
Enables continuous sending of events for all PoseSenders
Definition at line 218 of file PoseService.cpp.
Returns a vector containing all EventReceivers.
Definition at line 192 of file PoseService.cpp.
Returns a vector containing all PoseSenders.
Definition at line 157 of file PoseService.cpp.
Return the EventReceiver for the given need.
Definition at line 184 of file PoseService.cpp.
Return the PoseSender for the given ability.
Definition at line 148 of file PoseService.cpp.
Returns the number of currently managed EventReceivers.
Definition at line 207 of file PoseService.cpp.
Returns the number of currently managed PoseSenders.
Definition at line 172 of file PoseService.cpp.
[inline]
Override this if you want to receive PoseData events.
This method implements the EventProcessor interface. The default behavior is to ignore all events. The actual implementation must be provided in subclasses by overriding this method.
Reimplemented in DWARF::StaticAutoCalibrationService, and DWARF::StaticCalibrationService.
Definition at line 205 of file PoseService.h.
Return whether events should be sent continuously.
Definition at line 194 of file PoseService.h.
[private]
A mutex for the access to the id map
Definition at line 75 of file PoseService.h.
A mutex for the access to m_shouldSend and for the condition variable
Definition at line 90 of file PoseService.h.
The service's name
Reimplemented in DWARF::ContinuousPoseService.
Definition at line 72 of file PoseService.h.
A mutex for the need map
Definition at line 81 of file PoseService.h.
Number of registered EventReceiver objects
Definition at line 66 of file PoseService.h.
Number of registered PoseSender objects
Definition at line 63 of file PoseService.h.
map of needs
Definition at line 84 of file PoseService.h.
map of abilities
Definition at line 78 of file PoseService.h.
Variable whether the senders is enabled or disabled
Definition at line 87 of file PoseService.h.
Condition variable to signal the change of m_shouldSend
Definition at line 93 of file PoseService.h.