LaserInterface Class Reference
[Laser Interface]
#include <LaserInterface.hh>
Inheritance diagram for LaserInterface:

Detailed Description
Plugin Player interface for a Gazebo laserPublic Member Functions | |
| LaserInterface (player_devaddr_t addr, GazeboDriver *driver, ConfigFile *cf, int section) | |
| virtual | ~LaserInterface () |
| virtual int | ProcessMessage (QueuePointer &respQueue, player_msghdr_t *hdr, void *data) |
| virtual void | Update () |
| virtual void | Subscribe () |
| virtual void | Unsubscribe () |
Constructor & Destructor Documentation
| LaserInterface | ( | player_devaddr_t | addr, | |
| GazeboDriver * | driver, | |||
| ConfigFile * | cf, | |||
| int | section | |||
| ) |
Constructor
- Parameters:
-
addr Plaer device address driver The Gazebo driver cf Player config file section Section of the config
| virtual ~LaserInterface | ( | ) | [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
- Parameters:
-
respQueue Response queue hdr Message header data Pointer to the message data
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.
The documentation for this class was generated from the following file: