Home
FAQ
Player
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

CRWIBumperDevice Class Reference

#include <rwi_bumperdevice.h>

Inherits CRWIDevice.

List of all members.

Public Member Functions

 CRWIBumperDevice (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

CRWIBumperDevice::CRWIBumperDevice ConfigFile cf,
int  section
 


Member Function Documentation

int CRWIBumperDevice::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 CRWIBumperDevice::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 CRWIBumperDevice::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