Exception: Orocos::InterfaceObjectNotFound

Inherits:
NotFound
  • Object
show all
Defined in:
lib/orocos/base.rb

Overview

Emitted when an interface object is requested, that does not exist

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(task, name) ⇒ InterfaceObjectNotFound

Returns a new instance of InterfaceObjectNotFound.


20
21
22
23
24
# File 'lib/orocos/base.rb', line 20

def initialize(task, name)
    @task = task
    @name = name
    super()
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name


18
19
20
# File 'lib/orocos/base.rb', line 18

def name
  @name
end

#taskObject (readonly)

Returns the value of attribute task


17
18
19
# File 'lib/orocos/base.rb', line 17

def task
  @task
end