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

Constant Summary

Constants inherited from Actions::Models::Action

Actions::Models::Action::Void, Actions::Models::Action::VoidClass

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, #pretty_print_arguments, #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.



34
35
36
37
# File 'lib/roby/coordination/models/fault_response_table.rb', line 34

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



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

def coordination_model
  @coordination_model
end

#fault_response_table_modelObject (readonly)

Returns the value of attribute fault_response_table_model.



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

def fault_response_table_model
  @fault_response_table_model
end

Instance Method Details

#fault_handler_modelObject

The fault handler model itself



27
28
29
# File 'lib/roby/coordination/models/fault_response_table.rb', line 27

def fault_handler_model
    coordination_model
end