PlayerCc::IrProxy Class Reference

The IrProxy class is used to control an ir device. More...

#include <playerc++.h>

Inheritance diagram for PlayerCc::IrProxy:

List of all members.

Public Member Functions

 IrProxy (PlayerClient *aPc, uint32_t aIndex=0)
 ~IrProxy ()
uint32_t GetCount () const
 get the number of IR rangers
double GetRange (uint32_t aIndex) const
 get the current range
double GetVoltage (uint32_t aIndex) const
 get the current voltage
uint32_t GetPoseCount () const
 get the number of poses
player_pose3d_t GetPose (uint32_t aIndex) const
 get a particular pose
void RequestGeom ()
 Request IR pose information.
double operator[] (uint32_t aIndex) const
 Range access operator.

Private Member Functions

void Subscribe (uint32_t aIndex)
void Unsubscribe ()

Private Attributes


Detailed Description

The IrProxy class is used to control an ir device.

Member Function Documentation

double PlayerCc::IrProxy::operator[] ( uint32_t  aIndex) const [inline]

Range access operator.

This operator provides an alternate way of access the range data. For example, given a IrProxy named ip, the following expressions are equivalent: ip.GetRange[0] and ip[0].

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

Last updated 25 May 2011 21:17:00