Method: Babeltrace2::BTSelfComponent::Source#get_output_port_by_name
- Defined in:
- lib/babeltrace2/graph/self-component.rb
#get_output_port_by_name(name) ⇒ Object
112 113 114 115 116 |
# File 'lib/babeltrace2/graph/self-component.rb', line 112 def get_output_port_by_name(name) handle = Babeltrace2.bt_self_component_source_borrow_output_port_by_name(@handle, name) return nil if handle.null? BTSelfComponentPortOutput.new(handle, retain: false, auto_release: false) end |