Module: Babeltrace2::BTSelfComponent::Port
Defined Under Namespace
Instance Method Summary collapse
- #get_component ⇒ Object (also: #component)
- #get_data ⇒ Object (also: #data)
Instance Method Details
#get_component ⇒ Object Also known as: component
13 14 15 16 |
# File 'lib/babeltrace2/graph/self-component-port.rb', line 13 def get_component handle = Babeltrace2.bt_self_component_port_borrow_component(@handle) BTSelfComponent.from_handle(handle) end |
#get_data ⇒ Object Also known as: data
19 20 21 |
# File 'lib/babeltrace2/graph/self-component-port.rb', line 19 def get_data Babeltrace2.bt_self_component_port_get_data(@handle) end |