Simox
2.3.74.0
|
Public Member Functions | |
SensorFactory () | |
virtual | ~SensorFactory () |
virtual SensorPtr | createSensor (GraspableSensorizedObjectPtr, const std::string &, VisualizationNodePtr=VisualizationNodePtr(), const Eigen::Matrix4f &=Eigen::Matrix4f::Identity()) const |
Standard init method. More... | |
virtual SensorPtr | createSensor (GraspableSensorizedObjectPtr, rapidxml::xml_node< char > *, BaseIO::RobotDescription=RobotIO::eFull, const std::string=std::string()) const |
Public Member Functions inherited from AbstractFactoryMethod< SensorFactory, void *> | |
void | setDescription (const std::string &newDescription) |
std::string | getDescription () const |
Additional Inherited Members | |
Public Types inherited from AbstractFactoryMethod< SensorFactory, void *> | |
typedef std::shared_ptr< SensorFactory >(* | initialisationFunction) (void *) |
Static Public Member Functions inherited from AbstractFactoryMethod< SensorFactory, void *> | |
static std::shared_ptr< SensorFactory > | fromName (const std::string &name, void * params) |
static std::shared_ptr< SensorFactory > | first (void * params) |
static std::string | getName () |
static std::shared_ptr< SensorFactory > | createInstance (void *) |
static void | registerClass (const std::string &name, initialisationFunction init) |
static std::vector< std::string > | getSubclassList () |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Standard init method.
Reimplemented in VirtualRobot::CameraSensorFactory, VirtualRobot::PositionSensorFactory, VirtualRobot::ContactSensorFactory, and VirtualRobot::ForceTorqueSensorFactory.
|
inlinevirtual |
Create sensor from XML tag. Factories of custom sensors can initialize with this method.
Reimplemented in VirtualRobot::CameraSensorFactory, VirtualRobot::PositionSensorFactory, VirtualRobot::ContactSensorFactory, and VirtualRobot::ForceTorqueSensorFactory.