BeoSubDepthSensor Class Reference

Class for interfacing with a depth sensor. More...

#include <BeoSub/BeoSubDepthSensor.H>

Inheritance diagram for BeoSubDepthSensor:
Inheritance graph
[legend]
Collaboration diagram for BeoSubDepthSensor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 BeoSubDepthSensor (OptionManager &mgr, const std::string &descrName="Depth Sensor", const std::string &tagName="DepthSensor", const char *dev="/dev/ttyS0")
 Initialize.
 ~BeoSubDepthSensor ()
 Destructor.
float get ()
 read the depth
void run ()
 The user need not concern himself with this method.

Protected Member Functions

void start2 ()
 get started
void stop1 ()
 get stopped

Detailed Description

Class for interfacing with a depth sensor.

Definition at line 48 of file BeoSubDepthSensor.H.


Constructor & Destructor Documentation

BeoSubDepthSensor::BeoSubDepthSensor ( OptionManager mgr,
const std::string descrName = "Depth Sensor",
const std::string tagName = "DepthSensor",
const char *  dev = "/dev/ttyS0" 
)

Initialize.

Definition at line 54 of file BeoSubDepthSensor.C.

References ModelComponent::addSubComponent().

BeoSubDepthSensor::~BeoSubDepthSensor (  ) 

Destructor.

Definition at line 79 of file BeoSubDepthSensor.C.


Member Function Documentation

float BeoSubDepthSensor::get (  ) 

read the depth

Definition at line 111 of file BeoSubDepthSensor.C.

void BeoSubDepthSensor::run (  ) 

The user need not concern himself with this method.

Should have been protected, but is not because of the pthread hack.

Definition at line 83 of file BeoSubDepthSensor.C.

void BeoSubDepthSensor::start2 (  )  [protected, virtual]

get started

Reimplemented from ModelComponent.

Definition at line 68 of file BeoSubDepthSensor.C.

void BeoSubDepthSensor::stop1 (  )  [protected, virtual]

get stopped

Reimplemented from ModelComponent.

Definition at line 72 of file BeoSubDepthSensor.C.


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:20:28 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3