All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | List of all members
gazebo::sensors::SensorFactory Class Reference

#include <SensorFactory.hh>

Static Public Member Functions

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).
 

Member Function Documentation

static void gazebo::sensors::SensorFactory::GetSensorTypes ( std::vector< std::string > &  _types)
static

Get all the sensor types.

Parameters
_typesVector of strings of the sensor types, populated by function
static SensorPtr gazebo::sensors::SensorFactory::NewSensor ( const std::string &  _classname)
static

Create a new instance of a sensor.

Used by the world when reading the world file.

Parameters
[in]Nameof sensor class
Returns
Pointer to Sensor
static void gazebo::sensors::SensorFactory::RegisterAll ( )
static
static void gazebo::sensors::SensorFactory::RegisterSensor ( const std::string &  _classname,
SensorFactoryFn  _factoryfn 
)
static

Register a sensor class (called by sensor registration function).

Parameters
[in]_classnameName of class of sensor to register
_factoryfnFunction handle for registration Nate check

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