GNU Radio 3.5.1 C++ API
|
i/o signature for input and output ports. More...
#include <gr_io_signature.h>
Public Member Functions | |
~gr_io_signature () | |
int | min_streams () const |
int | max_streams () const |
int | sizeof_stream_item (int index) const |
std::vector< int > | sizeof_stream_items () const |
Static Public Attributes | |
static const int | IO_INFINITE = -1 |
Friends | |
GR_CORE_API gr_io_signature_sptr | gr_make_io_signaturev (int min_streams, int max_streams, const std::vector< int > &sizeof_stream_items) |
Create an i/o signature. |
i/o signature for input and output ports.
misc
gr_io_signature::~gr_io_signature | ( | ) |
int gr_io_signature::max_streams | ( | ) | const [inline] |
int gr_io_signature::min_streams | ( | ) | const [inline] |
int gr_io_signature::sizeof_stream_item | ( | int | index | ) | const |
std::vector<int> gr_io_signature::sizeof_stream_items | ( | ) | const |
GR_CORE_API gr_io_signature_sptr gr_make_io_signaturev | ( | int | min_streams, |
int | max_streams, | ||
const std::vector< int > & | sizeof_stream_items | ||
) | [friend] |
Create an i/o signature.
min_streams | specify minimum number of streams (>= 0) |
max_streams | specify maximum number of streams (>= min_streams or -1 -> infinite) |
sizeof_stream_items | specify the size of the items in the streams |
If there are more streams than there are entries in sizeof_stream_items, the value of the last entry in sizeof_stream_items is used for the missing values. sizeof_stream_items must contain at least 1 entry.
const int gr_io_signature::IO_INFINITE = -1 [static] |