Module: Roby::DRoby::V5::Actions::Models::MethodActionDumper

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

Instance Method Summary collapse

Methods included from InterfaceActionDumper

#droby_dump!, #proxy_from_existing

Instance Method Details

#proxy(peer, resolve_existing: true) ⇒ Object



721
722
723
724
725
726
727
728
729
730
731
732
733
# File 'lib/roby/droby/v5/droby_dump.rb', line 721

def proxy(peer, resolve_existing: true)
    if resolve_existing
        existing, _interface_model = proxy_from_existing(peer)
        if existing
            return existing
        end
    end

    interface_model = peer.local_object(@action_interface_model)
    action = super(peer)
    action.action_interface_model = interface_model
    action
end