#include <gr_message.h>
The ideas and method names for adjustable message length were lifted from the click modular router "Packet" class.
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 * | data () const |
unsigned char * | end_data () const |
size_t | length () const |
size_t | headroom () const |
size_t | tailroom () const |
unsigned char * | buffer_data () const |
size_t | buffer_length () const |
void | pull (size_t nb) |
void | take (size_t nb) |
Friends | |
class | gr_msg_queue |
gr_message_sptr | gr_make_message (long type, double arg1, double arg2, size_t length) |
public constructor for gr_message |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public constructor for gr_message
|
|
|