artdaq_mfextensions  v1_03_03a
msg_iter_t Class Reference

Iterator for the msgs_t type More...

#include <mfextensions/Receivers/qt_mf_msg.hh>

Public Member Functions

 msg_iter_t (msgs_t::iterator it)
 Construct a msg_iter_t More...
 
bool operator== (msg_iter_t const &other) const
 Equality operator. Equality is based on the message's sequence number More...
 
bool operator< (msg_iter_t const &other) const
 Comparison operator, based on message sequence number More...
 
msgs_t::iterator get () const
 Get the wrapper iterator More...
 

Detailed Description

Iterator for the msgs_t type

Definition at line 172 of file qt_mf_msg.hh.

Constructor & Destructor Documentation

msg_iter_t::msg_iter_t ( msgs_t::iterator  it)
inline

Construct a msg_iter_t

Parameters
itIterator to msgs_t list

Definition at line 178 of file qt_mf_msg.hh.

Member Function Documentation

msgs_t::iterator msg_iter_t::get ( ) const
inline

Get the wrapper iterator

Returns
msgs_t::iterator

Definition at line 201 of file qt_mf_msg.hh.

bool msg_iter_t::operator< ( msg_iter_t const &  other) const
inline

Comparison operator, based on message sequence number

Parameters
othermsg_iter_t to compare
Returns
seq() < other.seq()

Definition at line 195 of file qt_mf_msg.hh.

bool msg_iter_t::operator== ( msg_iter_t const &  other) const
inline

Equality operator. Equality is based on the message's sequence number

Parameters
othermsg_iter_t to check for equality
Returns
True if both messages have the same sequence id

Definition at line 188 of file qt_mf_msg.hh.


The documentation for this class was generated from the following file: