SimulationInterface Class Reference
[Simulation Interface]
#include <SimulationInterface.hh>
Inheritance diagram for SimulationInterface:
Detailed Description
The Simulation interfacePublic Member Functions | |
SimulationInterface (player_devaddr_t addr, GazeboDriver *driver, ConfigFile *cf, int section) | |
virtual | ~SimulationInterface () |
virtual int | ProcessMessage (QueuePointer &respQueue, player_msghdr_t *hdr, void *data) |
virtual void | Update () |
virtual void | Subscribe () |
virtual void | Unsubscribe () |
Public Attributes | |
SimulationIface * | iface |
Constructor & Destructor Documentation
SimulationInterface | ( | player_devaddr_t | addr, | |
GazeboDriver * | driver, | |||
ConfigFile * | cf, | |||
int | section | |||
) |
Constructor
virtual ~SimulationInterface | ( | ) | [virtual] |
Destructor
Member Function Documentation
virtual int ProcessMessage | ( | QueuePointer & | respQueue, | |
player_msghdr_t * | hdr, | |||
void * | data | |||
) | [virtual] |
Handle all messages. This is called from GazeboDriver
Implements GazeboInterface.
virtual void Update | ( | ) | [virtual] |
Update this interface, publish new info.
Implements GazeboInterface.
virtual void Subscribe | ( | ) | [virtual] |
Open a SHM interface when a subscription is received. This is called fromGazeboDriver::Subscribe
Implements GazeboInterface.
virtual void Unsubscribe | ( | ) | [virtual] |
Close a SHM interface. This is called from GazeboDriver::Unsubscribe
Implements GazeboInterface.
Member Data Documentation
Pointer to the Simulation Interface
The documentation for this class was generated from the following file: