Class: VBox::SerialPort
- Inherits:
-
Base
- Object
- Base
- VBox::SerialPort
show all
- Defined in:
- lib/virtualbox/classes/serial_port.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Methods inherited from Base
#_this, #delete!, #ensure_hash, #initialize, #vbox_class
Constructor Details
This class inherits a constructor from VBox::Base
Instance Attribute Details
#ref ⇒ Object
Returns the value of attribute ref.
4
5
6
|
# File 'lib/virtualbox/classes/serial_port.rb', line 4
def ref
@ref
end
|
Instance Method Details
#enabled ⇒ Object
12
13
14
|
# File 'lib/virtualbox/classes/serial_port.rb', line 12
def enabled
VBox::WebService.send_request(:i_serial_port_get_enabled, _this)
end
|
#enabled=(enabled) ⇒ Object
16
17
18
|
# File 'lib/virtualbox/classes/serial_port.rb', line 16
def enabled=(enabled)
VBox::WebService.send_request(:i_serial_port_set_enabled, _this.merge(:enabled => enabled))
end
|
#host_mode ⇒ Object
36
37
38
|
# File 'lib/virtualbox/classes/serial_port.rb', line 36
def host_mode
VBox::WebService.send_request(:i_serial_port_get_host_mode, _this)
end
|
#host_mode=(host_mode) ⇒ Object
40
41
42
|
# File 'lib/virtualbox/classes/serial_port.rb', line 40
def host_mode=(host_mode)
VBox::WebService.send_request(:i_serial_port_set_host_mode, _this.merge(:host_mode => host_mode))
end
|
#io_base ⇒ Object
20
21
22
|
# File 'lib/virtualbox/classes/serial_port.rb', line 20
def io_base
VBox::WebService.send_request(:i_serial_port_get_io_base, _this)
end
|
#io_base=(io_base) ⇒ Object
24
25
26
|
# File 'lib/virtualbox/classes/serial_port.rb', line 24
def io_base=(io_base)
VBox::WebService.send_request(:i_serial_port_set_io_base, _this.merge(:io_base => io_base))
end
|
#irq ⇒ Object
28
29
30
|
# File 'lib/virtualbox/classes/serial_port.rb', line 28
def irq
VBox::WebService.send_request(:i_serial_port_get_irq, _this)
end
|
#irq=(irq) ⇒ Object
32
33
34
|
# File 'lib/virtualbox/classes/serial_port.rb', line 32
def irq=(irq)
VBox::WebService.send_request(:i_serial_port_set_irq, _this.merge(:irq => irq))
end
|
#path ⇒ Object
52
53
54
|
# File 'lib/virtualbox/classes/serial_port.rb', line 52
def path
VBox::WebService.send_request(:i_serial_port_get_path, _this)
end
|
#path=(path) ⇒ Object
56
57
58
|
# File 'lib/virtualbox/classes/serial_port.rb', line 56
def path=(path)
VBox::WebService.send_request(:i_serial_port_set_path, _this.merge(:path => path))
end
|
#server ⇒ Object
44
45
46
|
# File 'lib/virtualbox/classes/serial_port.rb', line 44
def server
VBox::WebService.send_request(:i_serial_port_get_server, _this)
end
|
#server=(server) ⇒ Object
48
49
50
|
# File 'lib/virtualbox/classes/serial_port.rb', line 48
def server=(server)
VBox::WebService.send_request(:i_serial_port_set_server, _this.merge(:server => server))
end
|
#slot ⇒ Object
8
9
10
|
# File 'lib/virtualbox/classes/serial_port.rb', line 8
def slot
VBox::WebService.send_request(:i_serial_port_get_slot, _this)
end
|