Classes | Namespaces | Defines
Registrar.h File Reference
#include "Parametrizable.h"
#include "PointMatcher.h"
#include <boost/format.hpp>
Include dependency graph for Registrar.h:
This graph shows which files directly or indirectly include this file:

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.


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

Define Documentation

#define ADD_TO_REGISTRAR (   name,
  elementName,
  element 
)
Value:
{ \
        typedef typename PointMatcherSupport::Registrar< name >::template GenericClassDescriptor< element > Desc; \
        name##Registrar.reg(# elementName, new Desc() ); \
    }

Definition at line 224 of file Registrar.h.

#define ADD_TO_REGISTRAR_NO_PARAM (   name,
  elementName,
  element 
)
Value:
{ \
        typedef typename PointMatcherSupport::Registrar< name >::template GenericClassDescriptorNoParam< element > Desc; \
        name##Registrar.reg(# elementName, new Desc() ); \
    }

Definition at line 228 of file Registrar.h.

#define DEF_REGISTRAR (   name)    PointMatcherSupport::Registrar< name > name##Registrar;

Definition at line 222 of file Registrar.h.

#define DEF_REGISTRAR_IFACE (   name,
  ifaceName 
)    PointMatcherSupport::Registrar< ifaceName > name##Registrar;

Definition at line 223 of file Registrar.h.

#define REG (   name)    name##Registrar

Definition at line 221 of file Registrar.h.



libpointmatcher
Author(s): Stéphane Magnenat, François Pomerleau
autogenerated on Thu Jan 2 2014 11:16:06