LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
art::RangeSetHandler Class Referenceabstract

#include "RangeSetHandler.h"

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

Public Member Functions

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

Private Member Functions

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
 

Detailed Description

Definition at line 12 of file RangeSetHandler.h.

Constructor & Destructor Documentation

virtual art::RangeSetHandler::~RangeSetHandler ( )
virtualdefaultnoexcept

Member Function Documentation

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

Implemented in art::ClosedRangeSetHandler, and art::OpenRangeSetHandler.

Referenced by rebase().

virtual void art::RangeSetHandler::do_update ( EventID const &  ,
bool  lastInSubRun 
)
privatepure virtual

Implemented in art::ClosedRangeSetHandler, and art::OpenRangeSetHandler.

Referenced by rebase(), and update().

void art::RangeSetHandler::flushRanges ( )
inline

Definition at line 29 of file RangeSetHandler.h.

References do_flushRanges().

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

Definition at line 34 of file RangeSetHandler.h.

References do_maybeSplitRange().

35  {
37  }
virtual void do_maybeSplitRange()=0
void art::RangeSetHandler::rebase ( )
inline

Definition at line 39 of file RangeSetHandler.h.

References do_flushRanges(), do_getSeenRanges(), do_maybeSplitRange(), do_rebase(), and do_update().

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

Definition at line 17 of file RangeSetHandler.h.

References do_getSeenRanges().

18  {
19  return do_getSeenRanges();
20  }
virtual RangeSet do_getSeenRanges() const =0
void art::RangeSetHandler::update ( EventID const &  id,
bool const  lastInSubRun 
)
inline

Definition at line 23 of file RangeSetHandler.h.

References do_update().

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

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