3 #ifndef GAUDISVC_FASTHISTORYSVC_H
4 #define GAUDISVC_FASTHISTORYSVC_H
8 #ifndef GAUDIKERNEL_SERVICE_H
11 #ifndef KERNEL_STATUSCODES_H
65 virtual void getAlgHistory(std::set<AlgorithmHistory*>&)
const;
73 const std::string& key,
74 const std::string& store);
76 const std::string& key,
77 const std::string& store);
79 const std::string& store)
const;
81 const std::string& storeName,
82 std::list<DataHistory*>& dhlist)
const;
99 typedef DataHistMap::iterator
DHMitr;
111 std::map<const Algorithm*, AlgorithmHistory*>
m_algmap;
118 std::map<const IService*, ServiceHistory*>
m_svcmap;
virtual StatusCode stop()
Stop (from RUNNING to INITIALIZED).
Definition of the MsgStream class used to transmit messages.
virtual ServiceHistory * getServiceHistory(const IService &) const
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
SmartIF< IToolSvc > m_toolSvc
AlgorithmHistory class definition.
virtual StatusCode registerDataHistory(const CLID &id, const std::string &key, const std::string &store)
virtual StatusCode listProperties() const
virtual StatusCode registerJob()
std::vector< Property * > PropertyList
HistorySvc class definition.
Base class for History Objects.
std::multimap< DHH, DataHistory * > DataHistMap
Base class used to extend a class implementing other interfaces.
std::multimap< DHH, DataHistory * > m_datMap
std::map< const AlgTool *, AlgToolHistory * > m_algtoolmap
JobHistory class definition.
IAlgorithm * getCurrentIAlg() const
virtual AlgToolHistory * getAlgToolHistory(const IAlgTool &) const
virtual void handle(const Incident &inc)
Inform that a new incident has occurred.
std::set< const Algorithm * > m_algs
General service interface definition.
virtual StatusCode registerSvc(const IService &)
This class is used for returning status codes from appropriate routines.
HistorySvc(const std::string &name, ISvcLocator *svc)
virtual StatusCode registerAlgTool(const IAlgTool &)
DataHistory class definition.
IAlgContextSvc * p_algCtxSvc
JobHistory * m_jobHistory
virtual StatusCode registerAlg(const Algorithm &)
virtual StatusCode initialize()
Initialization (from CONFIGURED to INITIALIZED).
virtual AlgorithmHistory * getAlgHistory(const Algorithm &) const
virtual StatusCode finalize()
Finalize (from INITIALIZED to CONFIGURED).
unsigned int CLID
Class ID definition.
DataHistMap::const_iterator DHMCitr
The IAlgorithm is the interface implemented by the Algorithm base class.
virtual const std::string & name() const
Retrieve name of the service.
std::string dumpProp(const Property *, const bool isXML=false, int indent=0) const
AlgToolHistory class definition.
void dumpState(std::ofstream &) const
IIncidentSvc * m_incidentSvc
virtual DataHistory * createDataHistoryObj(const CLID &id, const std::string &key, const std::string &store)
Base class from which all concrete algorithm classes should be derived.
IInterface compliant class extending IInterface with the name() method.
Property base class allowing Property* collections to be "homogeneous".
virtual DataHistory * getDataHistory(const CLID &id, const std::string &key, const std::string &store) const
void dumpProperties(std::ofstream &) const
Base class for all Incidents (computing events).
ServiceHistory class definition.
std::map< const Algorithm *, AlgorithmHistory * > m_algmap
IVersHistoryObj::PropertyList PropertyList
An abstract interface for Algorithm Context Service.
std::set< const IService * > m_svcs
std::set< const IAlgTool * > m_ialgtools
DataHistMap::iterator DHMitr
virtual StatusCode captureState()
std::map< const IService *, ServiceHistory * > m_svcmap
The interface implemented by the IncidentSvc service.
virtual StatusCode reinitialize()
Initialization (from INITIALIZED or RUNNING to INITIALIZED, via CONFIGURED).
std::set< const AlgTool * > m_algtools
virtual JobHistory * getJobHistory() const