PlayerCc::IrProxy Class Reference

#include <playerc++.h>

Inherits PlayerCc::ClientProxy.

List of all members.

Detailed Description

The IrProxy class is used to control an ir device.

Public Member Functions

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

Member Function Documentation

double PlayerCc::IrProxy::operator[] uint  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 12 September 2005 21:38:45