Home
FAQ
Player
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

CRWILaserDevice Class Reference

#include <rwi_laserdevice.h>

Inherits CRWIDevice.

List of all members.

Public Member Functions

 CRWILaserDevice (char *interface, 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

CRWILaserDevice::CRWILaserDevice char *  interface,
ConfigFile cf,
int  section
[inline]
 


Member Function Documentation

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