Home
FAQ
Player
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

CRWISonarDevice Class Reference

#include <rwi_sonardevice.h>

Inherits CRWIDevice.

List of all members.

Public Member Functions

 CRWISonarDevice (ConfigFile *cf, int section)
virtual int Setup ()
 Initialize the driver.

virtual int Shutdown ()
 Finalize the driver.

virtual void Main ()
 Main method for driver thread.


Constructor & Destructor Documentation

CRWISonarDevice::CRWISonarDevice ConfigFile cf,
int  section
 


Member Function Documentation

int CRWISonarDevice::Setup  )  [virtual]
 

Initialize the driver.

This function is called with the first client subscribes; it MUST be implemented by the driver.

Returns:
Returns 0 on success.

Implements Driver.

int CRWISonarDevice::Shutdown  )  [virtual]
 

Finalize the driver.

This function is called with the last client unsubscribes; it MUST be implemented by the driver.

Returns:
Returns 0 on success.

Implements Driver.

void CRWISonarDevice::Main  )  [virtual]
 

Main method for driver thread.

Most drivers have their own thread of execution, created using StartThread(); this is the entry point for the driver thread, and must be overloaded by all threaded drivers.

Reimplemented from Driver.


The documentation for this class was generated from the following files:
Generated on Tue May 3 14:15:49 2005 for Player by doxygen 1.3.6