|
u_int8_t | preamble [2] {rehdrVersionNibble, 0} |
|
u_int16_t | dataId {0} |
|
u_int32_t | bufferOffset {0} |
|
u_int32_t | bufferLength {0} |
|
EventNum_t | eventNum {0} |
|
◆ get_bufferLength()
u_int32_t e2sar::REHdr::get_bufferLength |
( |
| ) |
const |
|
inline |
get buffer length in host byte order
◆ get_bufferOffset()
u_int32_t e2sar::REHdr::get_bufferOffset |
( |
| ) |
const |
|
inline |
get buffer offset in host byte order
◆ get_dataId()
u_int16_t e2sar::REHdr::get_dataId |
( |
| ) |
const |
|
inline |
get data id in host byte order
◆ get_eventNum()
EventNum_t e2sar::REHdr::get_eventNum |
( |
| ) |
const |
|
inline |
Get event number on host byte order
◆ get_Fields()
const boost::tuple< u_int16_t, u_int32_t, u_int32_t, EventNum_t > e2sar::REHdr::get_Fields |
( |
| ) |
const |
|
inline |
Convenience method to get all fields in host byte order. Best way to use it is u_int16_t myDataId;
u_int32_t myBufferOffset; u_int32_t myBufferLength; EventNum_t myEventNum;
boost::tie(myDataId, myBufferOffset, myBufferLength, myEventNum) = rehdr.get_fields();
◆ set()
void e2sar::REHdr::set |
( |
u_int16_t | data_id, |
|
|
u_int32_t | buff_off, |
|
|
u_int32_t | buff_len, |
|
|
EventNum_t | event_num ) |
|
inline |
Set all fields to network/big-endian byte order values
The documentation for this struct was generated from the following file: