|
| ~Registrar () |
| Destructor, remove all classes descriptors.
|
|
void | reg (const std::string &name, ClassDescriptor *descriptor) |
| Register a class by storing an instance of a descriptor helper class.
|
|
const ClassDescriptor * | getDescriptor (const std::string &name) const |
| Return a descriptor following a name, throw an exception if name is invalid.
|
|
std::shared_ptr< Interface > | create (const std::string &name, const Parametrizable::Parameters ¶ms=Parametrizable::Parameters()) const |
| Create an instance.
|
|
std::shared_ptr< Interface > | createFromYAML (const YAML::Node &module) const |
| Create an instance from a YAML node.
|
|
const std::string | getDescription (const std::string &name) const |
| Get the description of a class.
|
|
void | dump (std::ostream &stream) const |
| Print the list of registered classes to stream.
|
|
DescriptorMap::const_iterator | begin () const |
| begin for const iterator over classes descriptions
|
|
DescriptorMap::const_iterator | end () const |
| end for const iterator over classes descriptions
|
|
template<typename Interface>
struct PointMatcherSupport::Registrar< Interface >
A factor for subclasses of Interface.