#include <FWFFNavigator.h>
Public Types | |
enum | FWFFNavigatorState { kNoTransition, kNextEvent, kPreviousEvent, kFirstEvent, kLastEvent } |
Public Types inherited from FWNavigatorBase | |
enum | EFilterMode { kOr = 1, kAnd = 2 } |
enum | EFilterState { kOff, kOn, kWithdrawn } |
Public Member Functions | |
void | addTo (FWConfiguration &) const override |
enum FWFFNavigatorState | currentTransition () |
void | firstEvent () override |
FWFFNavigator (CmsShowMainBase &main) | |
const edm::EventBase * | getCurrentEvent () const override |
const edm::EventID & | getFirstEventID () |
int | getNSelectedEvents () override |
int | getNTotalEvents () override |
void | goToRunEvent (edm::RunNumber_t, edm::LuminosityBlockNumber_t, edm::EventNumber_t) override |
bool | isFirstEvent () override |
bool | isLastEvent () override |
void | lastEvent () override |
void | nextEvent () override |
bool | nextSelectedEvent () override |
void | previousEvent () override |
bool | previousSelectedEvent () override |
void | resetTransition () |
void | setCurrentEvent (const edm::Event *) |
void | setFrom (const FWConfiguration &) override |
Public Member Functions inherited from FWNavigatorBase | |
FWNavigatorBase (const CmsShowMainBase &) | |
~FWNavigatorBase () override | |
Public Member Functions inherited from FWConfigurable | |
FWConfigurable () | |
virtual | ~FWConfigurable () |
Private Attributes | |
const edm::Event * | m_currentEvent |
enum FWFFNavigatorState | m_currentTransition |
edm::EventID | m_firstEventID |
Additional Inherited Members | |
Public Attributes inherited from FWNavigatorBase | |
sigc::signal< void > | newEvent_ |
Definition at line 11 of file FWFFNavigator.h.
Enumerator | |
---|---|
kNoTransition | |
kNextEvent | |
kPreviousEvent | |
kFirstEvent | |
kLastEvent |
Definition at line 13 of file FWFFNavigator.h.
|
inline |
Definition at line 15 of file FWFFNavigator.h.
|
inlineoverridevirtual |
|
inline |
|
overridevirtual |
Implements FWNavigatorBase.
Definition at line 14 of file FWFFNavigator.cc.
References kFirstEvent, and m_currentTransition.
|
inlineoverridevirtual |
Implements FWNavigatorBase.
Definition at line 45 of file FWFFNavigator.h.
References m_currentEvent.
const edm::EventID & FWFFNavigator::getFirstEventID | ( | ) |
|
inlineoverridevirtual |
Implements FWNavigatorBase.
Definition at line 47 of file FWFFNavigator.h.
References getNTotalEvents().
|
inlineoverridevirtual |
Implements FWNavigatorBase.
Definition at line 50 of file FWFFNavigator.h.
Referenced by getNSelectedEvents().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements FWNavigatorBase.
Definition at line 43 of file FWFFNavigator.h.
References edm::EventBase::id(), m_currentEvent, and m_firstEventID.
|
inlineoverridevirtual |
|
overridevirtual |
Implements FWNavigatorBase.
Definition at line 19 of file FWFFNavigator.cc.
References kLastEvent, and m_currentTransition.
|
overridevirtual |
Implements FWNavigatorBase.
Definition at line 4 of file FWFFNavigator.cc.
References kNextEvent, and m_currentTransition.
Referenced by nextSelectedEvent().
|
inlineoverridevirtual |
|
overridevirtual |
Implements FWNavigatorBase.
Definition at line 9 of file FWFFNavigator.cc.
References kPreviousEvent, and m_currentTransition.
Referenced by previousSelectedEvent().
|
inlineoverridevirtual |
Implements FWNavigatorBase.
Definition at line 29 of file FWFFNavigator.h.
References previousEvent().
|
inline |
void FWFFNavigator::setCurrentEvent | ( | const edm::Event * | event | ) |
API to move to a given event. Notice that it is also responsible for keeping registering the ID of the first event, so that we can stop going back.
Definition at line 28 of file FWFFNavigator.cc.
References edmPickEvents::event, edm::EventBase::id(), m_currentEvent, m_firstEventID, and FWNavigatorBase::newEvent_.
|
inlineoverridevirtual |
|
private |
Definition at line 59 of file FWFFNavigator.h.
Referenced by getCurrentEvent(), isFirstEvent(), and setCurrentEvent().
|
private |
Definition at line 61 of file FWFFNavigator.h.
Referenced by currentTransition(), firstEvent(), lastEvent(), nextEvent(), previousEvent(), and resetTransition().
|
private |
Definition at line 60 of file FWFFNavigator.h.
Referenced by getFirstEventID(), isFirstEvent(), and setCurrentEvent().