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 | Protected Member Functions
MMM::MultipleFactoryPluginLoader< Factory > Class Template Reference

A templated class for easy plugin loading from libraries having same ids but different locations. More...

#include <MultipleFactoryPluginLoader.h>

Inheritance diagram for MMM::MultipleFactoryPluginLoader< Factory >:
[legend]

Public Member Functions

std::map< std::string, std::map< std::string, std::shared_ptr< Factory > > > getAllFactories ()
 
std::map< std::string, std::shared_ptr< Factory > > getAllFactories (const std::string &name)
 
 MultipleFactoryPluginLoader (const std::string &librarySearchPath)
 
 MultipleFactoryPluginLoader (const std::vector< std::string > &libPaths)
 
bool setActivePlugin (const std::string &type, const std::string &path, bool active=true)
 
- Public Member Functions inherited from MMM::FactoryPluginLoader< Factory >
int addPluginLibs (const std::filesystem::path &librarySearchPath)
 
int addPluginLibs (const std::vector< std::filesystem::path > &libPaths)
 
 FactoryPluginLoader (const std::filesystem::path &librarySearchPath)
 
 FactoryPluginLoader (const std::vector< std::filesystem::path > &libPaths)
 
std::map< std::string, std::shared_ptr< Factory > > getFactories ()
 
std::shared_ptr< Factory > loadFactory (const std::string &id, const std::string &version=std::string())
 

Protected Member Functions

int addFactory (std::shared_ptr< Factory > factory)
 

Additional Inherited Members

- Protected Attributes inherited from MMM::FactoryPluginLoader< Factory >
std::map< std::string, std::shared_ptr< Factory > > factories
 

Detailed Description

template<typename Factory>
class MMM::MultipleFactoryPluginLoader< Factory >

A templated class for easy plugin loading from libraries having same ids but different locations.


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