|
rec::robotino::api2 C++ interface
|
Represents a digital output device. More...
#include <PowerOutput.h>
Public Member Functions | |
| void | setComId (const ComId &id) |
| void | setValue (float controlPoint) |
| float | current () const |
| virtual void | readingsEvent (float current) |
Public Member Functions inherited from rec::robotino::api2::ComObject | |
| ComObject () | |
| virtual | ~ComObject () |
| ComId | comId () const |
Friends | |
| class | PowerOutputImpl |
Additional Inherited Members | |
Protected Attributes inherited from rec::robotino::api2::ComObject | |
| ComId | _comID |
Represents a digital output device.
| float rec::robotino::api2::PowerOutput::current | ( | ) | const |
| nothing |
|
virtual |
Called when new data is available.
| current | The current. |
| void rec::robotino::api2::PowerOutput::setComId | ( | const ComId & | id | ) |
Sets the associated communication object.
| id | The id of the associated communication object. |
| RobotinoException | if given id is invalid. |
| void rec::robotino::api2::PowerOutput::setValue | ( | float | controlPoint | ) |
Sets the current set point of the power output.
| controlPoint | The control point. Range from -100 to 100. |
| RobotinoException | if the current communication object is invalid. |
1.8.11