PlayerCc::AioProxy Class Reference
[Proxies]
The AioProxy
class is used to read from a aio (analog I/O) device.
More...
#include <playerc++.h>
Public Member Functions | |
AioProxy (PlayerClient *aPc, uint aIndex=0) | |
uint | GetCount () const |
Accessor function. | |
double | GetVoltage (uint aIndex) const |
Accessor function. | |
void | SetVoltage (uint aIndex, double aVoltage) |
Set the output voltage. | |
double | operator[] (uint aIndex) const |
AioProxy data access operator. |
Detailed Description
TheAioProxy
class is used to read from a aio (analog I/O) device.
Member Function Documentation
double PlayerCc::AioProxy::operator[] | ( | uint | aIndex | ) | const [inline] |
AioProxy data access operator.
This operator provides an alternate way of access the actuator data. For example, given a AioProxy
named bp
, the following expressions are equivalent: ap.GetVoltage(0)
and ap
[0].
References GetVoltage().
The documentation for this class was generated from the following file: