Class: Roby::Coordination::Models::FaultResponseTable::Action

Inherits:
Actions::Models::Action show all
Defined in:
lib/roby/coordination/models/fault_response_table.rb

Overview

Representation of a fault handler at the interface level

Instance Attribute Summary collapse

Attributes inherited from Actions::Models::Action

#arguments, #doc, #name, #returned_type

Instance Method Summary collapse

Methods inherited from Actions::Models::Action

#==, #advanced, #as_plan, #each_arg, #find_arg, #has_arg?, #has_required_arg?, #initialize_copy, #new, #normalize_arguments, #optional_arg, #overloads, #pretty_print, #required_arg, #returned_task_type, #returns, #to_action, #to_action_model, #validate_can_overload

Methods included from DRoby::V5::Actions::Models::ActionDumper

#droby_dump, #droby_dump!, #proxy, #proxy!

Constructor Details

#initialize(fault_response_table_model) ⇒ Action

Returns a new instance of Action.



32
33
34
35
# File 'lib/roby/coordination/models/fault_response_table.rb', line 32

def initialize(fault_response_table_model)
    super()
    @fault_response_table_model = fault_response_table_model
end

Instance Attribute Details

#coordination_modelObject

The common interface to set the fault handler



30
31
32
# File 'lib/roby/coordination/models/fault_response_table.rb', line 30

def coordination_model
  @coordination_model
end

#fault_response_table_modelObject (readonly)

Returns the value of attribute fault_response_table_model.



22
23
24
# File 'lib/roby/coordination/models/fault_response_table.rb', line 22

def fault_response_table_model
  @fault_response_table_model
end

Instance Method Details

#fault_handler_modelObject

The fault handler model itself



25
26
27
# File 'lib/roby/coordination/models/fault_response_table.rb', line 25

def fault_handler_model
    coordination_model
end