#include <SensorFactory.hh>
|
static void | GetSensorTypes (std::vector< std::string > &_types) |
| Get all the sensor types.
|
|
static SensorPtr | NewSensor (const std::string &_className) |
| Create a new instance of a sensor.
|
|
static void | RegisterAll () |
| Register all known sensors.
|
|
static void | RegisterSensor (const std::string &_className, SensorFactoryFn _factoryfn) |
| Register a sensor class (called by sensor registration function).
|
|
◆ GetSensorTypes()
static void GetSensorTypes |
( |
std::vector< std::string > & | _types | ) |
|
|
static |
Get all the sensor types.
- Parameters
-
_types | Vector of strings of the sensor types, populated by function |
◆ NewSensor()
static SensorPtr NewSensor |
( |
const std::string & | _className | ) |
|
|
static |
Create a new instance of a sensor.
Used by the world when reading the world file.
- Parameters
-
[in] | _className | Name of sensor class |
- Returns
- Pointer to Sensor
◆ RegisterAll()
static void RegisterAll |
( |
| ) |
|
|
static |
Register all known sensors.
◆ RegisterSensor()
static void RegisterSensor |
( |
const std::string & | _className, |
|
|
SensorFactoryFn | _factoryfn ) |
|
static |
Register a sensor class (called by sensor registration function).
- Parameters
-
[in] | _className | Name of class of sensor to register. |
[in] | _factoryfn | Function handle for registration. |
The documentation for this class was generated from the following file: