GNU Radio 3.6.5 C++ API
|
#include <message_debug_impl.h>
Public Member Functions | |
message_debug_impl () | |
~message_debug_impl () | |
int | num_messages () |
Reports the number of messages received by this block. | |
pmt::pmt_t | get_message (int i) |
Get a message (as a PMT) from the message vector at index i . |
gr::blocks::message_debug_impl::message_debug_impl | ( | ) |
gr::blocks::message_debug_impl::~message_debug_impl | ( | ) |
pmt::pmt_t gr::blocks::message_debug_impl::get_message | ( | int | i | ) | [virtual] |
Get a message (as a PMT) from the message vector at index i
.
Messages passed to the 'store' port will be stored in a vector. This function retrieves those messages by index. They are index in order of when they were received (all messages are just pushed onto the back of a vector). This is mostly useful in debugging message passing graphs and in QA code.
i | The index in the vector for the message to retrieve. |
i
as a pmt_t. Implements gr::blocks::message_debug.
int gr::blocks::message_debug_impl::num_messages | ( | ) | [virtual] |
Reports the number of messages received by this block.
Implements gr::blocks::message_debug.