44 std::string role,
unsigned int in_streams,
45 unsigned int out_streams);
47 ~ByteToShort() =
default;
49 inline std::string role()
override
57 return "Byte_To_Short";
60 inline size_t item_size()
override
62 return sizeof(int8_t);
65 void connect(gr::top_block_sptr top_block)
override;
66 void disconnect(gr::top_block_sptr top_block)
override;
67 gr::basic_block_sptr get_left_block()
override;
68 gr::basic_block_sptr get_right_block()
override;
71 gr::blocks::char_to_short::sptr gr_char_to_short_;
72 gr::blocks::file_sink::sptr file_sink_;
73 std::string dump_filename_;
74 std::string input_item_type_;
75 std::string output_item_type_;
77 unsigned int in_streams_;
78 unsigned int out_streams_;