DABC (Data Acquisition Backbone Core)
2.9.9
|
MBS buffer header. More...
#include <mbs/MbsTypeDefs.h>
Public Member Functions | |
uint32_t | BufferLength () const |
void | Init (bool newformat) |
bool | IsCorrectEndian () const |
void | SetEndian () |
void | SetUsedBufferSize (uint32_t len) |
uint32_t | UsedBufferSize () const |
Public Member Functions inherited from mbs::Header | |
uint32_t | FullSize () const |
uint32_t | FullType () const |
bool | isFullType (uint32_t typ) const |
bool | isTypePair (unsigned typ, unsigned subtyp) const |
void | SetFullSize (uint32_t sz) |
void | SetFullType (uint32_t typ) |
void | SetTypePair (unsigned typ, unsigned subtyp) |
uint16_t | SubType () const |
uint16_t | Type () const |
Data Fields | |
union { | |
struct { | |
int8_t h_begin | |
int8_t h_end | |
int16_t i_used | |
} | |
int32_t iUsed | |
}; | |
int32_t | iBufferId |
int32_t | iEndian |
int32_t | iFree3 |
int32_t | iLast |
int32_t | iNanosec |
int32_t | iNumEvents |
int32_t | iSeconds |
int32_t | iTemp |
int32_t | iUsedWords |
Data Fields inherited from mbs::Header | |
union { | |
struct { | |
uint16_t i_subtype | |
uint16_t i_type | |
} | |
uint32_t iType | |
}; | |
uint32_t | iWords |
MBS buffer header.
Used in LMD files, written by MBS directly. Not used in DABC
Definition at line 152 of file MbsTypeDefs.h.
void mbs::BufferHeader::Init | ( | bool | newformat | ) |
Definition at line 122 of file MbsTypeDefs.cxx.
uint32_t mbs::BufferHeader::BufferLength | ( | ) | const |
Definition at line 138 of file MbsTypeDefs.cxx.
uint32_t mbs::BufferHeader::UsedBufferSize | ( | ) | const |
Definition at line 152 of file MbsTypeDefs.cxx.
void mbs::BufferHeader::SetUsedBufferSize | ( | uint32_t | len | ) |
Definition at line 168 of file MbsTypeDefs.cxx.
|
inline |
Definition at line 187 of file MbsTypeDefs.h.
|
inline |
Definition at line 188 of file MbsTypeDefs.h.
int16_t mbs::BufferHeader::i_used |
Definition at line 156 of file MbsTypeDefs.h.
int8_t mbs::BufferHeader::h_begin |
Definition at line 157 of file MbsTypeDefs.h.
int8_t mbs::BufferHeader::h_end |
Definition at line 158 of file MbsTypeDefs.h.
int32_t mbs::BufferHeader::iUsed |
Definition at line 165 of file MbsTypeDefs.h.
union { ... } |
int32_t mbs::BufferHeader::iBufferId |
Definition at line 168 of file MbsTypeDefs.h.
int32_t mbs::BufferHeader::iNumEvents |
Definition at line 169 of file MbsTypeDefs.h.
int32_t mbs::BufferHeader::iTemp |
Definition at line 170 of file MbsTypeDefs.h.
int32_t mbs::BufferHeader::iSeconds |
Definition at line 171 of file MbsTypeDefs.h.
int32_t mbs::BufferHeader::iNanosec |
Definition at line 172 of file MbsTypeDefs.h.
int32_t mbs::BufferHeader::iEndian |
Definition at line 173 of file MbsTypeDefs.h.
int32_t mbs::BufferHeader::iLast |
Definition at line 174 of file MbsTypeDefs.h.
int32_t mbs::BufferHeader::iUsedWords |
Definition at line 175 of file MbsTypeDefs.h.
int32_t mbs::BufferHeader::iFree3 |
Definition at line 176 of file MbsTypeDefs.h.