rec::robotino::api2 C++ interface
Public Member Functions | Static Public Member Functions | List of all members
rec::robotino::api2::DigitalOutputArray Class Reference

Represents a digital output device. More...

#include <DigitalOutputArray.h>

Inheritance diagram for rec::robotino::api2::DigitalOutputArray:
rec::robotino::api2::ComObject

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 numDigitalOutputs ()
 

Additional Inherited Members

- Protected Attributes inherited from rec::robotino::api2::ComObject
ComId _comID
 

Detailed Description

Represents a digital output device.

Member Function Documentation

static unsigned int rec::robotino::api2::DigitalOutputArray::numDigitalOutputs ( )
static
Returns
Returns the number of digital outputs
Exceptions
nothing
void rec::robotino::api2::DigitalOutputArray::setComId ( const ComId id)

Sets the associated communication object.

Parameters
idThe id of the associated communication object.
Exceptions
nothing
Remarks
This function is thread save
void rec::robotino::api2::DigitalOutputArray::setValues ( const int *  values,
unsigned int  size 
)

Sets the current value of the specified output device.

Parameters
valuesThe array of values set to the digital outputs.
sizeSize of the values array.
Exceptions
RobotinoExceptionif the underlying communication object is invalid
See also
ComObject::setComId

The documentation for this class was generated from the following file: