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::BinarySwitch Interface ReferenceInterface to a device with a binary state.
More...
|
Public Member Functions | |
idempotent BinarySwitchData | getData () throws DataNotExistException, HardwareFailedException |
Get current state. Raises DataNotExistException if data is not available. | |
idempotent void | setState (int device, bool state) throws MalformedParametersException, HardwareFailedException |
Set current state. | |
void | timedSetState (int device, bool state, long timeoutMs) throws MalformedParametersException, HardwareFailedException |
Set current state, then after a timeout return to previous state. | |
void | toggleState (int device) throws MalformedParametersException, HardwareFailedException |
Toggle current state. | |
void | timedToggleState (int device, long timeoutMs) throws MalformedParametersException, HardwareFailedException |
Toggle state, then after a timeout toggle it back. |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)