#include <Block.h>
Public Member Functions | |
BlockHeader (const uint32_t *data) | |
BlockHeader (unsigned int id, unsigned int size, unsigned int capID=0, unsigned int flags=0, block_t type=MP7) | |
unsigned int | getCapID () const |
unsigned int | getFlags () const |
unsigned int | getID () const |
unsigned int | getSize () const |
block_t | getType () const |
bool | operator< (const BlockHeader &o) const |
uint32_t | raw () const |
Private Attributes | |
unsigned int | capID_ |
unsigned int | flags_ |
unsigned int | id_ |
unsigned int | size_ |
block_t | type_ |
Static Private Attributes | |
static constexpr unsigned | capID_mask = 0xff |
static constexpr unsigned | capID_shift = 8 |
static constexpr unsigned | CTP7_mask = 0xffff |
static constexpr unsigned | CTP7_shift = 0 |
static constexpr unsigned | flags_mask = 0xff |
static constexpr unsigned | flags_shift = 0 |
static constexpr unsigned | ID_mask = 0xff |
static constexpr unsigned | ID_shift = 24 |
static constexpr unsigned | size_mask = 0xff |
static constexpr unsigned | size_shift = 16 |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
uint32_t l1t::BlockHeader::raw | ( | ) | const |
Definition at line 25 of file Block.cc.
References capID_, capID_mask, capID_shift, l1t::CTP7, flags_, flags_mask, flags_shift, id_, ID_mask, ID_shift, LogTrace, l1t::MP7, size_, size_mask, size_shift, and type_.
|
private |
Definition at line 49 of file Block.h.
Referenced by getCapID(), and raw().
|
staticconstexprprivate |
|
staticconstexprprivate |
|
staticconstexprprivate |
|
staticconstexprprivate |
|
private |
Definition at line 50 of file Block.h.
Referenced by getFlags(), and raw().
|
staticconstexprprivate |
|
staticconstexprprivate |
|
private |
|
staticconstexprprivate |
|
staticconstexprprivate |
|
private |
|
staticconstexprprivate |
|
staticconstexprprivate |
|
private |
Definition at line 51 of file Block.h.
Referenced by Modules.Service::__str__(), Modules.Service::_placeImpl(), Modules.ESSource::_placeImpl(), Modules.ESProducer::_placeImpl(), Modules.ESPrefer::copy(), Mixins._TypedParameterizable::dumpPython(), Modules.ESPrefer::dumpPythonAs(), Modules.Service::dumpSequencePython(), getType(), RandomRunSource.RandomRunSource::insertInto(), Modules.Service::insertInto(), ExternalGeneratorFilter.ExternalGeneratorFilter::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::moduleLabel_(), Modules.ESProducer::moduleLabel_(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), Modules.ESPrefer::nameInProcessDesc_(), and raw().