Class: VBox::CPUChangedEvent

Inherits:
Event show all
Defined in:
lib/virtualbox/classes/events/cpu_changed_event.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Event

#set_processed, #source, #type, #wait_processed, #waitable

Methods inherited from Base

#_this, #delete!, #ensure_hash, #initialize, #vbox_class

Constructor Details

This class inherits a constructor from VBox::Base

Instance Attribute Details

#refObject (readonly)

Returns the value of attribute ref.



4
5
6
# File 'lib/virtualbox/classes/events/cpu_changed_event.rb', line 4

def ref
  @ref
end

Instance Method Details

#addObject



12
13
14
# File 'lib/virtualbox/classes/events/cpu_changed_event.rb', line 12

def add
  VBox::WebService.send_request(:icpu_changed_event_get_add, _this)
end

#cpuObject

Attributes



8
9
10
# File 'lib/virtualbox/classes/events/cpu_changed_event.rb', line 8

def cpu
  VBox::WebService.send_request(:icpu_changed_event_get_cpu, _this)
end