Message class. More...
#include <gnuradio/message.h>
| Public Types | |
| typedef std::shared_ptr< message > | sptr | 
| Public Member Functions | |
| ~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 | 
| Static Public Member Functions | |
| static sptr | make (long type=0, double arg1=0, double arg2=0, size_t length=0) | 
| public constructor for message | |
| static sptr | make_from_string (const std::string s, long type=0, double arg1=0, double arg2=0) | 
| Friends | |
| class | msg_queue | 
Message class.
The ideas and method names for adjustable message length were lifted from the click modular router "Packet" class.
| typedef std::shared_ptr<message> gr::message::sptr | 
| gr::message::~message | ( | ) | 
| 
 | inline | 
Referenced by make(), make_from_string(), and set_arg1().
| 
 | inline | 
Referenced by make(), make_from_string(), and set_arg2().
| 
 | inline | 
Referenced by make().
| 
 | static | 
| 
 | static | 
| 
 | inline | 
| 
 | inline | 
References arg1().
| 
 | inline | 
References arg2().
| 
 | inline | 
References type().
| std::string gr::message::to_string | ( | ) | const | 
| 
 | inline | 
Referenced by make(), make_from_string(), and set_type().