Home
FAQ
Player
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

AIOProxy Class Reference
[Proxies]

#include <playerclient.h>

Inherits 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 *pc, unsigned short index, unsigned char access= 'c')
 ~AIOProxy ()
void FillData (player_msghdr_t hdr, const char *buffer)
void Print ()
 Print out the current digital input state.


Public Attributes

char count
 The number of valid digital inputs.

int anin [PLAYER_AIO_MAX_SAMPLES]
 A bitfield of the current digital inputs.


Constructor & Destructor Documentation

AIOProxy::AIOProxy PlayerClient pc,
unsigned short  index,
unsigned char  access = 'c'
[inline]
 

Constructor. Leave the access field empty to start unconnected.

AIOProxy::~AIOProxy  )  [inline]
 


Member Function Documentation

void AIOProxy::FillData player_msghdr_t  hdr,
const char *  buffer
[virtual]
 

All proxies must provide this method. It is used internally to parse new data when it is received.

Reimplemented from ClientProxy.

void AIOProxy::Print  )  [virtual]
 

Print out the current digital input state.

Reimplemented from ClientProxy.


Member Data Documentation

char AIOProxy::count
 

The number of valid digital inputs.

int AIOProxy::anin[PLAYER_AIO_MAX_SAMPLES]
 

A bitfield of the current digital inputs.


The documentation for this class was generated from the following file:
Generated on Tue May 3 14:15:46 2005 for Player by doxygen 1.3.6