Gazebo logo

GazeboDriver Class Reference

#include <GazeboDriver.hh>

List of all members.

Public Member Functions

 GazeboDriver (ConfigFile *cf, int section)
 Constructor.
virtual ~GazeboDriver ()
 Destructor.
virtual int Setup ()
 Set up the device. Return 0 if things go well, and -1 otherwise.
virtual int Shutdown ()
 Shutdown the device.
virtual int ProcessMessage (MessageQueue *respQueue, player_msghdr *hdr, void *data)
 Process all messages for this driver.
virtual int Subscribe (player_devaddr_t addr)
 Subscribe an device to this driver.
virtual int Unsubscribe (player_devaddr_t addr)
 Remove a device from this driver.

Protected Attributes

GazeboInterface ** devices
int deviceCount
int deviceMaxCount


Constructor & Destructor Documentation

GazeboDriver::GazeboDriver ConfigFile *  cf,
int  section
 

Constructor.

GazeboDriver::~GazeboDriver  )  [virtual]
 

Destructor.


Member Function Documentation

int GazeboDriver::Setup  )  [virtual]
 

Set up the device. Return 0 if things go well, and -1 otherwise.

int GazeboDriver::Shutdown  )  [virtual]
 

Shutdown the device.

int GazeboDriver::ProcessMessage MessageQueue *  respQueue,
player_msghdr *  hdr,
void *  data
[virtual]
 

Process all messages for this driver.

int GazeboDriver::Subscribe player_devaddr_t  addr  )  [virtual]
 

Subscribe an device to this driver.

int GazeboDriver::Unsubscribe player_devaddr_t  addr  )  [virtual]
 

Remove a device from this driver.


Member Data Documentation

GazeboInterface** GazeboDriver::devices [protected]
 

int GazeboDriver::deviceCount [protected]
 

int GazeboDriver::deviceMaxCount [protected]
 


The documentation for this class was generated from the following files:

Last updated 12 September 2005 21:38:45