Gazebo

Sensor Class Reference
[Sensors]

#include <Sensor.hh>

Inheritance diagram for Sensor:

Entity CameraSensor RaySensor SensorStub MonoCameraSensor StereoCameraSensor List of all members.

Detailed Description

Base class for sensors.


Public Member Functions

 Sensor (Body *body)
 Constructor.
virtual ~Sensor ()
 Destructor.
virtual void Load (XMLConfigNode *node)
 Load the sensor.
void Init ()
 Initialize the sensor.
void Update (UpdateParams &params)
 Update the sensor.
void Fini ()
 Finalize the sensor.
void SetActive (bool value)
 Set whether the sensor is active or not.

Protected Member Functions

virtual void LoadChild (XMLConfigNode *)
 Load the child sensor.
virtual void InitChild ()
 Initialize the child.
virtual void UpdateChild (UpdateParams &)
 Update the child.
virtual void FiniChild ()
 Finalize the child.

Protected Attributes

Body * body
 The body this sensor is attached to.
Controller * controller
 Pointer to the controller of the sensor.
bool active
 True if active.


Member Function Documentation

virtual void Load ( XMLConfigNode *  node  )  [virtual]

Load the sensor.

Parameters:
node XMLConfigNode pointer


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

Last updated Aug 04 2007