57459306 |
1 | #ifndef ALI_SHUTTLE_INTERFACE_H |
2 | #define ALI_SHUTTLE_INTERFACE_H |
3 | |
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
5 | * See cxx source for full Copyright notice */ |
6 | |
7 | /* $Id$ */ |
8 | |
9 | // |
10 | // abstract interface class to AliShuttle |
11 | // |
12 | |
13 | #include <TObject.h> |
14 | |
15 | class TList; |
16 | class AliCDBMetaData; |
17 | |
18 | class AliShuttleInterface : public TObject |
19 | { |
20 | public: |
21 | enum { kDAQ = 0, kDCS, kHLT }; |
22 | static const char* fkSystemNames[3]; // names of the systems providing data to the shuttle |
23 | |
24 | virtual Int_t Store(const char* detector, TObject* object, AliCDBMetaData* metaData) = 0; |
25 | virtual const char* GetFile(Int_t system, const char* detector, const char* id, const char* source) = 0; |
26 | virtual TList* GetFileSources(Int_t system, const char* detector, const char* id) = 0; |
27 | virtual void Log(const char* detector, const char* message) = 0; |
28 | |
29 | private: |
30 | ClassDef(AliShuttleInterface, 0); |
31 | }; |
32 | |
33 | #endif |