Module: Roby::DRoby::V5::Actions::Models::CoordinationActionDumper

Includes:
InterfaceActionDumper
Included in:
Actions::Models::CoordinationAction
Defined in:
lib/roby/droby/v5/droby_dump.rb

Instance Method Summary collapse

Methods included from InterfaceActionDumper

#proxy_from_existing

Instance Method Details

#droby_dump!(peer) ⇒ Object



751
752
753
754
# File 'lib/roby/droby/v5/droby_dump.rb', line 751

def droby_dump!(peer)
    super
    @coordination_model = nil
end

#proxy(peer) ⇒ Object



739
740
741
742
743
744
745
746
747
748
749
# File 'lib/roby/droby/v5/droby_dump.rb', line 739

def proxy(peer)
    existing, interface_model = proxy_from_existing(peer)
    if existing
        existing
    else
        action = super(peer)
        action.coordination_model =
            interface_model.create_coordination_model(action, Coordination::Actions) {}
        action
    end
end