template to generate a registry singleton for a type. More...
#include <ProcessRegistry.h>
Public Member Functions | |
Registry (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 More... | |
Protected Member Functions inherited from PhysicsTools::ProcessRegistry< Base_t, CalibBase_t, Parent_t > | |
ProcessRegistry (const char *name) | |
instantiate registry and registers itself with name More... | |
virtual | ~ProcessRegistry () |
Additional Inherited Members | |
Static Protected Member Functions inherited from PhysicsTools::ProcessRegistry< Base_t, CalibBase_t, Parent_t > | |
static Base_t * | create (const char *name, const CalibBase_t *calib, Parent_t *parent) |
create an instance of name, given a calibration calib and parent parent More... | |
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 44 of file ProcessRegistry.h.
|
inline |
Definition at line 46 of file ProcessRegistry.h.
|
inlineprotectedvirtual |
virtual method to implement by respective processor instance classes
Implements PhysicsTools::ProcessRegistry< Base_t, CalibBase_t, Parent_t >.
Definition at line 50 of file ProcessRegistry.h.