PlayerCc::AioProxy Class Reference

The AioProxy class is used to read from a aio (analog I/O) device. More...

#include <playerc++.h>

Inheritance diagram for PlayerCc::AioProxy:
PlayerCc::ClientProxy

List of all members.

Public Member Functions

 AioProxy (PlayerClient *aPc, uint32_t aIndex=0)
uint32_t GetCount () const
 Accessor function.
double GetVoltage (uint32_t aIndex) const
 Accessor function.
void SetVoltage (uint32_t aIndex, double aVoltage)
 Set the output voltage.
double operator[] (uint32_t aIndex) const
 AioProxy data access operator.

Private Member Functions

void Subscribe (uint32_t aIndex)
void Unsubscribe ()

Private Attributes

playerc_aio_tmDevice

Detailed Description

The AioProxy class is used to read from a aio (analog I/O) device.


Member Function Documentation

double PlayerCc::AioProxy::operator[] ( uint32_t  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].


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

Last updated 25 May 2011 21:17:00