RawMilliSliceIndexHeader.cpp
Go to the documentation of this file.
1 #include "DAQDataFormats/RawMilliSliceIndexHeader.h"
2 #include "DAQDataFormats/DataFormatException.h"
3 #include "DAQDataFormats/FunctionBind.h"
4 
5 namespace daqdataformats{
6 
7 //------------------------Constructors------------------------------------------
8 /// After this constructor the buffer pointer is set to the internal source
11 {
12 
13  /// Apply the default constructor
15 }
16 
17 //------------------------------------------------------------------------------
19  RawDAQData(copy_in)
20 {
21  lastOperationsInDeepCopy(copy_in);
22 }
23 
24 //------------------------------------------------------------------------------
25 // Constructing the nanoslice header form a pointer to an existing nanoslice header
26 RawMilliSliceIndexHeader::RawMilliSliceIndexHeader(const void* nanosliceheader_buffer):
28 {
29  /// Use default Shallow copy constructor
30  copy(nanosliceheader_buffer);
31 }
32 
33 //------------------------Destructor--------------------------------------------
35 
36 
37 }// end of namespace
#define sizeofdata_t
Definition: FunctionBind.h:30
virtual void copy(const RawDAQData &)
Deep copy from the DAQDataFormat.
Definition: RawDAQData.cpp:830
void lastOperationsInDeepCopy(const RawDAQData &copy_in)
Need to perform these operations in Deep Copy constructor.
Definition: RawDAQData.cpp:151
RawMilliSliceIndexHeader()
After this constructor the buffer pointer is set to the internal source.
Class to hold the data from the FEBs in correct formats.