GNU Radio 3.6.5 C++ API

gr_io_signature Class Reference

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

#include <gr_io_signature.h>

List of all members.

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.

Detailed Description

i/o signature for input and output ports.

misc


Constructor & Destructor Documentation

gr_io_signature::~gr_io_signature ( )

Member Function Documentation

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

Friends And Related Function Documentation

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.

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.


Member Data Documentation

const int gr_io_signature::IO_INFINITE = -1 [static]

The documentation for this class was generated from the following file: