Public Types | Public Member Functions | Private Member Functions | List of all members
art::RangeSetHandler Class Referenceabstract

#include <RangeSetHandler.h>

Inheritance diagram for art::RangeSetHandler:
art::ClosedRangeSetHandler art::OpenRangeSetHandler

Public Types

enum  HandlerType { HandlerType::Open = 1, HandlerType::Closed = 2 }
 

Public Member Functions

virtual ~RangeSetHandler () noexcept
 
HandlerType type () const
 
RangeSet seenRanges () const
 
void update (EventID const &id, bool const lastInSubRun)
 
void flushRanges ()
 
void maybeSplitRange ()
 
void rebase ()
 
RangeSetHandlerclone () const
 

Private Member Functions

virtual HandlerType do_type () const =0
 
virtual RangeSet do_getSeenRanges () const =0
 
virtual void do_update (EventID const &, bool lastInSubRun)=0
 
virtual void do_flushRanges ()=0
 
virtual void do_maybeSplitRange ()=0
 
virtual void do_rebase ()=0
 
virtual RangeSetHandlerdo_clone () const =0
 

Detailed Description

Definition at line 11 of file RangeSetHandler.h.

Member Enumeration Documentation

Enumerator
Open 
Closed 

Definition at line 14 of file RangeSetHandler.h.

Constructor & Destructor Documentation

art::RangeSetHandler::~RangeSetHandler ( )
virtualnoexcept

Definition at line 6 of file RangeSetHandler.cc.

6 {}

Member Function Documentation

RangeSetHandler * art::RangeSetHandler::clone ( ) const

Definition at line 45 of file RangeSetHandler.cc.

46  {
47  return do_clone();
48  }
virtual RangeSetHandler * do_clone() const =0
virtual RangeSetHandler* art::RangeSetHandler::do_clone ( ) const
privatepure virtual
virtual void art::RangeSetHandler::do_flushRanges ( )
privatepure virtual
virtual RangeSet art::RangeSetHandler::do_getSeenRanges ( ) const
privatepure virtual
virtual void art::RangeSetHandler::do_maybeSplitRange ( )
privatepure virtual
virtual void art::RangeSetHandler::do_rebase ( )
privatepure virtual
virtual HandlerType art::RangeSetHandler::do_type ( ) const
privatepure virtual
virtual void art::RangeSetHandler::do_update ( EventID const &  ,
bool  lastInSubRun 
)
privatepure virtual
void art::RangeSetHandler::flushRanges ( )

Definition at line 27 of file RangeSetHandler.cc.

28  {
30  }
virtual void do_flushRanges()=0
void art::RangeSetHandler::maybeSplitRange ( )

Definition at line 33 of file RangeSetHandler.cc.

34  {
36  }
virtual void do_maybeSplitRange()=0
void art::RangeSetHandler::rebase ( )

Definition at line 39 of file RangeSetHandler.cc.

40  {
41  do_rebase();
42  }
virtual void do_rebase()=0
RangeSet art::RangeSetHandler::seenRanges ( ) const

Definition at line 15 of file RangeSetHandler.cc.

16  {
17  return do_getSeenRanges();
18  }
virtual RangeSet do_getSeenRanges() const =0
RangeSetHandler::HandlerType art::RangeSetHandler::type ( ) const

Definition at line 9 of file RangeSetHandler.cc.

10  {
11  return do_type();
12  }
virtual HandlerType do_type() const =0
void art::RangeSetHandler::update ( EventID const &  id,
bool const  lastInSubRun 
)

Definition at line 21 of file RangeSetHandler.cc.

22  {
23  do_update(id, lastInSubRun);
24  }
virtual void do_update(EventID const &, bool lastInSubRun)=0

The documentation for this class was generated from the following files: