PlayerCc::ActArrayProxy Class Reference
[Proxies]

#include <playerc++.h>

Inherits PlayerCc::ClientProxy.

List of all members.


Detailed Description

The ActArrayProxy class is used to control a actarray device.


Public Member Functions

 ActArrayProxy (PlayerClient *aPc, uint aIndex=0)
 Default constructor.
 ~ActArrayProxy ()
 Default destructor.
void RequestGeometry (void)
 Geometry request - call before getting the geometry of a joint through the accessor method.
void SetPowerConfig (bool aVal)
 Power control.
void SetBrakesConfig (bool aVal)
 Brakes control.
void SetSpeedConfig (uint aJoint, float aSpeed)
 Speed control.
void MoveTo (uint aJoint, float aPos)
 Send an actuator to a position.
void MoveAtSpeed (uint aJoint, float aSpeed)
 Move an actuator at a speed.
void MoveHome (int aJoint)
 Send an actuator, or all actuators, home.
uint GetCount (void) const
 Gets the number of actuators in the array.
player_actarray_actuator_t GetActuatorData (uint aJoint) const
 Accessor method for getting an actuator's data.
player_actarray_actuatorgeom_t GetActuatorGeom (uint aJoint) const
 Same again for getting actuator geometry.
player_actarray_actuator_t operator[] (uint aJoint)
 Actuator data access operator.

Member Function Documentation

player_actarray_actuator_t PlayerCc::ActArrayProxy::operator[] uint  aJoint  )  [inline]
 

Actuator data access operator.

This operator provides an alternate way of access the actuator data. For example, given a ActArrayProxy named ap, the following expressions are equivalent: ap.GetActuatorData[0] and ap[0].


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

Last updated 12 September 2005 21:38:45