SensorFactory Class Reference
[Sensors]
#include <SensorFactory.hh>
Detailed Description
The sensor factory; the class is just for namespacing purposes.
Static Public Member Functions | |
static void | RegisterSensor (std::string type, std::string classname, SensorFactoryFn factoryfn) |
Register a sensor class (called by sensor registration function). | |
static Sensor * | NewSensor (const std::string &classname, Body *body) |
Create a new instance of a sensor. |
Member Function Documentation
Create a new instance of a sensor.
Used by the world when reading the world file.
The documentation for this class was generated from the following file: