| # Gaudi Framework, version v22r4 |

Home |  | Generated: Fri Sep 2 2011

# IHistorySvc.h

Go to the documentation of this file.

    00001 // $Header: /tmp/svngaudi/tmp.jEpFh25751/Gaudi/GaudiKernel/GaudiKernel/IHistorySvc.h,v 1.1 2004/07/14 18:13:57 leggett Exp $
    00002
    00003 #ifndef GAUDIKERNEL_IHISTORYSVC_H
    00004 #define GAUDIKERNEL_IHISTORYSVC_H
    00005
    00006
    00007 #include "GaudiKernel/IService.h"
    00008 #include "GaudiKernel/ClassID.h"
    00009
    00010 #include <string>
    00011 #include <set>
    00012
    00013 class JobHistory;
    00014
    00015 class ServiceHistory;
    00016 class IService;
    00017
    00018 class Algorithm;
    00019 class AlgorithmHistory;
    00020
    00021 class IAlgTool;
    00022 class AlgToolHistory;
    00023
    00024 class DataHistory;
    00025 class HistoryObj;
    00026
    00034 class GAUDI_API IHistorySvc : virtual public IService {
    00035 public:
    00037   DeclareInterfaceID(IHistorySvc,2,0);
    00038
    00039   // Job level objects
    00040   virtual StatusCode registerJob() = 0;
    00041   virtual StatusCode listProperties() const = 0;
    00042   virtual JobHistory* getJobHistory() const = 0;
    00043
    00044   // Service level objects
    00045   virtual StatusCode registerSvc(const IService&) = 0;
    00046   virtual StatusCode listProperties(const IService&) const = 0;
    00047   virtual ServiceHistory* getServiceHistory(const IService&) const = 0;
    00048   virtual void getServiceHistory(std::set<ServiceHistory*>&) const = 0;
    00049
    00050   // Algorithm level objects
    00051   virtual StatusCode registerAlg(const Algorithm&) = 0;
    00052   virtual StatusCode listProperties(const Algorithm&) const = 0;
    00053   virtual AlgorithmHistory* getAlgHistory(const Algorithm&) const = 0;
    00054   virtual void getAlgHistory(std::set<AlgorithmHistory*>&) const = 0;
    00055
    00056   // AlgTool level objects
    00057   virtual StatusCode registerAlgTool(const IAlgTool&) = 0;
    00058   virtual StatusCode listProperties(const IAlgTool&) const = 0;
    00059   virtual AlgToolHistory* getAlgToolHistory(const IAlgTool&) const = 0;
    00060   virtual void getAlgToolHistory(std::set<AlgToolHistory*>&) const = 0;
    00061
    00062   // DataObj level objects
    00063   virtual DataHistory* createDataHistoryObj(const CLID& id,
    00064                                             const std::string& key,
    00065                                             const std::string& storeName) = 0;
    00066   virtual DataHistory* getDataHistory(const CLID& id, const std::string& key,
    00067                                       const std::string& storeName) const = 0;
    00068
    00069 };
    00070
    00071 #endif // GAUDIKERNEL_IHISTORYSVC_H

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines