Jpp 19.3.0-rc.3
the software that should make you happy
|
This object holds the information from the 'preamble' of a data frame. More...
#include <FramePreamble.hh>
Public Member Functions | |
ulonglong | frameTime () |
const unsigned short | lcm_id () const |
get LCM idendifier | |
const unsigned short | ars_id () const |
get ARS idendifier | |
const unsigned short | data_type () const |
get data type | |
const unsigned short | numberOfItems () const |
get number of items | |
virtual const unsigned char * | getdata () const |
Return a pointer to the frame data buffer. | |
virtual const unsigned int | getdatalen () const |
Return the length of the frame data buffer. | |
DaqFramePreamble () | |
Construct an empty preamble object. | |
virtual | ~DaqFramePreamble () |
destructor | |
ClassDef (DaqFramePreamble, 2) | |
Static Public Member Functions | |
static const unsigned int | Length () |
Return length of an encoded frame preamble in bytes. | |
Public Attributes | |
unsigned int | frameSize |
Total length of the frame in 4-byte words. | |
unsigned short | dataType |
Data type code (DAQ_xxx) | |
unsigned short | frameTarget |
Unique code representing the shore station for this frame. | |
unsigned int | frameTime1 |
Frame 'time stamp' in units of 50ns (MSW) | |
unsigned int | frameTime2 |
Frame 'time stamp' in units of 50ns (LSW) | |
unsigned int | frameIndex |
Number of frames since start of the run. | |
unsigned short | status |
Status of frame Xon/Xoff. | |
unsigned short | nbItems |
Number of items actually sent in this frame. | |
unsigned short | LCM_ID |
ID of originating LCM. | |
unsigned short | ARS_ID |
ID of originating ARS. | |
unsigned int | runNumber |
Run-number as given by the RunControl. | |
Friends | |
std::ostream & | operator<< (std::ostream &out, const DaqFramePreamble &object) |
Print ASCII. | |
This object holds the information from the 'preamble' of a data frame.
Definition at line 23 of file FramePreamble.hh.
|
inline |
|
inlinevirtual |
|
inline |
Definition at line 40 of file FramePreamble.hh.
|
inline |
|
inline |
|
inline |
get data type
Definition at line 79 of file FramePreamble.hh.
|
inline |
get number of items
Definition at line 85 of file FramePreamble.hh.
|
inlinevirtual |
Return a pointer to the frame data buffer.
The returned value points to the start of the frame preamble.
Definition at line 92 of file FramePreamble.hh.
|
inlinevirtual |
Return the length of the frame data buffer.
The returned value is in bytes (not words), and includes the frame preamble.
Definition at line 100 of file FramePreamble.hh.
|
inlinestatic |
Return length of an encoded frame preamble in bytes.
Definition at line 111 of file FramePreamble.hh.
DaqFramePreamble::ClassDef | ( | DaqFramePreamble | , |
2 | ) |
|
friend |
Print ASCII.
out | output stream |
object | frame preamble |
Definition at line 120 of file FramePreamble.hh.
unsigned int DaqFramePreamble::frameSize |
Total length of the frame in 4-byte words.
Definition at line 27 of file FramePreamble.hh.
unsigned short DaqFramePreamble::dataType |
Data type code (DAQ_xxx)
Definition at line 30 of file FramePreamble.hh.
unsigned short DaqFramePreamble::frameTarget |
Unique code representing the shore station for this frame.
Definition at line 33 of file FramePreamble.hh.
unsigned int DaqFramePreamble::frameTime1 |
Frame 'time stamp' in units of 50ns (MSW)
Definition at line 36 of file FramePreamble.hh.
unsigned int DaqFramePreamble::frameTime2 |
Frame 'time stamp' in units of 50ns (LSW)
Definition at line 38 of file FramePreamble.hh.
unsigned int DaqFramePreamble::frameIndex |
Number of frames since start of the run.
Definition at line 46 of file FramePreamble.hh.
unsigned short DaqFramePreamble::status |
Status of frame Xon/Xoff.
Definition at line 49 of file FramePreamble.hh.
unsigned short DaqFramePreamble::nbItems |
Number of items actually sent in this frame.
Definition at line 52 of file FramePreamble.hh.
unsigned short DaqFramePreamble::LCM_ID |
ID of originating LCM.
Definition at line 55 of file FramePreamble.hh.
unsigned short DaqFramePreamble::ARS_ID |
ID of originating ARS.
Definition at line 58 of file FramePreamble.hh.
unsigned int DaqFramePreamble::runNumber |
Run-number as given by the RunControl.
Definition at line 61 of file FramePreamble.hh.