module Orocos::TaskContextBaseAbstract

This methods must be implemented by the child class of TaskContextBase

Public Instance Methods

attribute(name) click to toggle source

Returns an Attribute object representing the given attribute

# File lib/orocos/task_context_base.rb, line 130
def attribute(name)
    raise Orocos::NotFound, "#attribute is not implemented in #{self.class}"
end
attribute_names() click to toggle source

Returns the array of the names of available attributes on this task context

# File lib/orocos/task_context_base.rb, line 153
def attribute_names
    raise NotImplementedError
end
operation(name) click to toggle source

Returns an Operation object that represents the given method on the remote component.

# File lib/orocos/task_context_base.rb, line 141
def operation(name)
    raise Orocos::NotFound, "#operation is not implemented in #{self.class}"
end
operation_names() click to toggle source

Returns the array of the names of available operations on this task context

# File lib/orocos/task_context_base.rb, line 159
def operation_names
    raise NotImplementedError
end
ping() click to toggle source

raises an runtime error if the task is not reachable

# File lib/orocos/task_context_base.rb, line 175
def ping
    raise NotImplementedError
end
port(name) click to toggle source

Returns an object that represents the given port on the task context. The returned object is either an InputPort or an OutputPort

# File lib/orocos/task_context_base.rb, line 125
def port(name)
    raise Orocos::NotFound, "#port is not implemented in #{self.class}"
end
port_names() click to toggle source

Returns the names of all the ports defined on this task context

# File lib/orocos/task_context_base.rb, line 164
def port_names
    raise NotImplementedError
end
property(name) click to toggle source

Returns a Property object representing the given property

# File lib/orocos/task_context_base.rb, line 135
def property(name)
    raise Orocos::NotFound, "#property is not implemented in #{self.class}"
end
property_names() click to toggle source

Returns the array of the names of available properties on this task context

# File lib/orocos/task_context_base.rb, line 147
def property_names
    raise NotImplementedError
end
rtt_state() click to toggle source

Reads the state

# File lib/orocos/task_context_base.rb, line 169
def rtt_state
    raise NotImplementedError
end