GazeboInterface Class Reference
#include <GazeboInterface.hh>
Inheritance diagram for GazeboInterface:

Public Member Functions | |
| GazeboInterface (player_devaddr_t addr, GazeboDriver *driver, ConfigFile *cf, int section) | |
| Constructor. | |
| virtual | ~GazeboInterface () |
| Destructor. | |
| virtual int | ProcessMessage (MessageQueue *respQueue, player_msghdr_t *hdr, void *data)=0 |
| Handle all messages. This is called from GazeboDriver. | |
| virtual void | Update ()=0 |
| Update this interface, publish new info. | |
| virtual void | Subscribe ()=0 |
| Open a SHM interface when a subscription is received. \ This is called fromGazeboDriver::Subscribe. | |
| virtual void | Unsubscribe ()=0 |
| Close a SHM interface. This is called from \ GazeboDriver::Unsubscribe. | |
Public Attributes | |
| player_devaddr_t | device_addr |
| Address of the Player Device. | |
| GazeboDriver * | driver |
| Driver instance that created this device. | |
Constructor & Destructor Documentation
|
||||||||||||||||||||
|
Constructor.
|
|
|
Destructor.
|
Member Function Documentation
|
||||||||||||||||
|
Handle all messages. This is called from GazeboDriver.
Implemented in CameraInterface, FiducialInterface, GripperInterface, LaserInterface, Position2dInterface, Position3dInterface, PowerInterface, PtzInterface, SimulationInterface, SonarInterface, and TruthInterface. |
|
|
Update this interface, publish new info.
Implemented in CameraInterface, FiducialInterface, GripperInterface, LaserInterface, Position2dInterface, Position3dInterface, PowerInterface, PtzInterface, SimulationInterface, SonarInterface, and TruthInterface. |
|
|
Open a SHM interface when a subscription is received. \ This is called fromGazeboDriver::Subscribe.
Implemented in CameraInterface, FiducialInterface, GripperInterface, LaserInterface, Position2dInterface, Position3dInterface, PowerInterface, PtzInterface, SimulationInterface, SonarInterface, and TruthInterface. |
|
|
Close a SHM interface. This is called from \ GazeboDriver::Unsubscribe.
Implemented in CameraInterface, FiducialInterface, GripperInterface, LaserInterface, Position2dInterface, Position3dInterface, PowerInterface, PtzInterface, SimulationInterface, SonarInterface, and TruthInterface. |
Member Data Documentation
|
|
Address of the Player Device.
|
|
|
Driver instance that created this device.
|
The documentation for this class was generated from the following files:
