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 | RegisterAll () | 
| static void | RegisterSensor (std::string type, std::string classname, SensorFactoryFn factoryfn) | 
| static Sensor * | NewSensor (const std::string &classname, Body *body) | 
Member Function Documentation
| static void RegisterAll | ( | ) |  [static] | 
        
Register all known sensors.
| static void RegisterSensor | ( | std::string | type, | |
| std::string | classname, | |||
| SensorFactoryFn | factoryfn | |||
| ) |  [static] | 
        
Register a sensor class (called by sensor registration function).
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: