LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
raw::RDTimeStamp Class Reference

#include "RDTimeStamp.h"

Public Member Functions

 RDTimeStamp (ULong64_t tstamp=0, uint16_t flags=0)
 
void SetTimeStamp (ULong64_t tstamp)
 
void SetTimeStamp_Low (uint32_t tslow)
 
void SetTimeStamp_High (uint32_t tshigh)
 
ULong64_t GetTimeStamp () const
 
uint32_t GetTimeStamp_Low () const
 
uint32_t GetTimeStamp_High () const
 
void SetFlags (uint16_t flags)
 
uint16_t GetFlags () const
 

Private Attributes

ULong64_t fTimeStamp
 
uint16_t fFlags
 

Detailed Description

Definition at line 19 of file RDTimeStamp.h.

Constructor & Destructor Documentation

raw::RDTimeStamp::RDTimeStamp ( ULong64_t  tstamp = 0,
uint16_t  flags = 0 
)
inline

Member Function Documentation

uint16_t raw::RDTimeStamp::GetFlags ( ) const
inline

Definition at line 46 of file RDTimeStamp.h.

References fFlags.

Referenced by RDTimeStamp().

46 { return fFlags; }
uint16_t fFlags
Definition: RDTimeStamp.h:36
ULong64_t raw::RDTimeStamp::GetTimeStamp ( ) const
inline

Definition at line 42 of file RDTimeStamp.h.

References fTimeStamp.

Referenced by RDTimeStamp().

42 { return fTimeStamp; }
ULong64_t fTimeStamp
Definition: RDTimeStamp.h:35
uint32_t raw::RDTimeStamp::GetTimeStamp_High ( ) const
inline

Definition at line 44 of file RDTimeStamp.h.

References fTimeStamp.

Referenced by RDTimeStamp().

44 { return fTimeStamp >> 32; }
ULong64_t fTimeStamp
Definition: RDTimeStamp.h:35
uint32_t raw::RDTimeStamp::GetTimeStamp_Low ( ) const
inline

Definition at line 43 of file RDTimeStamp.h.

References fTimeStamp.

Referenced by RDTimeStamp().

43 { return fTimeStamp & 0xFFFFFFFF; }
ULong64_t fTimeStamp
Definition: RDTimeStamp.h:35
void raw::RDTimeStamp::SetFlags ( uint16_t  flags)
inline

Definition at line 45 of file RDTimeStamp.h.

References fFlags.

Referenced by RDTimeStamp().

45 {fFlags = flags; }
uint16_t fFlags
Definition: RDTimeStamp.h:36
void raw::RDTimeStamp::SetTimeStamp ( ULong64_t  tstamp)
inline

Definition at line 39 of file RDTimeStamp.h.

References fTimeStamp.

Referenced by RDTimeStamp().

39 { fTimeStamp = tstamp; }
ULong64_t fTimeStamp
Definition: RDTimeStamp.h:35
void raw::RDTimeStamp::SetTimeStamp_High ( uint32_t  tshigh)
inline

Definition at line 41 of file RDTimeStamp.h.

References fTimeStamp.

Referenced by RDTimeStamp().

41 { fTimeStamp &= 0xFFFFFFFF; fTimeStamp |= ( (ULong64_t) tshigh << 32); }
ULong64_t fTimeStamp
Definition: RDTimeStamp.h:35
void raw::RDTimeStamp::SetTimeStamp_Low ( uint32_t  tslow)
inline

Definition at line 40 of file RDTimeStamp.h.

References fTimeStamp.

Referenced by RDTimeStamp().

40 { fTimeStamp &= 0xFFFFFFFF00000000; fTimeStamp |= tslow; }
ULong64_t fTimeStamp
Definition: RDTimeStamp.h:35

Member Data Documentation

uint16_t raw::RDTimeStamp::fFlags
private

Definition at line 36 of file RDTimeStamp.h.

Referenced by GetFlags(), RDTimeStamp(), and SetFlags().

ULong64_t raw::RDTimeStamp::fTimeStamp
private

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