template to generate a registry singleton for a type. More...
#include <ProcessRegistry.h>
Public Member Functions | |
ProcessRegistryImpl (const char *name) | |
Protected Member Functions | |
Base_t * | instance (const char *name, const CalibBase_t *calib, Parent_t *parent) const |
virtual method to implement by respective processor instance classes |
template to generate a registry singleton for a type.
)
Instantiating an instance of this type registers that class with the registry of the base type and provides a factory that calls the constructor of the instance type.
Definition at line 115 of file ProcessRegistry.h.
PhysicsTools::ProcessRegistryImpl< Base_t, CalibBase_t, Parent_t, Instance_t, Calibration_t >::ProcessRegistryImpl | ( | const char * | name | ) | [inline] |
Definition at line 117 of file ProcessRegistry.h.
: ProcessRegistry<Base_t, CalibBase_t, Parent_t>(name){}
Base_t* PhysicsTools::ProcessRegistryImpl< Base_t, CalibBase_t, Parent_t, Instance_t, Calibration_t >::instance | ( | const char * | name, |
const CalibBase_t * | calib, | ||
Parent_t * | parent | ||
) | const [inline, protected, virtual] |
virtual method to implement by respective processor instance classes
Implements PhysicsTools::ProcessRegistry< Base_t, CalibBase_t, Parent_t >.
Definition at line 119 of file ProcessRegistry.h.