| 
 
 
 
 | GripperProxy Class Reference[Proxies]
#include <playerclient.h>
Inherits ClientProxy.
 
List of all members. 
 Detailed DescriptionTheGripperProxyclass is used to control a gripper device. The latest gripper data held in a handful of class attributes. A single method provides user control.
 
 Constructor & Destructor Documentation
 
  
    | 
        
          | GripperProxy::GripperProxy | ( | PlayerClient * | pc, |  
          |  |  | unsigned short | index, |  
          |  |  | unsigned char | access = 'c' |  
          |  | ) |  [inline] |  |  
  
    |  | 
The client calls this method to make a new proxy. Leave access empty to start unconnected.      |  
 Member Function Documentation
 
  
    | 
        
          | int GripperProxy::SetGrip | ( | unsigned char | cmd, |  
          |  |  | unsigned char | arg = 0 |  
          |  | ) |  |  |  
  
    |  | 
Send a gripper command. Look in the Player user manual for details on the command and argument. Returns 0 if everything's ok, and -1 otherwise (that's bad).      |  
 
  
    | 
        
          | void GripperProxy::FillData | ( | player_msghdr_t | hdr, |  
          |  |  | const char * | buffer |  
          |  | ) |  [virtual] |  |  
  
    |  | 
All proxies must provide this method. It is used internally to parse new data when it is received. 
 
Reimplemented from ClientProxy.     |  
 
  
    | 
        
          | void GripperProxy::Print | ( |  | ) |  [virtual] |  |  
  
    |  | 
Print out current gripper state. 
 
 
Reimplemented from ClientProxy.     |  
 Member Data Documentation
 
  
    |  | 
The latest raw gripper data. 
 
     |  
 
  
    |  | 
The latest raw gripper data. 
 
     |  
 
  
    |  | 
These boolean variables indicate the state of the gripper      |  
 
  
    |  | 
These boolean variables indicate the state of the gripper      |  
 
  
    |  | 
These boolean variables indicate the state of the gripper      |  
 
  
    |  | 
These boolean variables indicate the state of the gripper      |  
 
  
    |  | 
These boolean variables indicate the state of the gripper      |  
 
  
    |  | 
These boolean variables indicate the state of the gripper      |  
 
  
    |  | 
These boolean variables indicate the state of the gripper      |  
 
  
    |  | 
These boolean variables indicate the state of the gripper      |  
 
  
    |  | 
These boolean variables indicate the state of the gripper      |  
 
  
    |  | 
These boolean variables indicate the state of the gripper      |  The documentation for this class was generated from the following file:
 Generated on Tue May 3 14:15:50 2005 for Player by
  1.3.6 |