20 #ifndef _PORT_INFO_HPP_
21 #define _PORT_INFO_HPP_ 1
31 #include "ringbuffertypes.hpp"
32 #include "port_info_types.hpp"
49 PortInfo(
const std::type_info &the_type ) :
type( the_type )
54 PortInfo(
const std::type_info &the_type,
56 const std::size_t nitems,
57 const std::size_t start_index ) :
type( the_type ),
58 existing_buffer( ptr ),
60 start_index( start_index )
68 fifo_a = other.fifo_a;
69 fifo_b = other.fifo_b;
71 my_kernel = other.my_kernel;
72 my_name = other.my_name;
73 other_kernel = other.other_kernel;
74 other_name = other.other_name;
75 out_of_order = other.out_of_order;
76 existing_buffer= other.existing_buffer;
77 nitems = other.nitems;
78 start_index = other.start_index;
98 }copy = { fifo_a, fifo_b };
99 while( copy.a != copy.b )
114 assert( in !=
nullptr );
119 FIFO *fifo_a =
nullptr;
120 FIFO *fifo_b =
nullptr;
135 std::map< Type::RingBufferType , instr_map_t* >
const_map;
138 std::string my_name =
"";
141 std::string other_name =
"";
142 bool use_my_allocator=
false;
143 bool out_of_order =
false;
144 void *existing_buffer =
nullptr;
145 std::size_t nitems = 0;
146 std::size_t start_index = 0;
std::map< Type::RingBufferType, instr_map_t * > const_map
Definition: port_info.hpp:135
virtual ~PortInfo()
Definition: port_info.hpp:81
PortInfo()
Definition: port_info.hpp:41
FIFO * getFIFO()
Definition: port_info.hpp:93
Definition: port_info.hpp:39
void setFIFO(FIFO *in)
Definition: port_info.hpp:112
std::type_index type
Definition: port_info.hpp:125
Definition: kernel.hpp:48
Definition: globalmap.cpp:3