Template Frame for ARS data.
More...
#include <frame.hh>
|
static const unsigned int | Length () |
| Return length of an encoded frame preamble in bytes. More...
|
|
template<class T>
class Frame< T >
Template Frame for ARS data.
- Author
- cpellegrino
Definition at line 12 of file frame.hh.
◆ item_type
◆ Frame()
◆ getHeader()
Definition at line 18 of file frame.hh.
20 return static_cast<const DAQCommonHeader* const>(
21 static_cast<const void* const>(&front()));
◆ getPayload()
template<class T>
const char* const Frame< T >::getPayload |
( |
| ) |
const |
|
inline |
◆ getSeqNumber()
template<class T>
unsigned int Frame< T >::getSeqNumber |
( |
| ) |
const |
|
inline |
◆ getFrameLength()
template<class T>
unsigned int Frame< T >::getFrameLength |
( |
| ) |
const |
|
inline |
◆ getNItems()
template<class T>
unsigned int Frame< T >::getNItems |
( |
| ) |
const |
|
inline |
◆ operator+=()
operator +=
- Parameters
-
- Returns
- this frame
Definition at line 272 of file TimeSlice.hh.
◆ ClassDef() [1/2]
◆ frameTime()
◆ lcm_id()
const unsigned short DaqFramePreamble::lcm_id |
( |
| ) |
const |
|
inlineinherited |
◆ ars_id()
const unsigned short DaqFramePreamble::ars_id |
( |
| ) |
const |
|
inlineinherited |
◆ data_type()
const unsigned short DaqFramePreamble::data_type |
( |
| ) |
const |
|
inlineinherited |
◆ numberOfItems()
const unsigned short DaqFramePreamble::numberOfItems |
( |
| ) |
const |
|
inlineinherited |
get number of items
- Returns
- number of items
Definition at line 85 of file FramePreamble.hh.
◆ getdata()
virtual const unsigned char* DaqFramePreamble::getdata |
( |
| ) |
const |
|
inlinevirtualinherited |
Return a pointer to the frame data buffer.
The returned value points to the start of the frame preamble.
- Returns
- pointer to data
Definition at line 92 of file FramePreamble.hh.
◆ getdatalen()
virtual const unsigned int DaqFramePreamble::getdatalen |
( |
| ) |
const |
|
inlinevirtualinherited |
Return the length of the frame data buffer.
The returned value is in bytes (not words), and includes the frame preamble.
- Returns
- length of data
Definition at line 100 of file FramePreamble.hh.
◆ Length()
static const unsigned int DaqFramePreamble::Length |
( |
| ) |
|
|
inlinestaticinherited |
Return length of an encoded frame preamble in bytes.
Definition at line 111 of file FramePreamble.hh.
◆ ClassDef() [2/2]
◆ PuzzledFrame
◆ operator<<
template<class T>
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const Frame< T > & |
object |
|
) |
| |
|
friend |
Print ASCII.
- Parameters
-
out | output stream |
object | frame |
- Returns
- output stream
Definition at line 249 of file TimeSlice.hh.
253 out << static_cast<const DaqFramePreamble&>(
object);
255 if (!
object.empty()) {
256 out <<
' ' << *(
object. begin());
258 out <<
' ' << *(
object.rbegin());
◆ m_seqnumber
template<class T>
unsigned int Frame< T >::m_seqnumber |
|
private |
◆ frameSize
unsigned int DaqFramePreamble::frameSize |
|
inherited |
Total length of the frame in 4-byte words.
Definition at line 27 of file FramePreamble.hh.
◆ dataType
unsigned short DaqFramePreamble::dataType |
|
inherited |
◆ frameTarget
unsigned short DaqFramePreamble::frameTarget |
|
inherited |
Unique code representing the shore station for this frame.
Definition at line 33 of file FramePreamble.hh.
◆ frameTime1
unsigned int DaqFramePreamble::frameTime1 |
|
inherited |
◆ frameTime2
unsigned int DaqFramePreamble::frameTime2 |
|
inherited |
◆ frameIndex
unsigned int DaqFramePreamble::frameIndex |
|
inherited |
◆ status
unsigned short DaqFramePreamble::status |
|
inherited |
◆ nbItems
unsigned short DaqFramePreamble::nbItems |
|
inherited |
Number of items actually sent in this frame.
Definition at line 52 of file FramePreamble.hh.
◆ LCM_ID
unsigned short DaqFramePreamble::LCM_ID |
|
inherited |
◆ ARS_ID
unsigned short DaqFramePreamble::ARS_ID |
|
inherited |
◆ runNumber
unsigned int DaqFramePreamble::runNumber |
|
inherited |
The documentation for this class was generated from the following files: