Public Member Functions | Public Attributes | Protected Member Functions | List of all members
daqdataformats::RawTriggerTime Class Reference

Class to hold the data corresponding to the trigger mask. More...

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-12-01/DAQDataFormats/cxx/include/RawTriggerTime.h"

Inheritance diagram for daqdataformats::RawTriggerTime:

Public Member Functions

 RawTriggerTime (const version_t version=CURRENT_FIELDS_SUB_NAMESPACE::RAWTRIGGERTIME_LATEST_VERSION)
 Constructor. More...
 
 RawTriggerTime (const RawTriggerTime &copy_in)
 Copyin Constructor. More...
 
 RawTriggerTime (const void *buffer, const version_t version=rawdaqdataformat::DAQDATAFORMAT_UNKNOWN_VERSION)
 Constructor with data intialization. More...
 
 ~RawTriggerTime ()
 Destructor. More...
 
 IMPLEMENT_GET_MAIN (Version, uint32_t)
 
 IMPLEMENT_GET_AND_SET_MAIN (TriggerTimeStampLow, uint32_t)
 
 IMPLEMENT_GET_AND_SET_MAIN (TriggerTimeStampHigh, uint32_t)
 
 IMPLEMENT_GET_AND_SET_MAIN (TriggerTimeStamp_sec, uint32_t)
 
 IMPLEMENT_GET_AND_SET_MAIN (TriggerTimeStamp_usec, uint32_t)
 
 IMPLEMENT_GET_AND_SET_MAIN (ClockSource, uint32_t)
 
 IMPLEMENT_GET_AND_SET_MAIN (TriggerOrigLength, uint32_t)
 
 IMPLEMENT_GET_AND_SET_MAIN (TriggerTimeStamp, uint64_t)
 
 IMPLEMENT_GET_AND_SET_MAIN (TriggerTimeStampTvUsec, suseconds_t)
 
 IMPLEMENT_GET_AND_SET_MAIN (TriggerTimeStampTvSec, time_t)
 
 IMPLEMENT_GET_AND_SET_MAIN (TriggerTimeStampTv, timeval)
 
 IMPLEMENT_FIGUREOUT_VERSION_STATIC (CURRENT_CLASS)
 

Public Attributes

 IMPLEMENT_MAIN_STANDARD
 

Protected Member Functions

 IMPLEMENT_SET_MAIN (Version, uint32_t)
 
bool setFunctionPointers ()
 

Detailed Description

Class to hold the data corresponding to the trigger mask.

The RawTriggerTime contains the information on the type of trigger that is being issued.

The class supports general initialization with an internal or external data buffer as well as copyin style initialization for use with STL containers.

Definition at line 36 of file RawTriggerTime.h.

Constructor & Destructor Documentation

daqdataformats::RawTriggerTime::RawTriggerTime ( const version_t  version = CURRENT_FIELDS_SUB_NAMESPACE::RAWTRIGGERTIME_LATEST_VERSION)

Constructor.

After this constructor the buffer pointer is set to the internal source.

Apply the default constructor

Definition at line 22 of file RawTriggerTime.cpp.

22  :
23  PREVIOUS_VERSION_CLASS_NAME(version)
24 {
25  INITIALIZE_DEBUGGING_VARIABLES;
26  /// Apply the default constructor
27  defaultConstructorFixedSize();
28 }
const XML_Char * version
Definition: expat.h:187
daqdataformats::RawTriggerTime::RawTriggerTime ( const RawTriggerTime copy_in)

Copyin Constructor.

Definition at line 31 of file RawTriggerTime.cpp.

31  :
32  PREVIOUS_VERSION_CLASS_NAME(copy_in)
33 {
34  INITIALIZE_DEBUGGING_VARIABLES;
35  lastOperationsInDeepCopy(copy_in);
36 }
daqdataformats::RawTriggerTime::RawTriggerTime ( const void buffer,
const version_t  version = rawdaqdataformat::DAQDATAFORMAT_UNKNOWN_VERSION 
)

Constructor with data intialization.

Use default Shallow copy constructor

Definition at line 39 of file RawTriggerTime.cpp.

39  :
40  PREVIOUS_VERSION_CLASS_NAME(version)
41 {
42  INITIALIZE_DEBUGGING_VARIABLES;
43  /// Use default Shallow copy constructor
44  copy(buffer);
45 }
::xsd::cxx::tree::buffer< char > buffer
Definition: Database.h:179
const XML_Char * version
Definition: expat.h:187
daqdataformats::RawTriggerTime::~RawTriggerTime ( )

Destructor.

Definition at line 47 of file RawTriggerTime.cpp.

47 { }

Member Function Documentation

daqdataformats::RawTriggerTime::IMPLEMENT_FIGUREOUT_VERSION_STATIC ( CURRENT_CLASS  )
daqdataformats::RawTriggerTime::IMPLEMENT_GET_AND_SET_MAIN ( TriggerTimeStampLow  ,
uint32_t   
)
daqdataformats::RawTriggerTime::IMPLEMENT_GET_AND_SET_MAIN ( TriggerTimeStampHigh  ,
uint32_t   
)
daqdataformats::RawTriggerTime::IMPLEMENT_GET_AND_SET_MAIN ( TriggerTimeStamp_sec  ,
uint32_t   
)
daqdataformats::RawTriggerTime::IMPLEMENT_GET_AND_SET_MAIN ( TriggerTimeStamp_usec  ,
uint32_t   
)
daqdataformats::RawTriggerTime::IMPLEMENT_GET_AND_SET_MAIN ( ClockSource  ,
uint32_t   
)
daqdataformats::RawTriggerTime::IMPLEMENT_GET_AND_SET_MAIN ( TriggerOrigLength  ,
uint32_t   
)
daqdataformats::RawTriggerTime::IMPLEMENT_GET_AND_SET_MAIN ( TriggerTimeStamp  ,
uint64_t   
)
daqdataformats::RawTriggerTime::IMPLEMENT_GET_AND_SET_MAIN ( TriggerTimeStampTvUsec  ,
suseconds_t   
)
daqdataformats::RawTriggerTime::IMPLEMENT_GET_AND_SET_MAIN ( TriggerTimeStampTvSec  ,
time_t   
)
daqdataformats::RawTriggerTime::IMPLEMENT_GET_AND_SET_MAIN ( TriggerTimeStampTv  ,
timeval   
)
daqdataformats::RawTriggerTime::IMPLEMENT_GET_MAIN ( Version  ,
uint32_t   
)
daqdataformats::RawTriggerTime::IMPLEMENT_SET_MAIN ( Version  ,
uint32_t   
)
protected
bool daqdataformats::RawTriggerTime::setFunctionPointers ( )
protected

Member Data Documentation

daqdataformats::RawTriggerTime::IMPLEMENT_MAIN_STANDARD

Definition at line 45 of file RawTriggerTime.h.


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