Public Member Functions | Private Attributes | List of all members
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

Definition at line 23 of file RDTimeStamp.h.

23 {fTimeStamp = tstamp; fFlags=flags;} // Constructor
uint16_t fFlags
Definition: RDTimeStamp.h:36
ULong64_t fTimeStamp
Definition: RDTimeStamp.h:35

Member Function Documentation

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

Definition at line 46 of file RDTimeStamp.h.

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.

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.

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.

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.

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.

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.

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.

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.

ULong64_t raw::RDTimeStamp::fTimeStamp
private

Definition at line 35 of file RDTimeStamp.h.


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