module Orocos::TaskContextBaseAbstract
This methods must be implemented by the child class of TaskContextBase
Public Instance Methods
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
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
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
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
raises an runtime error if the task is not reachable
# File lib/orocos/task_context_base.rb, line 175 def ping raise NotImplementedError end
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
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
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
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
Reads the state
# File lib/orocos/task_context_base.rb, line 169 def rtt_state raise NotImplementedError end