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 override |
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 | |
Public Types inherited from PhysicsTools::ProcessRegistry< Base_t, CalibBase_t, Parent_t > | |
template<class Instance_t , class Calibration_t > | |
using | Registry = ProcessRegistryImpl< Base_t, CalibBase_t, Parent_t, Instance_t, Calibration_t > |
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 25 of file ProcessRegistry.h.
|
inline |
Definition at line 100 of file ProcessRegistry.h.
|
inlineoverrideprotectedvirtual |
virtual method to implement by respective processor instance classes
Implements PhysicsTools::ProcessRegistry< Base_t, CalibBase_t, Parent_t >.
Definition at line 103 of file ProcessRegistry.h.
References PhysicsTools::ProcessRegistry< Base_t, CalibBase_t, Parent_t >::name, and class-composition::parent.