#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 | |
virtual void | addTo (FWConfiguration &) const |
enum FWFFNavigatorState | currentTransition () |
virtual void | firstEvent () |
FWFFNavigator (CmsShowMainBase &main) | |
virtual const edm::EventBase * | getCurrentEvent () const |
const edm::EventID & | getFirstEventID () |
virtual int | getNSelectedEvents () |
virtual int | getNTotalEvents () |
virtual void | goToRunEvent (edm::RunNumber_t, edm::LuminosityBlockNumber_t, edm::EventNumber_t) |
virtual bool | isFirstEvent () |
virtual bool | isLastEvent () |
virtual void | lastEvent () |
virtual void | nextEvent () |
virtual bool | nextSelectedEvent () |
virtual void | previousEvent () |
virtual bool | previousSelectedEvent () |
void | resetTransition () |
void | setCurrentEvent (const edm::Event *) |
virtual void | setFrom (const FWConfiguration &) |
Public Member Functions inherited from FWNavigatorBase | |
FWNavigatorBase (const CmsShowMainBase &) | |
virtual | ~FWNavigatorBase () |
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.
|
inlinevirtual |
|
inline |
|
virtual |
Implements FWNavigatorBase.
Definition at line 19 of file FWFFNavigator.cc.
References kFirstEvent, and m_currentTransition.
|
inlinevirtual |
Implements FWNavigatorBase.
Definition at line 50 of file FWFFNavigator.h.
References m_currentEvent.
const edm::EventID & FWFFNavigator::getFirstEventID | ( | ) |
Definition at line 46 of file FWFFNavigator.cc.
References m_firstEventID.
|
inlinevirtual |
Implements FWNavigatorBase.
Definition at line 52 of file FWFFNavigator.h.
References getNTotalEvents().
|
inlinevirtual |
Implements FWNavigatorBase.
Definition at line 55 of file FWFFNavigator.h.
Referenced by getNSelectedEvents().
|
inlinevirtual |
|
inlinevirtual |
Implements FWNavigatorBase.
Definition at line 48 of file FWFFNavigator.h.
References edm::EventBase::id(), m_currentEvent, and m_firstEventID.
|
inlinevirtual |
|
virtual |
Implements FWNavigatorBase.
Definition at line 26 of file FWFFNavigator.cc.
References kLastEvent, and m_currentTransition.
|
virtual |
Implements FWNavigatorBase.
Definition at line 5 of file FWFFNavigator.cc.
References kNextEvent, and m_currentTransition.
Referenced by nextSelectedEvent().
|
inlinevirtual |
|
virtual |
Implements FWNavigatorBase.
Definition at line 12 of file FWFFNavigator.cc.
References kPreviousEvent, and m_currentTransition.
Referenced by previousSelectedEvent().
|
inlinevirtual |
Implements FWNavigatorBase.
Definition at line 37 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 37 of file FWFFNavigator.cc.
References event(), edm::EventBase::id(), m_currentEvent, m_firstEventID, and FWNavigatorBase::newEvent_.
|
inlinevirtual |
|
private |
Definition at line 63 of file FWFFNavigator.h.
Referenced by getCurrentEvent(), isFirstEvent(), and setCurrentEvent().
|
private |
Definition at line 65 of file FWFFNavigator.h.
Referenced by currentTransition(), firstEvent(), lastEvent(), nextEvent(), previousEvent(), and resetTransition().
|
private |
Definition at line 64 of file FWFFNavigator.h.
Referenced by getFirstEventID(), isFirstEvent(), and setCurrentEvent().