Class: VBox::ParallelPort
- Inherits:
-
Base
- Object
- Base
- VBox::ParallelPort
show all
- Defined in:
- lib/virtualbox/classes/parallel_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/parallel_port.rb', line 10
def enabled
VBox::WebService.send_request(:i_parallel_port_get_enabled, _this)
end
|
#enabled=(enabled) ⇒ Object
14
15
16
|
# File 'lib/virtualbox/classes/parallel_port.rb', line 14
def enabled=(enabled)
VBox::WebService.send_request(:i_parallel_port_set_enabled, _this.merge(:enabled => enabled))
end
|
#io_base ⇒ Object
18
19
20
|
# File 'lib/virtualbox/classes/parallel_port.rb', line 18
def io_base
VBox::WebService.send_request(:i_parallel_port_get_io_base, _this)
end
|
#io_base=(io_base) ⇒ Object
22
23
24
|
# File 'lib/virtualbox/classes/parallel_port.rb', line 22
def io_base=(io_base)
VBox::WebService.send_request(:i_parallel_port_set_io_base, _this.merge(:io_base => io_base))
end
|
#irq ⇒ Object
26
27
28
|
# File 'lib/virtualbox/classes/parallel_port.rb', line 26
def irq
VBox::WebService.send_request(:i_parallel_port_get_irq, _this)
end
|
#irq=(irq) ⇒ Object
30
31
32
|
# File 'lib/virtualbox/classes/parallel_port.rb', line 30
def irq=(irq)
VBox::WebService.send_request(:i_parallel_port_set_irq, _this.merge(:irq => irq))
end
|
#path ⇒ Object
34
35
36
|
# File 'lib/virtualbox/classes/parallel_port.rb', line 34
def path
VBox::WebService.send_request(:i_parallel_port_get_path, _this)
end
|
#path=(path) ⇒ Object
38
39
40
|
# File 'lib/virtualbox/classes/parallel_port.rb', line 38
def path=(path)
VBox::WebService.send_request(:i_parallel_port_set_path, _this.merge(:path => path))
end
|
#slot ⇒ Object
6
7
8
|
# File 'lib/virtualbox/classes/parallel_port.rb', line 6
def slot
VBox::WebService.send_request(:i_parallel_port_get_slot, _this)
end
|