libsdr
0.1.0
A simple SDR library
|
The internal used message type. More...
#include <queue.hh>
Public Member Functions | |
Message (const RawBuffer &buffer, SinkBase *sink, bool allow_overwrite) | |
Constructor. More... | |
Message (const Message &other) | |
Copy constructor. More... | |
const Message & | operator= (const Message &other) |
Assignment operator. More... | |
const RawBuffer & | buffer () const |
Returns the buffer of the message. More... | |
RawBuffer & | buffer () |
Returns the buffer of the message. More... | |
SinkBase * | sink () const |
Returns the destination of the message. More... | |
bool | allowOverwrite () const |
If true, the sender allows to overwrite the content of the buffer. More... | |
Protected Attributes | |
RawBuffer | _buffer |
The buffer being send. More... | |
SinkBase * | _sink |
The destination. More... | |
bool | _allow_overwrite |
If true, the sender allows to overwrite the buffer. More... | |
The internal used message type.
|
inline |
Constructor.
|
inline |
Copy constructor.
|
inline |
If true, the sender allows to overwrite the content of the buffer.
|
inline |
Returns the buffer of the message.
|
inline |
Returns the buffer of the message.
|
inline |
Returns the destination of the message.
|
protected |
If true, the sender allows to overwrite the buffer.
|
protected |
The buffer being send.
|
protected |
The destination.