Jpp
17.0.0
the software that should make you happy
|
Template Frame for ARS data. More...
#include <frame.hh>
Public Types | |
typedef T | item_type |
item type definition More... | |
Public Member Functions | |
const DAQCommonHeader *const | getHeader () const |
const char *const | getPayload () const |
unsigned int | getSeqNumber () const |
unsigned int | getFrameLength () const |
unsigned int | getNItems () const |
Frame () | |
Default constructor. More... | |
Frame< T > & | operator+= (const Frame< T > &object) |
operator += More... | |
ClassDef (Frame, 2) | |
ROOT class definition. More... | |
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... | |
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... | |
Private Attributes | |
unsigned int | m_seqnumber |
Friends | |
class | PuzzledFrame |
std::ostream & | operator<< (std::ostream &out, const Frame &object) |
Print ASCII. More... | |
Template Frame for ARS data.
item type definition
Definition at line 233 of file TimeSlice.hh.
Default constructor.
Definition at line 238 of file TimeSlice.hh.
|
inline |
Definition at line 18 of file frame.hh.
Definition at line 24 of file frame.hh.
operator +=
object | frame |
Definition at line 272 of file TimeSlice.hh.
|
inlineinherited |
Definition at line 40 of file FramePreamble.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
get data type
Definition at line 79 of file FramePreamble.hh.
|
inlineinherited |
get number of items
Definition at line 85 of file FramePreamble.hh.
|
inlinevirtualinherited |
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.
|
inlinevirtualinherited |
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.
|
inlinestaticinherited |
Return length of an encoded frame preamble in bytes.
Definition at line 111 of file FramePreamble.hh.
|
inherited |
|
friend |
Print ASCII.
out | output stream |
object | frame |
Definition at line 249 of file TimeSlice.hh.
|
inherited |
Total length of the frame in 4-byte words.
Definition at line 27 of file FramePreamble.hh.
|
inherited |
Data type code (DAQ_xxx)
Definition at line 30 of file FramePreamble.hh.
|
inherited |
Unique code representing the shore station for this frame.
Definition at line 33 of file FramePreamble.hh.
|
inherited |
Frame 'time stamp' in units of 50ns (MSW)
Definition at line 36 of file FramePreamble.hh.
|
inherited |
Frame 'time stamp' in units of 50ns (LSW)
Definition at line 38 of file FramePreamble.hh.
|
inherited |
Number of frames since start of the run.
Definition at line 46 of file FramePreamble.hh.
|
inherited |
Status of frame Xon/Xoff.
Definition at line 49 of file FramePreamble.hh.
|
inherited |
Number of items actually sent in this frame.
Definition at line 52 of file FramePreamble.hh.
|
inherited |
ID of originating LCM.
Definition at line 55 of file FramePreamble.hh.
|
inherited |
ID of originating ARS.
Definition at line 58 of file FramePreamble.hh.
|
inherited |
Run-number as given by the RunControl.
Definition at line 61 of file FramePreamble.hh.