]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliShuttleInterface.h
Cell numbering fixed for V0A
[u/mrichter/AliRoot.git] / STEER / AliShuttleInterface.h
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 class AliPreprocessor;
18 class AliCDBPath;
19
20 class AliShuttleInterface : public TObject
21 {
22   public:
23     enum { kDAQ = 0, kDCS, kHLT };
24     static const char* fkSystemNames[3];  // names of the systems providing data to the shuttle
25
26     virtual UInt_t Store(const AliCDBPath& path, TObject* object, AliCDBMetaData* metaData,
27                                 Int_t validityStart = 0, Bool_t validityInfinite = kFALSE) = 0;
28     virtual UInt_t StoreReferenceData(const AliCDBPath& path, TObject* object, AliCDBMetaData* metaData,
29                                 Int_t validityStart = 0, Bool_t validityInfinite = kFALSE) = 0;
30     virtual const char* GetFile(Int_t system, const char* detector, const char* id, const char* source) = 0;
31     virtual TList* GetFileSources(Int_t system, const char* detector, const char* id) = 0;
32     virtual void Log(const char* detector, const char* message) = 0;
33
34     virtual void RegisterPreprocessor(AliPreprocessor* preprocessor) = 0;
35
36   private:
37     ClassDef(AliShuttleInterface, 0);
38 };
39
40 #endif