The interface for class descriptors. More...
#include <Registrar.h>
Public Member Functions | |
virtual const Parametrizable::ParametersDoc | availableParameters () const =0 |
Return the available parameters for this class. | |
virtual std::shared_ptr < Interface > | createInstance (const std::string &className, const Parametrizable::Parameters ¶ms) const =0 |
Create an instance of Interface using params. | |
virtual const std::string | description () const =0 |
Return the description of this class. | |
virtual | ~ClassDescriptor () |
Virtual destructor, do nothing. |
The interface for class descriptors.
Definition at line 82 of file Registrar.h.
virtual PointMatcherSupport::Registrar< Interface >::ClassDescriptor::~ClassDescriptor | ( | ) | [inline, virtual] |
Virtual destructor, do nothing.
Definition at line 85 of file Registrar.h.
virtual const Parametrizable::ParametersDoc PointMatcherSupport::Registrar< Interface >::ClassDescriptor::availableParameters | ( | ) | const [pure virtual] |
Return the available parameters for this class.
Implemented in PointMatcherSupport::Registrar< Interface >::GenericClassDescriptorNoParam< C >, and PointMatcherSupport::Registrar< Interface >::GenericClassDescriptor< C >.
virtual std::shared_ptr<Interface> PointMatcherSupport::Registrar< Interface >::ClassDescriptor::createInstance | ( | const std::string & | className, |
const Parametrizable::Parameters & | params | ||
) | const [pure virtual] |
Create an instance of Interface using params.
Implemented in PointMatcherSupport::Registrar< Interface >::GenericClassDescriptorNoParam< C >, and PointMatcherSupport::Registrar< Interface >::GenericClassDescriptor< C >.
virtual const std::string PointMatcherSupport::Registrar< Interface >::ClassDescriptor::description | ( | ) | const [pure virtual] |
Return the description of this class.
Implemented in PointMatcherSupport::Registrar< Interface >::GenericClassDescriptorNoParam< C >, and PointMatcherSupport::Registrar< Interface >::GenericClassDescriptor< C >.