native_bt.component_source_borrow_output_port_by_name_const,
native_bt.component_source_borrow_output_port_by_index_const,
native_bt.component_source_get_output_port_count,
- bt2_port._OutputPort,
+ bt2_port._OutputPortConst,
)
native_bt.component_filter_borrow_output_port_by_name_const,
native_bt.component_filter_borrow_output_port_by_index_const,
native_bt.component_filter_get_output_port_count,
- bt2_port._OutputPort,
+ bt2_port._OutputPortConst,
)
@property
native_bt.component_filter_borrow_input_port_by_name_const,
native_bt.component_filter_borrow_input_port_by_index_const,
native_bt.component_filter_get_input_port_count,
- bt2_port._InputPort,
+ bt2_port._InputPortConst,
)
native_bt.component_sink_borrow_input_port_by_name_const,
native_bt.component_sink_borrow_input_port_by_index_const,
native_bt.component_sink_get_input_port_count,
- bt2_port._InputPort,
+ bt2_port._InputPortConst,
)
else:
other_port_type = native_bt.PORT_TYPE_OUTPUT
- other_port = bt2_port._create_from_ptr_and_get_ref(
+ other_port = bt2_port._create_from_const_ptr_and_get_ref(
other_port_ptr, other_port_type
)
self._user_port_connected(port, other_port)