Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes
mvsim::SensorBase Class Reference

#include <SensorBase.h>

Inheritance diagram for mvsim::SensorBase:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void loadConfigFrom (const rapidxml::xml_node< char > *root)=0
 SensorBase (VehicleBase &vehicle)
virtual ~SensorBase ()
 which the sensor is attached.

Static Public Member Functions

static SensorBasefactory (VehicleBase &parent, const rapidxml::xml_node< char > *xml_node)

Public Attributes

double m_sensor_period

Protected Attributes

double m_sensor_last_timestamp
VehicleBasem_vehicle
 (in seconds) (Default = 0.1)

Detailed Description

Definition at line 20 of file SensorBase.h.


Constructor & Destructor Documentation

Ctor takes a ref to the vehicle to

Definition at line 43 of file SensorBase.cpp.

SensorBase::~SensorBase ( ) [virtual]

which the sensor is attached.

Definition at line 51 of file SensorBase.cpp.


Member Function Documentation

SensorBase * SensorBase::factory ( VehicleBase parent,
const rapidxml::xml_node< char > *  xml_node 
) [static]

Class factory: Creates a sensor from XML description of type "<sensor class='CLASS_NAME'>...</sensor>".

Definition at line 52 of file SensorBase.cpp.

virtual void mvsim::SensorBase::loadConfigFrom ( const rapidxml::xml_node< char > *  root) [pure virtual]

Implemented in mvsim::LaserScanner.


Member Data Documentation

The last sensor reading timestamp. See

Definition at line 42 of file SensorBase.h.

Generate one sensor reading every this period

Definition at line 36 of file SensorBase.h.

(in seconds) (Default = 0.1)

The vehicle this sensor is attached to

Definition at line 40 of file SensorBase.h.


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


mvsim
Author(s):
autogenerated on Thu Jun 6 2019 22:08:35