Karlsruhe Institute of Technology (KIT) Logo

Master Motor Map

Whole-body human reference model and tools for unifying representations of whole-body human motion

Public Member Functions | Static Public Member Functions
MMM::EnvironmentalContactSensorFactory Class Reference
Inheritance diagram for MMM::EnvironmentalContactSensorFactory:
[legend]

Public Member Functions

SensorPtr createSensor (simox::xml::RapidXMLWrapperNodePtr sensorNode, const std::filesystem::path &filePath)
 
std::string getName ()
 
- Public Member Functions inherited from MMM::SensorFactory
virtual std::vector< SensorPtr > createSensors (LegacyMotionPtr)
 
- Public Member Functions inherited from MMM::AbstractFactoryMethod< SensorFactory, void * >
bool checkBase ()
 Checks if the Plugin is valid base class.
 
std::string getDescription () const
 Return the description of the current instance.
 
std::string getPath () const
 Return the path of the current instance.
 
void setDescription (const std::string &newDescription)
 Set a description on the instance it is called on.
 
void setPath (const std::string &path)
 Set a path on the instance it is called on.
 

Static Public Member Functions

static SensorFactoryPtr createInstance (void *)
 
- Static Public Member Functions inherited from MMM::SensorFactory
static std::filesystem::path getStandardLibPath ()
 
- Static Public Member Functions inherited from MMM::AbstractFactoryMethod< SensorFactory, void * >
static std::shared_ptr< SensorFactorycreateInstance (void *)
 Initialisation function which needs to be provided by every subclass. More...
 
static std::shared_ptr< SensorFactoryfirst (void * params)
 Function which can be used to retrieve the first registered object.
 
static std::shared_ptr< SensorFactoryfromName (const std::string &name, void * params)
 Function which can be used to retrieve an object specified by string name.
 
static std::string getName ()
 Returns the class's name. More...
 
static std::vector< std::string > getSubclassList ()
 Return a list of all registered subclasses.
 
static void registerClass (const std::string &name, initialisationFunction init)
 Statically called by subclasses to register their name and initialisation function so they can be found by fromName.
 

Additional Inherited Members

- Public Types inherited from MMM::AbstractFactoryMethod< SensorFactory, void * >
typedef std::shared_ptr< SensorFactory >(* initialisationFunction) (void *)
 The function pointer type of subclass initialisation functions. More...
 
- Static Public Attributes inherited from MMM::SensorFactory
static constexpr const char * VERSION = "1.0"
 

Member Function Documentation

◆ createSensor()

SensorPtr MMM::EnvironmentalContactSensorFactory::createSensor ( simox::xml::RapidXMLWrapperNodePtr  sensorNode,
const std::filesystem::path &  filePath 
)
virtual

Creates a sensor from an xml representation.

Parameters
sensorNodeThe sensor xml node.

Implements MMM::SensorFactory.

◆ getName()

std::string MMM::EnvironmentalContactSensorFactory::getName ( )
virtual

Returns the sensor type as name of the factory.

Implements MMM::SensorFactory.


The documentation for this class was generated from the following files:
KoroiBot Logo WALK-MAN Logo Xperience Logo SecondHands Logo TimeStorm Logo I-SUPPORT Logo
PACO-PLUS Logo SFB-588 Logo SPP1527 Logo