Represents a PowerButton.
More...
#include <PowerButton.h>
Represents a PowerButton.
bool rec::robotino::api2::PowerButton::pressed |
( |
| ) |
const |
Returns the current state of the PowerButton.
- Returns
- TRUE if the PowerButton has contact, FALSE otherwise
- Exceptions
-
- See also
- ComObject::setComId
virtual void rec::robotino::api2::PowerButton::pressedChanged |
( |
bool |
pressed | ) |
|
|
virtual |
void rec::robotino::api2::PowerButton::setComId |
( |
const ComId & |
id | ) |
|
Sets the associated communication object.
- Parameters
-
id | The id of the associated communication object. |
- Exceptions
-
The documentation for this class was generated from the following file:
- C:/srcs/git/openrobotino/api2/lib/rec/robotino/api2/PowerButton.h