CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Types | Protected Attributes
l1t::IntervalManager< TimeType, PayloadType > Class Template Reference

#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
 

Detailed Description

template<typename TimeType, typename PayloadType>
class l1t::IntervalManager< TimeType, PayloadType >

Definition at line 76 of file Interval.h.

Member Typedef Documentation

template<typename TimeType , typename PayloadType >
typedef std::map<TimeType, Interval<TimeType, PayloadType> > l1t::IntervalManager< TimeType, PayloadType >::IntervalMap
protected

Definition at line 95 of file Interval.h.

Member Function Documentation

template<typename TimeType , typename PayloadType >
void l1t::IntervalManager< TimeType, PayloadType >::addInterval ( const Interval< TimeType, PayloadType > &  interval)
inline

Definition at line 81 of file Interval.h.

References l1t::Interval< TimeType, PayloadType >::start().

82  { intervalMap.insert (std::make_pair (interval.start (), interval)); }
IntervalMap intervalMap
Definition: Interval.h:96
template<typename TimeType , typename PayloadType >
void l1t::IntervalManager< TimeType, PayloadType >::clear ( void  )
inline
template<typename TimeType , typename PayloadType >
const Interval<TimeType, PayloadType>& l1t::IntervalManager< TimeType, PayloadType >::find ( const TimeType &  time) const

Member Data Documentation

template<typename TimeType , typename PayloadType >
IntervalMap l1t::IntervalManager< TimeType, PayloadType >::intervalMap
protected

Definition at line 96 of file Interval.h.