#include <Interval.h>
Public Member Functions | |
void | addInterval (const Interval< TimeType, PayloadType > &interval) |
void | clear () |
const Interval< TimeType, PayloadType > & | find (const TimeType &time) const |
Protected Types | |
typedef std::map< TimeType, Interval< TimeType, PayloadType > > | IntervalMap |
Protected Attributes | |
IntervalMap | intervalMap |
Definition at line 76 of file Interval.h.
typedef std::map<TimeType, Interval<TimeType, PayloadType> > l1t::IntervalManager< TimeType, PayloadType >::IntervalMap [protected] |
Definition at line 95 of file Interval.h.
void l1t::IntervalManager< TimeType, PayloadType >::addInterval | ( | const Interval< TimeType, PayloadType > & | interval | ) | [inline] |
Definition at line 81 of file Interval.h.
References MergeJob_cfg::interval, l1t::IntervalManager< TimeType, PayloadType >::intervalMap, and l1t::Interval< TimeType, PayloadType >::start().
{ intervalMap.insert (std::make_pair (interval.start (), interval)); }
void l1t::IntervalManager< TimeType, PayloadType >::clear | ( | void | ) | [inline] |
Definition at line 86 of file Interval.h.
References l1t::IntervalManager< TimeType, PayloadType >::intervalMap.
{ intervalMap.clear (); }
const Interval<TimeType, PayloadType>& l1t::IntervalManager< TimeType, PayloadType >::find | ( | const TimeType & | time | ) | const |
IntervalMap l1t::IntervalManager< TimeType, PayloadType >::intervalMap [protected] |
Definition at line 96 of file Interval.h.
Referenced by l1t::IntervalManager< TimeType, PayloadType >::addInterval(), and l1t::IntervalManager< TimeType, PayloadType >::clear().