Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
nutools
old
EventDisplayBase
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_
{
12
kNEXT_EVENT
,
13
kPREV_EVENT
,
14
kRELOAD_EVENT
,
15
kGOTO_EVENT
,
16
kSEQUENTIAL_ONLY
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
////////////////////////////////////////////////////////////////////////
evdb::NavState::Set
static void Set(int which)
Definition:
NavState.cxx:24
evdb::NavState::TargetEvent
static int TargetEvent()
Definition:
NavState.cxx:51
evdb::NavState::NavState
NavState()
Definition:
NavState.h:33
evdb::kPREV_EVENT
Definition:
NavState.h:13
evdb
Manage all things related to colors for the event display.
Definition:
Edge3DDrawer_tool.cc:10
evdb::NavState
Definition:
NavState.h:25
evdb::NavState::TargetRun
static int TargetRun()
Definition:
NavState.cxx:47
evdb::kSEQUENTIAL_ONLY
Definition:
NavState.h:16
evdb::kGOTO_EVENT
Definition:
NavState.h:15
evdb::kRELOAD_EVENT
Definition:
NavState.h:14
evdb::NavState::SetTarget
static void SetTarget(int run, int event)
Definition:
NavState.cxx:39
evdb::kNEXT_EVENT
Definition:
NavState.h:12
evdb::NavState::Which
static int Which()
Definition:
NavState.cxx:20
event
Event finding and building.
Definition:
EventCheater_module.cc:32
run
unsigned int run
Definition:
NearlinePlotMaker.h:56
evdb::nav_states_
nav_states_
Definition:
NavState.h:11
Generated by
1.8.11