PlayerCc::AioProxy Class Reference
[Proxies]

#include <playerc++.h>

Inheritance diagram for PlayerCc::AioProxy:

Inheritance graph
[legend]
Collaboration diagram for PlayerCc::AioProxy:

Collaboration graph
[legend]
List of all members.

Detailed Description

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

Definition at line 195 of file playerc++.h.


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

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

Definition at line 224 of file playerc++.h.

References GetVoltage().

Here is the call graph for this function:


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

Last updated 12 September 2005 21:38:45