NavState.h
Go to the documentation of this file.
1 ///
2 /// \file NavState.h
3 /// \brief Holds information about what action to take next.
4 /// \version $Id: NavState.h,v 1.2 2011-08-31 20:19:58 brebel Exp $
5 /// \author messier@indiana.edu
6 ///
7 #ifndef EVDB_NAVSTATE_H
8 #define EVDB_NAVSTATE_H
9 
10 namespace evdb {
11  enum nav_states_ {
17  };
18 
19  ///
20  /// Encapsulate some data about where the display should go next
21  ///
22  /// Since there can only be one state, these are implemented as a
23  /// set of static methods
24  ///
25  class NavState {
26  public:
27  static int Which();
28  static void Set(int which);
29  static void SetTarget(int run, int event);
30  static int TargetRun();
31  static int TargetEvent();
32  private:
33  NavState() { }
34  };
35 }
36 
37 #endif
38 ////////////////////////////////////////////////////////////////////////
static void Set(int which)
Definition: NavState.cxx:24
static int TargetEvent()
Definition: NavState.cxx:51
Manage all things related to colors for the event display.
static int TargetRun()
Definition: NavState.cxx:47
static void SetTarget(int run, int event)
Definition: NavState.cxx:39
static int Which()
Definition: NavState.cxx:20
Event finding and building.
unsigned int run
nav_states_
Definition: NavState.h:11