Class: Babeltrace2::BTSelfMessageIterator::Configuration

Inherits:
Babeltrace2::BTObject show all
Defined in:
lib/babeltrace2/graph/self-message-iterator.rb

Instance Attribute Summary

Attributes inherited from Babeltrace2::BTObject

#handle

Instance Method Summary collapse

Methods inherited from Babeltrace2::BTObject

#==, #initialize, #to_ptr

Constructor Details

This class inherits a constructor from Babeltrace2::BTObject

Instance Method Details

#can_seek_forward=(can_seek_forward) ⇒ Object



139
140
141
142
143
# File 'lib/babeltrace2/graph/self-message-iterator.rb', line 139

def can_seek_forward=(can_seek_forward)
  Babeltrace2.bt_self_message_iterator_configuration_set_can_seek_forward(
    @handle, can_seek_forward ? BT_TRUE : BT_FALSE)
  can_seek_forward
end

#set_can_seek_forward(can_seek_forward) ⇒ Object



133
134
135
136
137
# File 'lib/babeltrace2/graph/self-message-iterator.rb', line 133

def set_can_seek_forward(can_seek_forward)
  Babeltrace2.bt_self_message_iterator_configuration_set_can_seek_forward(
    @handle, can_seek_forward ? BT_TRUE : BT_FALSE)
  self
end