module Roby::DRoby::V5::Actions::Models::InterfaceActionDumper

Public Instance Methods

droby_dump!(peer) click to toggle source
Calls superclass method
# File lib/roby/droby/v5/droby_dump.rb, line 707
def droby_dump!(peer)
    super
    @action_interface_model = peer.dump(action_interface_model)
end
proxy_from_existing(peer) click to toggle source
# File lib/roby/droby/v5/droby_dump.rb, line 712
def proxy_from_existing(peer)
    interface_model = peer.local_object(@action_interface_model)
    if action = interface_model.find_action_by_name(name)
        # Load the return type and the default values, we must
        # make sure that any dumped droby-identifiable object
        # is loaded nonetheless
        peer.local_model(returned_type)
        arguments.each { |arg| peer.local_object(arg.default) }
    end
    return action, interface_model
end