CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
FWNavigatorBase Class Referenceabstract

#include <FWNavigatorBase.h>

Inheritance diagram for FWNavigatorBase:
FWConfigurable CmsShowNavigator FWFFNavigator

Public Types

enum  EFilterMode { kOr = 1, kAnd = 2 }
 
enum  EFilterState { kOff, kOn, kWithdrawn }
 

Public Member Functions

void addTo (FWConfiguration &) const override=0
 
virtual void firstEvent ()=0
 
 FWNavigatorBase (const CmsShowMainBase &)
 
virtual const edm::EventBasegetCurrentEvent () const =0
 
virtual int getNSelectedEvents ()=0
 
virtual int getNTotalEvents ()=0
 
virtual void goToRunEvent (edm::RunNumber_t, edm::LuminosityBlockNumber_t, edm::EventNumber_t)=0
 
virtual bool isFirstEvent ()=0
 
virtual bool isLastEvent ()=0
 
virtual void lastEvent ()=0
 
virtual void nextEvent ()=0
 
virtual bool nextSelectedEvent ()=0
 
virtual void previousEvent ()=0
 
virtual bool previousSelectedEvent ()=0
 
void setFrom (const FWConfiguration &) override=0
 
 ~FWNavigatorBase () override
 
- Public Member Functions inherited from FWConfigurable
 FWConfigurable ()
 
virtual ~FWConfigurable ()
 

Public Attributes

sigc::signal< void > newEvent_
 

Private Member Functions

 FWNavigatorBase (const FWNavigatorBase &)=delete
 
const FWNavigatorBaseoperator= (const FWNavigatorBase &)=delete
 

Private Attributes

const CmsShowMainBasem_main
 

Detailed Description

Definition at line 27 of file FWNavigatorBase.h.

Member Enumeration Documentation

◆ EFilterMode

Enumerator
kOr 
kAnd 

Definition at line 30 of file FWNavigatorBase.h.

30 { kOr = 1, kAnd = 2 };

◆ EFilterState

Enumerator
kOff 
kOn 
kWithdrawn 

Definition at line 29 of file FWNavigatorBase.h.

29 { kOff, kOn, kWithdrawn };

Constructor & Destructor Documentation

◆ FWNavigatorBase() [1/2]

FWNavigatorBase::FWNavigatorBase ( const CmsShowMainBase main)

Definition at line 3 of file FWNavigatorBase.cc.

3 : m_main(main) {}

◆ ~FWNavigatorBase()

FWNavigatorBase::~FWNavigatorBase ( )
override

Definition at line 5 of file FWNavigatorBase.cc.

5 {}

◆ FWNavigatorBase() [2/2]

FWNavigatorBase::FWNavigatorBase ( const FWNavigatorBase )
privatedelete

Member Function Documentation

◆ addTo()

void FWNavigatorBase::addTo ( FWConfiguration ) const
overridepure virtual

Implements FWConfigurable.

Implemented in CmsShowNavigator, and FWFFNavigator.

◆ firstEvent()

virtual void FWNavigatorBase::firstEvent ( )
pure virtual

Implemented in CmsShowNavigator, and FWFFNavigator.

Referenced by CmsShowMainBase::doFirstEvent().

◆ getCurrentEvent()

virtual const edm::EventBase* FWNavigatorBase::getCurrentEvent ( ) const
pure virtual

◆ getNSelectedEvents()

virtual int FWNavigatorBase::getNSelectedEvents ( )
pure virtual

Implemented in CmsShowNavigator, and FWFFNavigator.

◆ getNTotalEvents()

virtual int FWNavigatorBase::getNTotalEvents ( )
pure virtual

Implemented in CmsShowNavigator, and FWFFNavigator.

◆ goToRunEvent()

virtual void FWNavigatorBase::goToRunEvent ( edm::RunNumber_t  ,
edm::LuminosityBlockNumber_t  ,
edm::EventNumber_t   
)
pure virtual

Implemented in CmsShowNavigator, and FWFFNavigator.

Referenced by CmsShowMainBase::goToRunEvent().

◆ isFirstEvent()

virtual bool FWNavigatorBase::isFirstEvent ( )
pure virtual

Implemented in CmsShowNavigator, and FWFFNavigator.

◆ isLastEvent()

virtual bool FWNavigatorBase::isLastEvent ( )
pure virtual

Implemented in CmsShowNavigator, and FWFFNavigator.

◆ lastEvent()

virtual void FWNavigatorBase::lastEvent ( )
pure virtual

Implemented in CmsShowNavigator, and FWFFNavigator.

Referenced by CmsShowMainBase::doLastEvent().

◆ nextEvent()

virtual void FWNavigatorBase::nextEvent ( )
pure virtual

Implemented in CmsShowNavigator, and FWFFNavigator.

Referenced by CmsShowMainBase::doNextEvent().

◆ nextSelectedEvent()

virtual bool FWNavigatorBase::nextSelectedEvent ( )
pure virtual

Implemented in CmsShowNavigator, and FWFFNavigator.

◆ operator=()

const FWNavigatorBase& FWNavigatorBase::operator= ( const FWNavigatorBase )
privatedelete

◆ previousEvent()

virtual void FWNavigatorBase::previousEvent ( )
pure virtual

◆ previousSelectedEvent()

virtual bool FWNavigatorBase::previousSelectedEvent ( )
pure virtual

Implemented in CmsShowNavigator, and FWFFNavigator.

◆ setFrom()

void FWNavigatorBase::setFrom ( const FWConfiguration )
overridepure virtual

Implements FWConfigurable.

Implemented in CmsShowNavigator, and FWFFNavigator.

Member Data Documentation

◆ m_main

const CmsShowMainBase& FWNavigatorBase::m_main
private

Definition at line 65 of file FWNavigatorBase.h.

◆ newEvent_

sigc::signal<void> FWNavigatorBase::newEvent_
FWNavigatorBase::kOr
Definition: FWNavigatorBase.h:30
FWNavigatorBase::kWithdrawn
Definition: FWNavigatorBase.h:29
FWNavigatorBase::kAnd
Definition: FWNavigatorBase.h:30
FWNavigatorBase::kOff
Definition: FWNavigatorBase.h:29
FWNavigatorBase::kOn
Definition: FWNavigatorBase.h:29
main
Definition: main.py:1
FWNavigatorBase::m_main
const CmsShowMainBase & m_main
Definition: FWNavigatorBase.h:65