1 #ifndef SIO_SIOHANDLERMGR_H
2 #define SIO_SIOHANDLERMGR_H 1
6 #include "SIO/SIOObjectHandler.h"
11 typedef std::map< std::string, SIOObjectHandler* > SIOHandlerMap ;
bool registerHandler(const std::string &type, SIOObjectHandler *handler)
Registers an instance of a handler for the given type.
Definition: SIOHandlerMgr.cc:90
static SIOHandlerMgr * instance()
Returns the instance of this class.
Definition: SIOHandlerMgr.cc:73
Interface for all lcio object SIO-handlers, has to be implemented for all event entities (hits...
Definition: SIOObjectHandler.h:21
Singleton that holds instances of all types of SIOObjectHandlers.
Definition: SIOHandlerMgr.h:19
SIOObjectHandler * getHandler(const std::string &type)
Returns the instance of the handler for the given type - null if it doesn't exist.
Definition: SIOHandlerMgr.cc:81