#include <puzzled_frame.hh>
|
static boost::atomic< unsigned int > | n_obj |
|
- Author
- cpellegrino
Definition at line 18 of file puzzled_frame.hh.
◆ container_t
◆ PuzzledFrame()
PuzzledFrame::PuzzledFrame |
( |
| ) |
|
|
inline |
Definition at line 41 of file puzzled_frame.hh.
static boost::atomic< unsigned int > n_obj
unsigned int m_detector_id
◆ ~PuzzledFrame()
PuzzledFrame::~PuzzledFrame |
( |
| ) |
|
|
inline |
◆ setTimer()
void PuzzledFrame::setTimer |
( |
const Timer & |
exp | ) |
|
|
inline |
Definition at line 58 of file puzzled_frame.hh.
void set(long int seconds, long int useconds)
◆ setSeqNumber()
void PuzzledFrame::setSeqNumber |
( |
unsigned int |
seqnumber | ) |
|
|
inline |
◆ setDataType()
void PuzzledFrame::setDataType |
( |
unsigned int |
datatype | ) |
|
|
inline |
◆ setDetectorId()
void PuzzledFrame::setDetectorId |
( |
unsigned int |
detector_id | ) |
|
|
inline |
◆ setFrameIndex()
void PuzzledFrame::setFrameIndex |
( |
frame_idx_t |
frame_idx | ) |
|
|
inline |
◆ insert()
Definition at line 61 of file puzzled_frame.cc.
66 container_t::const_iterator
const it =
m_container.find(idx);
69 LOG_DEBUG <<
"Datagram collision. idx: " << idx <<
'\n'
70 <<
"container.size(): " <<
m_container.size() <<
'\n'
const CLBCommonHeader * getCLBCommonHeader() const
uint32_t getUDPSequenceNumber() const
void putDataGram(CLBDataGram *p)
static InBufferCollector & getCollector()
void add(std::string const &tag)
void chrono_swap(chronometrable &input, chronometrable &output)
◆ hasExpired()
bool PuzzledFrame::hasExpired |
( |
| ) |
const |
|
inline |
◆ hasExpiredWrt()
bool PuzzledFrame::hasExpiredWrt |
( |
Timer const & |
t | ) |
const |
|
inline |
◆ getFrame()
void PuzzledFrame::getFrame |
( |
Frame & |
frame | ) |
|
Definition at line 304 of file puzzled_frame.cc.
310 =
m_container.begin()->second->getCLBCommonHeader();
316 if (frame_length < 0) {
317 LOG_DEBUG <<
"Anomalous frame size: " << frame_length <<
'\n'
327 frame.resize(frame_length);
353 ->getCLBCommonHeader()
354 ->udpSequenceNumber();
365 ||
m_container.begin()->second->getCLBCommonHeader()->udpSequenceNumber() == 0
370 <<
" contains too few data to be assembled. Ignored.";
378 if (
m_container.begin()->second->getUDPSequenceNumber() != 0) {
381 <<
" without infoword. Ignored.";
391 throw std::runtime_error(
"Unknown data type");
uint32_t frameDomStatus(int i=1) const
uint32_t frameLength() const
bool is_acoustic(unsigned int dt)
bool is_optical(unsigned int dt)
void chrono_set(chronometrable &chr)
void buildAcou(PuzzledFrame::container_t const &c, frame_idx_t frame_idx, Frame &frame)
uint32_t calculate_number_of_items(Frame const &frame)
void buildOpto(PuzzledFrame::container_t const &c, frame_idx_t frame_idx, Frame &frame)
◆ reset()
void PuzzledFrame::reset |
( |
| ) |
|
◆ frameLength()
uint32_t PuzzledFrame::frameLength |
( |
| ) |
const |
|
inline |
◆ frameDomStatus()
uint32_t PuzzledFrame::frameDomStatus |
( |
int |
i = 1 | ) |
const |
◆ m_container
◆ m_expiration
Timer PuzzledFrame::m_expiration |
|
private |
◆ m_seqnumber
unsigned int PuzzledFrame::m_seqnumber |
|
private |
◆ m_detector_id
unsigned int PuzzledFrame::m_detector_id |
|
private |
◆ m_datatype
unsigned int PuzzledFrame::m_datatype |
|
private |
◆ m_totalsize
unsigned int PuzzledFrame::m_totalsize |
|
private |
◆ m_frame_idx
◆ n_obj
boost::atomic< unsigned int > PuzzledFrame::n_obj |
|
static |
The documentation for this class was generated from the following files: