Gazebo

GazeboDriver Class Reference
[Player]

#include <GazeboDriver.hh>

List of all members.


Detailed Description

Gazebo player driver

Public Member Functions

 GazeboDriver (ConfigFile *cf, int section)
virtual ~GazeboDriver ()
virtual int Setup ()
virtual int Shutdown ()
virtual int ProcessMessage (QueuePointer &respQueue, player_msghdr *hdr, void *data)
virtual int Subscribe (player_devaddr_t addr)
virtual int Unsubscribe (player_devaddr_t addr)

Protected Attributes

GazeboInterface ** devices
 Array of interfaces associated with this driver.
int deviceCount
int deviceMaxCount

Constructor & Destructor Documentation

GazeboDriver ( ConfigFile *  cf,
int  section 
)

Constructor

virtual ~GazeboDriver (  )  [virtual]

Destructor


Member Function Documentation

virtual int Setup (  )  [virtual]

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

virtual int Shutdown (  )  [virtual]

Shutdown the device

virtual int ProcessMessage ( QueuePointer &  respQueue,
player_msghdr *  hdr,
void *  data 
) [virtual]

Process all messages for this driver.

virtual int Subscribe ( player_devaddr_t  addr  )  [virtual]

Subscribe an device to this driver

virtual int Unsubscribe ( player_devaddr_t  addr  )  [virtual]

Remove a device from this driver


Member Data Documentation

int deviceCount [protected]

Number of devices

int deviceMaxCount [protected]

Max device count


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

Last updated Aug 04 2007