11#ifndef INCLUDED_IO_SIGNATURE_H
12#define INCLUDED_IO_SIGNATURE_H
31 std::vector<int> d_sizeof_stream_item;
36 const std::vector<int>& sizeof_stream_items,
40 typedef std::shared_ptr<io_signature>
sptr;
42 static constexpr int IO_INFINITE = -1;
58 int sizeof_stream_item,
76 int sizeof_stream_item1,
77 int sizeof_stream_item2,
99 int sizeof_stream_item1,
100 int sizeof_stream_item2,
101 int sizeof_stream_item3,
104 buffer_type buftype3 = buffer_double_mapped::type);
119 makev(
int min_streams,
int max_streams,
const std::vector<int>& sizeof_stream_items);
137 const std::vector<int>& sizeof_stream_items,
Base class for describing a buffer's type.
Definition: buffer_type.h:30
i/o signature for input and output ports.
Definition: io_signature.h:28
int min_streams() const
Definition: io_signature.h:140
int sizeof_stream_item(int index) const
static sptr make3(int min_streams, int max_streams, int sizeof_stream_item1, int sizeof_stream_item2, int sizeof_stream_item3, buffer_type buftype1=buffer_double_mapped::type, buffer_type buftype2=buffer_double_mapped::type, buffer_type buftype3=buffer_double_mapped::type)
Create an i/o signature.
std::shared_ptr< io_signature > sptr
Definition: io_signature.h:40
static sptr make2(int min_streams, int max_streams, int sizeof_stream_item1, int sizeof_stream_item2, buffer_type buftype1=buffer_double_mapped::type, buffer_type buftype2=buffer_double_mapped::type)
Create an i/o signature.
gr_vector_buffer_type stream_buffer_types() const
static sptr makev(int min_streams, int max_streams, const std::vector< int > &sizeof_stream_items)
Create an i/o signature.
std::vector< int > sizeof_stream_items() const
buffer_type stream_buffer_type(size_t index) const
int max_streams() const
Definition: io_signature.h:141
static sptr makev(int min_streams, int max_streams, const std::vector< int > &sizeof_stream_items, gr_vector_buffer_type buftypes)
Create an i/o signature.
#define GR_RUNTIME_API
Definition: gnuradio-runtime/include/gnuradio/api.h:18
static sptr make(int min_streams, int max_streams, int sizeof_stream_item, buffer_type buftype=buffer_double_mapped::type)
Create an i/o signature.
GNU Radio logging wrapper.
Definition: basic_block.h:29
std::vector< std::reference_wrapper< const buffer_type_base > > gr_vector_buffer_type
Definition: buffer_type.h:88
Template used to create buffer types. Note that the factory_class parameter must contain a static fun...
Definition: buffer_type.h:96