71 os << (((uint64_t)t.
high) << 32) + t.
low;
93 namespace dae_events_conditions {
static int checkEventHeaderImpl(const DAEEventHeader *head)
return 0x20 if dummy header present
static void printEventHeader(const DAEEventHeader *head, std::ostream &os)
static const int DAEEventHeaderFixedMarker
static void OffsetToDAETime(time_t base, double offset, DAEEventHeader::DAETime &daetime)
static void getEventHeaderErrorMessage(const DAEEventHeader *head, unsigned code, std::string &error_message)
static void DAETimeToFILETIME(const DAEEventHeader::DAETime &daetime, FILETIME &filetime)
static void DAETimeToSystemTime(const DAEEventHeader::DAETime &daetime, SYSTEMTIME &systime)
static uint32_t getCompleteFramesLen(const isisU32_t *buffer, uint32_t len, DAEstatus &status)
static void SystemTimeToDAETime(const SYSTEMTIME &systime, DAEEventHeader::DAETime &daetime)
static int findValidEventHeaderOffset(const isisU32_t *buffer, uint32_t len, DAEstatus &status)
returns index of start of a valid event header, -1 on error
BOOST_STATIC_ASSERT(sizeof(DAEEventHeaderInfo)==4)
static void printDetectorEvents(const DetectorEvent32 *events, int n, std::ostream &os)
static void DAETimeToOffset(const DAEEventHeader::DAETime &daetime, time_t base, T &offset)
static std::string DAETimeAsString(const DAEEventHeader::DAETime &daetime)
return as ISO8601 format string
static const unsigned DAE_EVENT_HEADER_WORDS
static void FILETIMEToDAETime(const FILETIME &filetime, DAEEventHeader::DAETime &daetime)
static bool isEndRunHeader(const DAEEventHeader *head, DAEstatus &status)
check whether an event frame header is a special enf of frame header
static void checkEvents(const isisU32_t *buffer, uint32_t maxlen, DAEstatus &status)
checks that buffer corresponds to a copmplete set of event frames
static uint32_t checkEventsFrame(const isisU32_t *buffer, uint32_t maxlen, DAEstatus &status)
std::ostream & operator<<(std::ostream &os, const DAEEventHeader::DAETime &t)
static void checkEventHeader(const DAEEventHeader *head)