Object to keep track of whether data are valid, or have expired. More...
#include <ValidityStamp.h>
Public Member Functions | |
TimeInterval | GetDuration () const |
const TimeStamp & | GetStartTime () const |
const TimeStamp & | GetStopTime () const |
bool | HasCommonTime (const TimeRange &tr) const |
bool | IsInRange (const TimeStamp &ts) const |
this works also with operator==() More... | |
bool | IsInRangeInclusive (const TimeStamp &ts) const |
bool | IsValid () const |
True if detector time is between start and end validity times. More... | |
bool | operator!= (const TimeRange &tr) const |
bool | operator!= (const TimeStamp &ts) const |
bool | operator< (const TimeRange &tr) const |
bool | operator< (const TimeStamp &ts) const |
bool | operator== (const TimeRange &tr) const |
bool | operator== (const TimeStamp &ts) const |
bool | operator> (const TimeRange &tr) const |
bool | operator> (const TimeStamp &ts) const |
void | SetTimeRange (const TimeStamp &start, const TimeStamp &stop) |
Set time range. More... | |
void | SetTimeRange (const TimeStamp &start, const TimeInterval &duration) |
void | SetValidityInterval (const utl::TimeStamp &start, const utl::TimeStamp &stop) |
Set the start and end validity times. More... | |
ValidityStamp () | |
ValidityStamp (const utl::TimeStamp &start, const utl::TimeStamp &stop) | |
Object to keep track of whether data are valid, or have expired.
Definition at line 29 of file ValidityStamp.h.
|
inline |
Definition at line 32 of file ValidityStamp.h.
|
inline |
Definition at line 33 of file ValidityStamp.h.
|
inlineinherited |
Definition at line 32 of file TimeRange.h.
References utl::TimeRange::fStartTime, and utl::TimeRange::fStopTime.
|
inlineinherited |
Definition at line 35 of file TimeRange.h.
References utl::TimeRange::fStartTime.
Referenced by cdet::Station::GetCommissionTime(), rdet::Station::GetCommissionTime(), and sdet::Station::GetCommissionTime().
|
inlineinherited |
Definition at line 36 of file TimeRange.h.
References utl::TimeRange::fStopTime.
Referenced by cdet::Station::GetDecommissionTime(), rdet::Station::GetDecommissionTime(), and sdet::Station::GetDecommissionTime().
|
inlineinherited |
Definition at line 75 of file TimeRange.h.
References utl::TimeRange::fStartTime, and utl::TimeRange::fStopTime.
Referenced by TestTime::TestTimeRange().
|
inlineinherited |
this works also with operator==()
Definition at line 57 of file TimeRange.h.
References utl::TimeRange::fStartTime, and utl::TimeRange::fStopTime.
Referenced by utl::TimeRange::operator==().
|
inlineinherited |
Definition at line 60 of file TimeRange.h.
References utl::TimeRange::fStartTime, and utl::TimeRange::fStopTime.
bool ValidityStamp::IsValid | ( | ) | const |
True if detector time is between start and end validity times.
Definition at line 19 of file ValidityStamp.cc.
References SdEventSelectorOG::IsInRange().
Referenced by fdet::Pixel::GetCloudIndex(), fdet::Pixel::HasCloudFraction(), and fdet::Eye::UpdateFdUpTime().
|
inlineinherited |
Definition at line 47 of file TimeRange.h.
References utl::TimeRange::operator==().
|
inlineinherited |
Definition at line 66 of file TimeRange.h.
References utl::TimeRange::operator==().
|
inlineinherited |
Definition at line 50 of file TimeRange.h.
References utl::TimeRange::fStartTime.
|
inlineinherited |
Definition at line 69 of file TimeRange.h.
References utl::TimeRange::fStopTime.
|
inlineinherited |
Definition at line 44 of file TimeRange.h.
References utl::TimeRange::fStartTime, and utl::TimeRange::fStopTime.
Referenced by utl::TimeRange::operator!=().
|
inlineinherited |
Definition at line 63 of file TimeRange.h.
References utl::TimeRange::IsInRange().
|
inlineinherited |
Definition at line 53 of file TimeRange.h.
References utl::TimeRange::fStopTime.
|
inlineinherited |
Definition at line 72 of file TimeRange.h.
References utl::TimeRange::fStartTime.
|
inlineinherited |
Set time range.
Definition at line 39 of file TimeRange.h.
References utl::TimeRange::SetSorted().
Referenced by SetValidityInterval(), and TestTime::TestTimeRange().
|
inlineinherited |
Definition at line 41 of file TimeRange.h.
References utl::TimeRange::fStartTime, and utl::TimeRange::fStopTime.
|
inline |
Set the start and end validity times.
Definition at line 40 of file ValidityStamp.h.
References utl::TimeRange::SetTimeRange().
Referenced by fdet::Telescope::CachePixelCloudData(), and fdet::Eye::UpdateFdUpTime().