Class: VBox::ParallelPort

Inherits:
Base
  • Object
show all
Defined in:
lib/virtualbox/classes/parallel_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

#refObject (readonly)

Returns the value of attribute ref.



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

def ref
  @ref
end

Instance Method Details

#enabledObject



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

def enabled
  VBox::WebService.send_request(:i_parallel_port_get_enabled, _this)
end

#enabled=(enabled) ⇒ Object



16
17
18
# File 'lib/virtualbox/classes/parallel_port.rb', line 16

def enabled=(enabled)
  VBox::WebService.send_request(:i_parallel_port_set_enabled, _this.merge(:enabled => enabled))
end

#io_baseObject



20
21
22
# File 'lib/virtualbox/classes/parallel_port.rb', line 20

def io_base
  VBox::WebService.send_request(:i_parallel_port_get_io_base, _this)
end

#io_base=(io_base) ⇒ Object



24
25
26
# File 'lib/virtualbox/classes/parallel_port.rb', line 24

def io_base=(io_base)
  VBox::WebService.send_request(:i_parallel_port_set_io_base, _this.merge(:io_base => io_base))
end

#irqObject



28
29
30
# File 'lib/virtualbox/classes/parallel_port.rb', line 28

def irq
  VBox::WebService.send_request(:i_parallel_port_get_irq, _this)
end

#irq=(irq) ⇒ Object



32
33
34
# File 'lib/virtualbox/classes/parallel_port.rb', line 32

def irq=(irq)
  VBox::WebService.send_request(:i_parallel_port_set_irq, _this.merge(:irq => irq))
end

#pathObject



36
37
38
# File 'lib/virtualbox/classes/parallel_port.rb', line 36

def path
  VBox::WebService.send_request(:i_parallel_port_get_path, _this)
end

#path=(path) ⇒ Object



40
41
42
# File 'lib/virtualbox/classes/parallel_port.rb', line 40

def path=(path)
  VBox::WebService.send_request(:i_parallel_port_set_path, _this.merge(:path => path))
end

#slotObject

Attributes



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

def slot
  VBox::WebService.send_request(:i_parallel_port_get_slot, _this)
end