#include "Parametrizable.h"
#include "PointMatcher.h"
#include <boost/format.hpp>
#include <boost/typeof/typeof.hpp>
Go to the source code of this file.
Classes | |
struct | PointMatcherSupport::Registrar< Interface >::ClassDescriptor |
The interface for class descriptors. More... | |
struct | PointMatcherSupport::Registrar< Interface >::GenericClassDescriptor< C > |
A descriptor for a class C that provides parameters. More... | |
struct | PointMatcherSupport::Registrar< Interface >::GenericClassDescriptorNoParam< C > |
A descriptor for a class C that does not provide any parameter. More... | |
struct | PointMatcherSupport::InvalidElement |
An exception thrown when one tries to instanciate an element that does not exist in the registrar. More... | |
struct | PointMatcherSupport::Registrar< Interface > |
A factor for subclasses of Interface. More... | |
Namespaces | |
namespace | PointMatcherSupport |
Functions and classes that are not dependant on scalar type are defined in this namespace. | |
namespace | YAML_PM |
Defines | |
#define | ADD_TO_REGISTRAR(name, elementName, element) |
#define | ADD_TO_REGISTRAR_NO_PARAM(name, elementName, element) |
#define | DEF_REGISTRAR(name) PointMatcherSupport::Registrar< name > name##Registrar; |
#define | DEF_REGISTRAR_IFACE(name, ifaceName) PointMatcherSupport::Registrar< ifaceName > name##Registrar; |
#define | REG(name) name##Registrar |
Functions | |
void | PointMatcherSupport::getNameParamsFromYAML (const YAML::Node &module, std::string &name, Parametrizable::Parameters ¶ms) |
Retrieve name and parameters from a yaml node. |
#define ADD_TO_REGISTRAR | ( | name, | |
elementName, | |||
element | |||
) |
{ \ typedef typename PointMatcherSupport::Registrar< name >::template GenericClassDescriptor< element > Desc; \ name##Registrar.reg(# elementName, new Desc() ); \ }
Definition at line 222 of file Registrar.h.
#define ADD_TO_REGISTRAR_NO_PARAM | ( | name, | |
elementName, | |||
element | |||
) |
{ \ typedef typename PointMatcherSupport::Registrar< name >::template GenericClassDescriptorNoParam< element > Desc; \ name##Registrar.reg(# elementName, new Desc() ); \ }
Definition at line 226 of file Registrar.h.
#define DEF_REGISTRAR | ( | name | ) | PointMatcherSupport::Registrar< name > name##Registrar; |
Definition at line 220 of file Registrar.h.
#define DEF_REGISTRAR_IFACE | ( | name, | |
ifaceName | |||
) | PointMatcherSupport::Registrar< ifaceName > name##Registrar; |
Definition at line 221 of file Registrar.h.
#define REG | ( | name | ) | name##Registrar |
Definition at line 219 of file Registrar.h.