1 #ifndef GAUDIKERNEL_DATAOBJECTFACTORY_H 2 #define GAUDIKERNEL_DATAOBJECTFACTORY_H 10 using ObjFactory = Gaudi::PluginService::Factory<IInterface*( IInterface* )>;
15 #define DECLARE_OBJECT_FACTORY( x ) DECLARE_FACTORY( x, ObjFactory ) 16 #define DECLARE_NAMESPACE_OBJECT_FACTORY( n, x ) \ 18 DECLARE_FACTORY( x, ObjFactory ) 20 #define DECLARE_CONTAINEDOBJECT_FACTORY( x ) DECLARE_FACTORY_WITH_ID( x, x::classID(), ContainedObjFactory ) 21 #define DECLARE_DATAOBJECT_FACTORY( x ) DECLARE_FACTORY_WITH_ID( x, x::classID(), DataObjFactory ) 23 #endif // GAUDIKERNEL_OBJECTFactory_H Gaudi::PluginService::Factory< ContainedObject *()> ContainedObjFactory
Definition of the basic interface.
All classes that their objects may be contained in an LHCb ObjectContainer (e.g.
Gaudi::PluginService::Factory< IInterface *(IInterface *)> ObjFactory
A DataObject is the base class of any identifiable object on any data store.
Gaudi::PluginService::Factory< DataObject *()> DataObjFactory