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;
63 static sptr make(
int min_streams,
65 int sizeof_stream_item,
66 #ifdef FORCE_SINGLE_MAPPED
85 static sptr make2(
int min_streams,
87 int sizeof_stream_item1,
88 int sizeof_stream_item2,
89 #ifdef FORCE_SINGLE_MAPPED
113 static sptr make3(
int min_streams,
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);
157 static sptr makev(
int min_streams,
159 const std::vector<int>& sizeof_stream_items,
164 int sizeof_stream_item(
int index)
const;
165 std::vector<int> sizeof_stream_items()
const;
166 buffer_type stream_buffer_type(
size_t index)
const;
static buffer_type type
Definition: buffer_double_mapped.h:31
std::shared_ptr< io_signature > sptr
Definition: io_signature.h:47
int max_streams() const
Definition: io_signature.h:163
#define GR_RUNTIME_API
Definition: gnuradio-runtime/include/gnuradio/api.h:18
int min_streams() const
Definition: io_signature.h:162
GNU Radio logging wrapper.
Definition: basic_block.h:29
Template used to create buffer types. Note that the factory_class parameter must contain a static fun...
Definition: buffer_type.h:96
i/o signature for input and output ports.
Definition: io_signature.h:34
Base class for describing a buffer's type.
Definition: buffer_type.h:29
std::vector< std::reference_wrapper< const buffer_type_base > > gr_vector_buffer_type
Definition: buffer_type.h:88
static buffer_type type
Definition: host_buffer.h:24