rec::robotino::api2 C++ interface
|
Represents a digital output device. More...
#include <RelayArray.h>
Public Member Functions | |
void | setComId (const ComId &id) |
void | setValues (const int *values, unsigned int size) |
Public Member Functions inherited from rec::robotino::api2::ComObject | |
ComObject () | |
virtual | ~ComObject () |
ComId | comId () const |
Static Public Member Functions | |
static unsigned int | numRelays () |
Additional Inherited Members | |
Protected Attributes inherited from rec::robotino::api2::ComObject | |
ComId | _comID |
Represents a digital output device.
|
static |
nothing |
void rec::robotino::api2::RelayArray::setComId | ( | const ComId & | id | ) |
Sets the associated communication object.
id | The id of the associated communication object. |
nothing |
void rec::robotino::api2::RelayArray::setValues | ( | const int * | values, |
unsigned int | size | ||
) |
Sets the current value of the specified output device.
values | The array of values set to the digital outputs. |
size | Size of the values array. |
RobotinoException | if the underlying communication object is invalid |