Class: VBox::SerialPort
- Inherits:
-
Base
- Object
- Base
- VBox::SerialPort
show all
- Defined in:
- lib/virtualbox/classes/serial_port.rb
Instance Attribute Summary
Attributes inherited from Base
#ref
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 Method Details
#enabled ⇒ Object
10
11
12
|
# File 'lib/virtualbox/classes/serial_port.rb', line 10
def enabled
VBox::WebService.send_request(:i_serial_port_get_enabled, _this)
end
|
#enabled=(enabled) ⇒ Object
14
15
16
|
# File 'lib/virtualbox/classes/serial_port.rb', line 14
def enabled=(enabled)
VBox::WebService.send_request(:i_serial_port_set_enabled, _this.merge(:enabled => enabled))
end
|
#host_mode ⇒ Object
34
35
36
|
# File 'lib/virtualbox/classes/serial_port.rb', line 34
def host_mode
VBox::WebService.send_request(:i_serial_port_get_host_mode, _this)
end
|
#host_mode=(host_mode) ⇒ Object
38
39
40
|
# File 'lib/virtualbox/classes/serial_port.rb', line 38
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
18
19
20
|
# File 'lib/virtualbox/classes/serial_port.rb', line 18
def io_base
VBox::WebService.send_request(:i_serial_port_get_io_base, _this)
end
|
#io_base=(io_base) ⇒ Object
22
23
24
|
# File 'lib/virtualbox/classes/serial_port.rb', line 22
def io_base=(io_base)
VBox::WebService.send_request(:i_serial_port_set_io_base, _this.merge(:io_base => io_base))
end
|
#irq ⇒ Object
26
27
28
|
# File 'lib/virtualbox/classes/serial_port.rb', line 26
def irq
VBox::WebService.send_request(:i_serial_port_get_irq, _this)
end
|
#irq=(irq) ⇒ Object
30
31
32
|
# File 'lib/virtualbox/classes/serial_port.rb', line 30
def irq=(irq)
VBox::WebService.send_request(:i_serial_port_set_irq, _this.merge(:irq => irq))
end
|
#path ⇒ Object
50
51
52
|
# File 'lib/virtualbox/classes/serial_port.rb', line 50
def path
VBox::WebService.send_request(:i_serial_port_get_path, _this)
end
|
#path=(path) ⇒ Object
54
55
56
|
# File 'lib/virtualbox/classes/serial_port.rb', line 54
def path=(path)
VBox::WebService.send_request(:i_serial_port_set_path, _this.merge(:path => path))
end
|
#server ⇒ Object
42
43
44
|
# File 'lib/virtualbox/classes/serial_port.rb', line 42
def server
VBox::WebService.send_request(:i_serial_port_get_server, _this)
end
|
#server=(server) ⇒ Object
46
47
48
|
# File 'lib/virtualbox/classes/serial_port.rb', line 46
def server=(server)
VBox::WebService.send_request(:i_serial_port_set_server, _this.merge(:server => server))
end
|
#slot ⇒ Object
6
7
8
|
# File 'lib/virtualbox/classes/serial_port.rb', line 6
def slot
VBox::WebService.send_request(:i_serial_port_get_slot, _this)
end
|