|
roo_control
API Documentation for roo_control
|
BinaryLogicalState specialization with stricter value checks. More...
#include <bound_switch.h>
Public Member Functions | |
| BoundSwitch (roo_transceivers::Universe &universe, const roo_transceivers::ActuatorBinding *binding) | |
| bool | getState (BinaryLogicalState &result) const override |
| bool | setState (BinaryLogicalState state) override |
| Updates the state of the switch. Returns true on success. | |
Public Member Functions inherited from roo_control::Switch< BinaryLogicalState > | |
| virtual | ~Switch ()=default |
Public Member Functions inherited from roo_control::Selector< State > | |
| virtual | ~Selector ()=default |
| virtual bool | getState (State &result) const =0 |
| Retrieves the current state, or returns false when it cannot be read. | |
BinaryLogicalState specialization with stricter value checks.
Definition at line 43 of file bound_switch.h.
|
inline |
Definition at line 45 of file bound_switch.h.
|
inlineoverride |
Definition at line 49 of file bound_switch.h.
|
inlineoverridevirtual |
Updates the state of the switch. Returns true on success.
Implements roo_control::Switch< BinaryLogicalState >.
Definition at line 70 of file bound_switch.h.