1 #ifndef ALI_TEST_SHUTTLE_H
2 #define ALI_TEST_SHUTTLE_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 // test implementation of the AliShuttleInterface, to be used for local tests of preprocessors
13 #include <AliShuttleInterface.h>
19 class AliTestShuttle : public AliShuttleInterface
23 virtual ~AliTestShuttle();
25 void AddInputFile(Int_t system, const char* detector, const char* id, const char* source, const char* fileName);
26 void SetDCSInput(TMap* dcsAliasMap) { fDcsAliasMap = dcsAliasMap; }
30 // AliShuttleInterface functions
31 virtual UInt_t Store(const char* detector, TObject* object, AliCDBMetaData* metaData);
32 virtual const char* GetFile(Int_t system, const char* detector, const char* id, const char* source);
33 virtual TList* GetFileSources(Int_t system, const char* detector, const char* id);
34 virtual void Log(const char* detector, const char* message);
36 virtual void RegisterPreprocessor(AliPreprocessor* preprocessor);
39 TMap* fInputFiles; // files for GetFile, GetFileSources
40 TObjArray* fPreprocessors; // list of preprocessors that are to be tested
41 TMap* fDcsAliasMap; // DCS data for testing
44 ClassDef(AliTestShuttle, 0);