Simox  2.3.49
VirtualRobot::CameraSensorFactory Class Reference
Inheritance diagram for VirtualRobot::CameraSensorFactory:
VirtualRobot::SensorFactory AbstractFactoryMethod< SensorFactory, void * >

Public Member Functions

 CameraSensorFactory ()
 
virtual ~CameraSensorFactory ()
 
virtual SensorPtr createSensor (RobotNodePtr node, const std::string &name, VisualizationNodePtr visualization=VisualizationNodePtr(), const Eigen::Matrix4f &rnTrafo=Eigen::Matrix4f::Identity()) const
 Standard init method. More...
 
virtual SensorPtr createSensor (RobotNodePtr node, rapidxml::xml_node< char > *sensorXMLNode, RobotIO::RobotDescription loadMode=RobotIO::eFull, const std::string basePath=std::string()) const
 
- Public Member Functions inherited from VirtualRobot::SensorFactory
 SensorFactory ()
 
virtual ~SensorFactory ()
 
- Public Member Functions inherited from AbstractFactoryMethod< SensorFactory, void * >
void setDescription (const std::string &newDescription)
 
std::string getDescription () const
 

Static Public Member Functions

static std::string getName ()
 
static boost::shared_ptr< SensorFactorycreateInstance (void *)
 
- Static Public Member Functions inherited from AbstractFactoryMethod< SensorFactory, void * >
static boost::shared_ptr< SensorFactory > fromName (const std::string &name, void *params)
 
static boost::shared_ptr< SensorFactory > first (void *params)
 
static std::string getName ()
 
static boost::shared_ptr< SensorFactory > createInstance (void *)
 
static void registerClass (const std::string &name, initialisationFunction init)
 
static std::vector< std::string > getSubclassList ()
 

Additional Inherited Members

- Public Types inherited from AbstractFactoryMethod< SensorFactory, void * >
typedef boost::shared_ptr< SensorFactory >(* initialisationFunction) (void *)
 

Constructor & Destructor Documentation

VirtualRobot::CameraSensorFactory::CameraSensorFactory ( )
VirtualRobot::CameraSensorFactory::~CameraSensorFactory ( )
virtual

Member Function Documentation

boost::shared_ptr< SensorFactory > VirtualRobot::CameraSensorFactory::createInstance ( void *  )
static
Returns
new instance of CameraSensorFactory.
SensorPtr VirtualRobot::CameraSensorFactory::createSensor ( RobotNodePtr  node,
const std::string &  name,
VisualizationNodePtr  visualization = VisualizationNodePtr(),
const Eigen::Matrix4f &  rnTrafo = Eigen::Matrix4f::Identity() 
) const
virtual

Standard init method.

This method creates a VirtualRobot::CameraSensor.

Returns
instance of VirtualRobot::CameraSensor.

Reimplemented from VirtualRobot::SensorFactory.

SensorPtr VirtualRobot::CameraSensorFactory::createSensor ( RobotNodePtr  node,
rapidxml::xml_node< char > *  sensorXMLNode,
RobotIO::RobotDescription  loadMode = RobotIO::eFull,
const std::string  basePath = std::string() 
) const
virtual

Create sensor from XML tag.

Reimplemented from VirtualRobot::SensorFactory.

std::string VirtualRobot::CameraSensorFactory::getName ( )
static
Returns
"camera"