#ifndef VEGA_VVirtualFrameChannelPlayer #define VEGA_VVirtualFrameChannelPlayer //*-- Author : Damir Buskulic 21/03/03 ////////////////////////////////////////////////////////////////////////// // // // VVirtualFrameChannelPlayer // // // // // ////////////////////////////////////////////////////////////////////////// #ifndef ROOT_TClass #include "TClass.h" #endif #ifndef VEGA_VVirtualFrameChannel #include "VVirtualFrameChannel.h" #endif class VSelector; class VVirtualFrameChannelPlayer : public TObject { private: static TClass* mgPlayer; // Pointer to current frame channel // Variables for the processing string mProcVectList; // list of channels/vectors to be processed double mProcStart; // start time of processing double mProcLength; // length (in time) for the processing double mProcStep; // time step of the processing public: VVirtualFrameChannelPlayer(); virtual ~VVirtualFrameChannelPlayer() {} virtual Int_t MakeClass(const char *classname, const char* cond="", Option_t *option="") = 0; const char* GetProcessList() {return mProcVectList.c_str();} Double_t GetProcessStart() {return mProcStart;} Double_t GetProcessLength() {return mProcLength;} Double_t GetProcessStep() {return mProcStep;} void SetProcessList(const char* list) {mProcVectList = list;} void SetProcessStart(Double_t start) {mProcStart = start;} void SetProcessLength(Double_t length) {mProcLength = length;} void SetProcessStep(Double_t step) {mProcStep = step;} virtual Int_t Process(const char *filename, double starttime, double length, const char* cond="",Option_t *option="") = 0; virtual Int_t Process(VSelector *selector, double starttime, double length, const char* cond="",Option_t *option="") = 0; virtual void SetFrameChannel(VVirtualFrameChannel *fc) = 0; virtual void StartViewer(int mode=0) = 0; static VVirtualFrameChannelPlayer *FrameChannelPlayer(VVirtualFrameChannel *obj); static void SetPlayer(const char *player); static void StartEmptyViewer(); ClassDef(VVirtualFrameChannelPlayer,0) // Abstract interface for Frame Channel players }; #endif