Public Member Functions | Private Member Functions | List of all members
daqdataformats::RawSummaryDCMData Class Reference

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

Inheritance diagram for daqdataformats::RawSummaryDCMData:

Public Member Functions

 RawSummaryDCMData (const version_t version=summarydcmdatahdr::RAWSUMMARYDCMDATA_LATEST_VERSION)
 
 RawSummaryDCMData (const RawSummaryDCMData &copy_in)
 The default constructor. More...
 
 RawSummaryDCMData (const void *dcmdata_buffer, const version_t version=rawdaqdataformat::DAQDATAFORMAT_UNKNOWN_VERSION, const uint32_t buffersize=DEFAULT_DCMDATA_SIZE)
 Deep copy constructor. More...
 
 ~RawSummaryDCMData ()
 Destructor. More...
 
IMPLEMENT_MAIN_STANDARD IMPLEMENT_MAIN_setBufferSource IMPLEMENT_GET_MAIN (Version, uint32_t)
 
bool addMissingDCMs (const std::list< std::pair< uint64_t, uint16_t > > &dcmlist)
 
bool addMissingMicroslices (const std::list< std::pair< uint64_t, uint16_t > > &mslist)
 
bool addCorruptMicroslices (const std::list< std::pair< uint64_t, uint16_t > > &mslist)
 
bool addDataPoints (const std::list< std::pair< uint64_t, uint16_t > > &list[[gnu::unused]], uint8_t type[[gnu::unused]])
 

Private Member Functions

bool setFunctionPointers ()
 

Detailed Description

Definition at line 25 of file RawSummaryDCMData.h.

Constructor & Destructor Documentation

daqdataformats::RawSummaryDCMData::RawSummaryDCMData ( const version_t  version = summarydcmdatahdr::RAWSUMMARYDCMDATA_LATEST_VERSION)

Definition at line 22 of file RawSummaryDCMData.cpp.

References daqdataformats::DEFAULT_DCMDATA_SIZE.

22  :
23  PREVIOUS_VERSION_CLASS_NAME(version)
24 {
25  INITIALIZE_DEBUGGING_VARIABLES;
26  reserveInternalBuffer(DEFAULT_DCMDATA_SIZE);
27  defaultConstructorFloatingSize();
28 }
const XML_Char * version
Definition: expat.h:187
static const uint32_t DEFAULT_DCMDATA_SIZE
daqdataformats::RawSummaryDCMData::RawSummaryDCMData ( const RawSummaryDCMData copy_in)

The default constructor.

Definition at line 30 of file RawSummaryDCMData.cpp.

30  :
31  PREVIOUS_VERSION_CLASS_NAME(copy_in)
32 {
33  INITIALIZE_DEBUGGING_VARIABLES;
34  lastOperationsInDeepCopy(copy_in);
35 }
daqdataformats::RawSummaryDCMData::RawSummaryDCMData ( const void dcmdata_buffer,
const version_t  version = rawdaqdataformat::DAQDATAFORMAT_UNKNOWN_VERSION,
const uint32_t  buffersize = DEFAULT_DCMDATA_SIZE 
)

Deep copy constructor.

Definition at line 38 of file RawSummaryDCMData.cpp.

38  :
39  PREVIOUS_VERSION_CLASS_NAME(version)
40 {
41  INITIALIZE_DEBUGGING_VARIABLES;
42  reserveInternalBuffer(buffersize);
43  copy(buffer);
44 }
::xsd::cxx::tree::buffer< char > buffer
Definition: Database.h:179
const XML_Char * version
Definition: expat.h:187
daqdataformats::RawSummaryDCMData::~RawSummaryDCMData ( )

Destructor.

Shallow copy constructor

Definition at line 47 of file RawSummaryDCMData.cpp.

47 { }

Member Function Documentation

bool daqdataformats::RawSummaryDCMData::addCorruptMicroslices ( const std::list< std::pair< uint64_t, uint16_t > > &  mslist)
inline

Definition at line 45 of file RawSummaryDCMData.h.

References addDataPoints(), daqdataformats::DCMDataPointType_CorruptMicroslice, and RETURN_FUNCTION.

#define RETURN_FUNCTION(FULLFUNCTIONNAME)
Definition: Macros.h:57
bool addDataPoints(const std::list< std::pair< uint64_t, uint16_t > > &list[[gnu::unused]], uint8_t type[[gnu::unused]])
bool daqdataformats::RawSummaryDCMData::addDataPoints ( const std::list< std::pair< uint64_t, uint16_t > > &list]  [[gnu::unused],
uint8_t type [[gnu::unused] 
)
inline

Definition at line 48 of file RawSummaryDCMData.h.

References setFunctionPointers().

Referenced by addCorruptMicroslices(), addMissingDCMs(), and addMissingMicroslices().

49  {return functionIsNotAllowed(__FUNCTION__, "Function is private."); }
bool daqdataformats::RawSummaryDCMData::addMissingDCMs ( const std::list< std::pair< uint64_t, uint16_t > > &  dcmlist)
inline

Definition at line 41 of file RawSummaryDCMData.h.

References addDataPoints(), daqdataformats::DCMDataPointType_MissingDCM, febshutoff_auto::dcmlist, and RETURN_FUNCTION.

#define RETURN_FUNCTION(FULLFUNCTIONNAME)
Definition: Macros.h:57
bool addDataPoints(const std::list< std::pair< uint64_t, uint16_t > > &list[[gnu::unused]], uint8_t type[[gnu::unused]])
bool daqdataformats::RawSummaryDCMData::addMissingMicroslices ( const std::list< std::pair< uint64_t, uint16_t > > &  mslist)
inline

Definition at line 43 of file RawSummaryDCMData.h.

References addDataPoints(), daqdataformats::DCMDataPointType_MissingMicroslice, and RETURN_FUNCTION.

#define RETURN_FUNCTION(FULLFUNCTIONNAME)
Definition: Macros.h:57
bool addDataPoints(const std::list< std::pair< uint64_t, uint16_t > > &list[[gnu::unused]], uint8_t type[[gnu::unused]])
IMPLEMENT_MAIN_STANDARD IMPLEMENT_MAIN_setBufferSource daqdataformats::RawSummaryDCMData::IMPLEMENT_GET_MAIN ( Version  ,
uint32_t   
)
bool daqdataformats::RawSummaryDCMData::setFunctionPointers ( )
private

Referenced by addDataPoints().


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