Gazebo logo

SonarInterface Class Reference

#include <SonarInterface.hh>

Inheritance diagram for SonarInterface:

GazeboInterface List of all members.

Public Member Functions

 SonarInterface (player_devaddr_t addr, GazeboDriver *driver, ConfigFile *cf, int section)
 Constructor.
virtual ~SonarInterface ()
 Destructor.
virtual int ProcessMessage (MessageQueue *respQueue, player_msghdr_t *hdr, void *data)
 Handle all messages. This is called from GazeboDriver.
virtual void Update ()
 Update this interface, publish new info.
virtual void Subscribe ()
 Open a SHM interface when a subscription is received. \ This is called fromGazeboDriver::Subscribe.
virtual void Unsubscribe ()
 Close a SHM interface. This is called from \ GazeboDriver::Unsubscribe.

Constructor & Destructor Documentation

SonarInterface::SonarInterface player_devaddr_t  addr,
GazeboDriver driver,
ConfigFile *  cf,
int  section
 

Constructor.

SonarInterface::~SonarInterface  )  [virtual]
 

Destructor.


Member Function Documentation

int SonarInterface::ProcessMessage MessageQueue *  respQueue,
player_msghdr_t *  hdr,
void *  data
[virtual]
 

Handle all messages. This is called from GazeboDriver.

Implements GazeboInterface.

void SonarInterface::Update  )  [virtual]
 

Update this interface, publish new info.

Implements GazeboInterface.

void SonarInterface::Subscribe  )  [virtual]
 

Open a SHM interface when a subscription is received. \ This is called fromGazeboDriver::Subscribe.

Implements GazeboInterface.

void SonarInterface::Unsubscribe  )  [virtual]
 

Close a SHM interface. This is called from \ GazeboDriver::Unsubscribe.

Implements GazeboInterface.


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

Last updated 12 September 2005 21:38:45