PlayerCc::IrProxy Class Reference
The IrProxy
class is used to control an ir device.
More...
#include <playerc++.h>
Inheritance diagram for PlayerCc::IrProxy:
Public Member Functions | |
IrProxy (PlayerClient *aPc, uint32_t aIndex=0) | |
Constructor. | |
~IrProxy () | |
destructor | |
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 | |
playerc_ir_t * | mDevice |
Detailed Description
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: