|
Jpp
16.0.1
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 More... | |
| const unsigned short | ars_id () const |
| get ARS idendifier More... | |
| const unsigned short | data_type () const |
| get data type More... | |
| const unsigned short | numberOfItems () const |
| get number of items More... | |
| virtual const unsigned char * | getdata () const |
| Return a pointer to the frame data buffer. More... | |
| virtual const unsigned int | getdatalen () const |
| Return the length of the frame data buffer. More... | |
| DaqFramePreamble () | |
| Construct an empty preamble object. More... | |
| virtual | ~DaqFramePreamble () |
| destructor More... | |
| ClassDef (DaqFramePreamble, 2) | |
Static Public Member Functions | |
| static const unsigned int | Length () |
| Return length of an encoded frame preamble in bytes. More... | |
Public Attributes | |
| unsigned int | frameSize |
| Total length of the frame in 4-byte words. More... | |
| unsigned short | dataType |
| Data type code (DAQ_xxx) More... | |
| unsigned short | frameTarget |
| Unique code representing the shore station for this frame. More... | |
| unsigned int | frameTime1 |
| Frame 'time stamp' in units of 50ns (MSW) More... | |
| unsigned int | frameTime2 |
| Frame 'time stamp' in units of 50ns (LSW) More... | |
| unsigned int | frameIndex |
| Number of frames since start of the run. More... | |
| unsigned short | status |
| Status of frame Xon/Xoff. More... | |
| unsigned short | nbItems |
| Number of items actually sent in this frame. More... | |
| unsigned short | LCM_ID |
| ID of originating LCM. More... | |
| unsigned short | ARS_ID |
| ID of originating ARS. More... | |
| unsigned int | runNumber |
| Run-number as given by the RunControl. More... | |
Friends | |
| std::ostream & | operator<< (std::ostream &out, const DaqFramePreamble &object) |
| Print ASCII. More... | |
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.
1.8.5