|
orca-robotics INTRODUCTION Overview Download and Install Quick Start Documentation Publications REPOSITORY Interfaces Components Libraries Utilities Software Map DEVELOPER Tutorials Examples Dev Guide Dashboard Wiki login/pass: orca/orca PEOPLE Contributors Users Project Download Mailing lists
|
orca::Power Class ReferenceAccess to a robot's power subsystem.
More...
|
||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| PowerData | getData () throw ( DataNotExistException, HardwareFailedException) |
| void | subscribe (PowerConsumer *subscriber) throw ( SubscriptionFailedException) |
| void | unsubscribe (PowerConsumer *subscriber) |
| PowerData orca::Power::getData | ( | ) | throw ( DataNotExistException, HardwareFailedException) |
Returns the latest data. Raises DataNotExistException if data is not available. Raises HardwareFailedException there is a problem with the underlying hardware.
| void orca::Power::subscribe | ( | PowerConsumer * | subscriber | ) | throw ( SubscriptionFailedException) |
Mimics IceStorm's subscribe() but without QoS, for now. The implementation may choose to implement the data push internally or use IceStorm. This choice is transparent to the subscriber.
| subscriber | The subscriber's proxy. |
| void orca::Power::unsubscribe | ( | PowerConsumer * | subscriber | ) |
Unsubscribe the given [subscriber].
| subscriber | The proxy of an existing subscriber. |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)
1.4.5