|
SimulationProxy Class Reference
[Proxies]
#include <playerclient.h>
Inherits ClientProxy.
List of all members.
Detailed Description
The SimulationProxy proxy provides access to a simulation device.
Constructor & Destructor Documentation
SimulationProxy::SimulationProxy |
( |
PlayerClient * |
pc, |
|
|
unsigned short |
index, |
|
|
unsigned char |
access = 'c' |
|
) |
[inline] |
|
Member Function Documentation
int SimulationProxy::SetPose2D |
( |
char * |
identifier, |
|
|
double |
x, |
|
|
double |
y, |
|
|
double |
a |
|
) |
|
|
|
set the 2D pose of an object in the simulator, identified by the string. Returns 0 on success, else a non-zero error code. |
int SimulationProxy::GetPose2D |
( |
char * |
identifier, |
|
|
double & |
x, |
|
|
double & |
y, |
|
|
double & |
a |
|
) |
|
|
|
get the pose of an object in the simulator, identified by the string Returns 0 on success, else a non-zero error code. |
virtual void SimulationProxy::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. |
virtual void SimulationProxy::Print |
( |
|
) |
[virtual] |
|
|
All proxies SHOULD provide this method, which should print out, in a human-readable form, the device's current state.
Reimplemented from ClientProxy. |
The documentation for this class was generated from the following file:
Generated on Tue May 3 14:16:06 2005 for Player by 1.3.6
|