Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/TEveEventManager.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // @(#)root/eve:$Id$
0002 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *
0006  * All rights reserved.                                                  *
0007  *                                                                       *
0008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0010  *************************************************************************/
0011 
0012 #ifndef ROOT_TEveEventManager
0013 #define ROOT_TEveEventManager
0014 
0015 #include "TEveElement.h"
0016 
0017 #include <vector>
0018 
0019 class TEveEventManager : public TEveElementList
0020 {
0021 protected:
0022    std::vector<TString>  fNewEventCommands;
0023 
0024 public:
0025    TEveEventManager(const char* n="TEveEventManager", const char* t="");
0026    ~TEveEventManager() override {}
0027 
0028    std::vector<TString>& GetNewEventCommands() { return fNewEventCommands; }
0029 
0030    virtual void Open() {}
0031    virtual void GotoEvent(Int_t /*event*/) {}
0032    virtual void NextEvent() {}
0033    virtual void PrevEvent() {}
0034    virtual void Close() {}
0035 
0036    virtual void AfterNewEventLoaded();
0037 
0038    virtual void AddNewEventCommand(const TString& cmd);
0039    virtual void RemoveNewEventCommand(const TString& cmd);
0040    virtual void ClearNewEventCommands();
0041 
0042    ClassDefOverride(TEveEventManager, 0); // Base class for event management and navigation.
0043 };
0044 
0045 #endif