Home
FAQ
Player
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

PowerProxy Class Reference
[Proxies]

#include <playerclient.h>

Inherits ClientProxy.

List of all members.


Detailed Description

The PowerProxy class controls a power device.


Public Member Functions

 PowerProxy (PlayerClient *pc, unsigned short index, unsigned char access='c')
double Charge () const
 Returns the current charge.

void FillData (player_msghdr_t hdr, const char *buffer)
void Print ()
 Print the current data.


Constructor & Destructor Documentation

PowerProxy::PowerProxy PlayerClient pc,
unsigned short  index,
unsigned char  access = 'c'
[inline]
 

Constructor. Leave the access field empty to start unconnected.


Member Function Documentation

double PowerProxy::Charge  )  const [inline]
 

Returns the current charge.

void PowerProxy::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 PowerProxy::Print  )  [virtual]
 

Print the current data.

Reimplemented from ClientProxy.


The documentation for this class was generated from the following file:
Generated on Tue May 3 14:16:05 2005 for Player by doxygen 1.3.6