]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/Reve/EventBase.h
578a593bbf8a2c704f16d1c949db9bb1f49652d2
[u/mrichter/AliRoot.git] / EVE / Reve / EventBase.h
1 // $Header$
2
3 #ifndef REVE_EventBase_H
4 #define REVE_EventBase_H
5
6 #include <Reve/RenderElement.h>
7
8 #include <TList.h>
9
10 namespace Reve {
11
12 class EventBase : public RenderElementList
13 {
14 protected:
15   TList        fNewEventCommands;
16
17 public:
18   EventBase(const Text_t* n="EventBase", const Text_t* t="");
19   virtual ~EventBase() {}
20
21   TList& GetNewEventCommands() { return fNewEventCommands; }
22
23   virtual void Open() {}
24   virtual void GotoEvent(Int_t /*event*/) {}
25   virtual void NextEvent() {}
26   virtual void PrevEvent() {}
27   virtual void Close() {}
28
29   virtual void AfterNewEventLoaded();
30   virtual void AddNewEventCommand(const Text_t* cmd);
31
32
33   ClassDef(EventBase, 1);
34 }; // endclass Event
35
36 }
37
38 #endif