ROOT logo
// @(#)root/eve:$Id: TEveEventManager.h 27157 2009-01-15 14:05:12Z brun $
// Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007

/*************************************************************************
 * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TEveEventManager
#define ROOT_TEveEventManager

#include "TEveElement.h"

#include <vector>

class TEveEventManager : public TEveElementList
{
protected:
   std::vector<TString>  fNewEventCommands;

public:
   TEveEventManager(const char* n="TEveEventManager", const char* t="");
   virtual ~TEveEventManager() {}

   std::vector<TString>& GetNewEventCommands() { return fNewEventCommands; }

   virtual void Open() {}
   virtual void GotoEvent(Int_t /*event*/) {}
   virtual void NextEvent() {}
   virtual void PrevEvent() {}
   virtual void Close() {}

   virtual void AfterNewEventLoaded();

   virtual void AddNewEventCommand(const TString& cmd);
   virtual void RemoveNewEventCommand(const TString& cmd);
   virtual void ClearNewEventCommands();

   ClassDef(TEveEventManager, 1); // Base class for event management and navigation.
};

#endif
 TEveEventManager.h:1
 TEveEventManager.h:2
 TEveEventManager.h:3
 TEveEventManager.h:4
 TEveEventManager.h:5
 TEveEventManager.h:6
 TEveEventManager.h:7
 TEveEventManager.h:8
 TEveEventManager.h:9
 TEveEventManager.h:10
 TEveEventManager.h:11
 TEveEventManager.h:12
 TEveEventManager.h:13
 TEveEventManager.h:14
 TEveEventManager.h:15
 TEveEventManager.h:16
 TEveEventManager.h:17
 TEveEventManager.h:18
 TEveEventManager.h:19
 TEveEventManager.h:20
 TEveEventManager.h:21
 TEveEventManager.h:22
 TEveEventManager.h:23
 TEveEventManager.h:24
 TEveEventManager.h:25
 TEveEventManager.h:26
 TEveEventManager.h:27
 TEveEventManager.h:28
 TEveEventManager.h:29
 TEveEventManager.h:30
 TEveEventManager.h:31
 TEveEventManager.h:32
 TEveEventManager.h:33
 TEveEventManager.h:34
 TEveEventManager.h:35
 TEveEventManager.h:36
 TEveEventManager.h:37
 TEveEventManager.h:38
 TEveEventManager.h:39
 TEveEventManager.h:40
 TEveEventManager.h:41
 TEveEventManager.h:42
 TEveEventManager.h:43
 TEveEventManager.h:44
 TEveEventManager.h:45