GNU Radio 3.6.5 C++ API

gr_io_signature.h File Reference

#include <gr_core_api.h>
#include <gr_runtime_types.h>

Go to the source code of this file.

Classes

class  gr_io_signature
 i/o signature for input and output ports. More...

Functions

GR_CORE_API gr_io_signature_sptr gr_make_io_signature (int min_streams, int max_streams, int sizeof_stream_item)
 Create an i/o signature.
GR_CORE_API gr_io_signature_sptr gr_make_io_signature2 (int min_streams, int max_streams, int sizeof_stream_item1, int sizeof_stream_item2)
 Create an i/o signature.
GR_CORE_API gr_io_signature_sptr gr_make_io_signature3 (int min_streams, int max_streams, int sizeof_stream_item1, int sizeof_stream_item2, int sizeof_stream_item3)
 Create an i/o signature.
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.

Function Documentation

GR_CORE_API gr_io_signature_sptr gr_make_io_signature2 ( int  min_streams,
int  max_streams,
int  sizeof_stream_item1,
int  sizeof_stream_item2 
)

Create an i/o signature.

Parameters:
min_streamsspecify minimum number of streams (>= 0)
max_streamsspecify maximum number of streams (>= min_streams or -1 -> infinite)
sizeof_stream_item1specify the size of the items in the first stream
sizeof_stream_item2specify the size of the items in the second and subsequent streams
GR_CORE_API gr_io_signature_sptr gr_make_io_signature3 ( int  min_streams,
int  max_streams,
int  sizeof_stream_item1,
int  sizeof_stream_item2,
int  sizeof_stream_item3 
)

Create an i/o signature.

Parameters:
min_streamsspecify minimum number of streams (>= 0)
max_streamsspecify maximum number of streams (>= min_streams or -1 -> infinite)
sizeof_stream_item1specify the size of the items in the first stream
sizeof_stream_item2specify the size of the items in the second stream
sizeof_stream_item3specify the size of the items in the third and subsequent streams
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.

Parameters:
min_streamsspecify minimum number of streams (>= 0)
max_streamsspecify maximum number of streams (>= min_streams or -1 -> infinite)
sizeof_stream_itemsspecify 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.