11#ifndef INCLUDED_IO_SIGNATURE_H
12#define INCLUDED_IO_SIGNATURE_H
20#ifdef FORCE_SINGLE_MAPPED
38 std::vector<int> d_sizeof_stream_item;
43 const std::vector<int>& sizeof_stream_items,
47 typedef std::shared_ptr<io_signature>
sptr;
49 static constexpr int IO_INFINITE = -1;
65 int sizeof_stream_item,
66#ifdef FORCE_SINGLE_MAPPED
87 int sizeof_stream_item1,
88 int sizeof_stream_item2,
89#ifdef FORCE_SINGLE_MAPPED
115 int sizeof_stream_item1,
116 int sizeof_stream_item2,
117 int sizeof_stream_item3,
118#ifdef FORCE_SINGLE_MAPPED
141 makev(
int min_streams,
int max_streams,
const std::vector<int>& sizeof_stream_items);
159 const std::vector<int>& sizeof_stream_items,
static buffer_type type
Definition: buffer_double_mapped.h:31
Base class for describing a buffer's type.
Definition: buffer_type.h:30
static buffer_type type
Definition: host_buffer.h:24
i/o signature for input and output ports.
Definition: io_signature.h:35
int min_streams() const
Definition: io_signature.h:162
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:47
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:163
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