00001 // @(#)root/eve:$Id: TEveEventManager.h 27157 2009-01-15 14:05:12Z brun $ 00002 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. * 00006 * All rights reserved. * 00007 * * 00008 * For the licensing terms see $ROOTSYS/LICENSE. * 00009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00010 *************************************************************************/ 00011 00012 #ifndef ROOT_TEveEventManager 00013 #define ROOT_TEveEventManager 00014 00015 #include "TEveElement.h" 00016 00017 #include <vector> 00018 00019 class TEveEventManager : public TEveElementList 00020 { 00021 protected: 00022 std::vector<TString> fNewEventCommands; 00023 00024 public: 00025 TEveEventManager(const char* n="TEveEventManager", const char* t=""); 00026 virtual ~TEveEventManager() {} 00027 00028 std::vector<TString>& GetNewEventCommands() { return fNewEventCommands; } 00029 00030 virtual void Open() {} 00031 virtual void GotoEvent(Int_t /*event*/) {} 00032 virtual void NextEvent() {} 00033 virtual void PrevEvent() {} 00034 virtual void Close() {} 00035 00036 virtual void AfterNewEventLoaded(); 00037 00038 virtual void AddNewEventCommand(const TString& cmd); 00039 virtual void RemoveNewEventCommand(const TString& cmd); 00040 virtual void ClearNewEventCommands(); 00041 00042 ClassDef(TEveEventManager, 1); // Base class for event management and navigation. 00043 }; 00044 00045 #endif