|
lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
|
32-bit source word: bits 31:28 hold a Level::Type and bits 27:0 a value. More...
#include <Src.hh>
Inherited by XtcData::NamesId, and psalg::shmem::ProcInfo.
Public Member Functions | |
| Src (Level::Type level=Level::Segment) | |
| Set the level bits to level and the value bits to 0. | |
| Src (unsigned value, Level::Type level=Level::Segment) | |
| Store value & 0x0fffffff in bits 27:0 and level in bits 31:28. | |
| Level::Type | level () const |
| Return bits 31:28 as a Level::Type. | |
| unsigned | value () const |
| Return bits 27:0. | |
Protected Attributes | |
| uint32_t | _value |
32-bit source word: bits 31:28 hold a Level::Type and bits 27:0 a value.
|
inline |
Set the level bits to level and the value bits to 0.
|
inline |
Store value & 0x0fffffff in bits 27:0 and level in bits 31:28.
|
inline |
Return bits 31:28 as a Level::Type.
|
inline |
Return bits 27:0.
|
protected |