PlayerCc::IrProxy Class Reference

#include <playerc++.h>

Inheritance diagram for PlayerCc::IrProxy:

Inheritance graph
Collaboration diagram for PlayerCc::IrProxy:

Collaboration graph
List of all members.

Detailed Description

The IrProxy class is used to control an ir device.

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

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


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

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

References GetRange().

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