PlayerCc::AioProxy Class Reference

#include <playerc++.h>

Inherits PlayerCc::ClientProxy.

List of all members.

Detailed Description

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

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.

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].

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

Last updated 12 September 2005 21:38:45