GNU Radio 3.6.1 C++ API
|
Message class. More...
#include <gr_message.h>
Public Member Functions | |
~gr_message () | |
long | type () const |
double | arg1 () const |
double | arg2 () const |
void | set_type (long type) |
void | set_arg1 (double arg1) |
void | set_arg2 (double arg2) |
unsigned char * | msg () const |
size_t | length () const |
std::string | to_string () const |
Friends | |
class | gr_msg_queue |
GR_CORE_API gr_message_sptr | gr_make_message (long type, double arg1, double arg2, size_t length) |
public constructor for gr_message | |
GR_CORE_API gr_message_sptr | gr_make_message_from_string (const std::string s, long type, double arg1, double arg2) |
Message class.
The ideas and method names for adjustable message length were lifted from the click modular router "Packet" class.
gr_message::~gr_message | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
std::string gr_message::to_string | ( | ) | const |
|
inline |
|
friend |
public constructor for gr_message
|
friend |
|
friend |