#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 12 of file FWFFNavigator.h.
Enumerator | |
---|---|
kNoTransition | |
kNextEvent | |
kPreviousEvent | |
kFirstEvent | |
kLastEvent |
Definition at line 15 of file FWFFNavigator.h.
|
inline |
Definition at line 23 of file FWFFNavigator.h.
|
inlineoverridevirtual |
|
inline |
Definition at line 60 of file FWFFNavigator.h.
|
overridevirtual |
Implements FWNavigatorBase.
Definition at line 19 of file FWFFNavigator.cc.
References kFirstEvent, and m_currentTransition.
|
inlineoverridevirtual |
const edm::EventID & FWFFNavigator::getFirstEventID | ( | ) |
Definition at line 46 of file FWFFNavigator.cc.
References m_firstEventID.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
overridevirtual |
Implements FWNavigatorBase.
Definition at line 26 of file FWFFNavigator.cc.
References kLastEvent, and m_currentTransition.
|
overridevirtual |
Implements FWNavigatorBase.
Definition at line 5 of file FWFFNavigator.cc.
References kNextEvent, and m_currentTransition.
|
inlineoverridevirtual |
|
overridevirtual |
Implements FWNavigatorBase.
Definition at line 12 of file FWFFNavigator.cc.
References kPreviousEvent, and m_currentTransition.
|
inlineoverridevirtual |
|
inline |
Definition at line 61 of file FWFFNavigator.h.
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 37 of file FWFFNavigator.cc.
References event(), edm::EventBase::id(), m_currentEvent, m_firstEventID, and FWNavigatorBase::newEvent_.
|
inlineoverridevirtual |
|
private |
Definition at line 63 of file FWFFNavigator.h.
Referenced by setCurrentEvent().
|
private |
Definition at line 65 of file FWFFNavigator.h.
Referenced by firstEvent(), lastEvent(), nextEvent(), and previousEvent().
|
private |
Definition at line 64 of file FWFFNavigator.h.
Referenced by getFirstEventID(), and setCurrentEvent().