Sensor Class Reference
[Sensors]
#include <Sensor.hh>
Inheritance diagram for Sensor:

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 ¶ms) |
| 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] |
The documentation for this class was generated from the following file: