class Syskit::DRoby::V5::ProfileDumper::DRoby

Public Class Methods

new(name, remote_siblings) click to toggle source
Calls superclass method
# File lib/syskit/droby/v5/droby_dump.rb, line 190
def initialize(name, remote_siblings)
    super(remote_siblings, [])
    @name = name
end

Public Instance Methods

proxy(peer) click to toggle source
# File lib/syskit/droby/v5/droby_dump.rb, line 195
def proxy(peer)
    if !@name
        return Actions::Profile.new
    elsif local = peer.find_model_by_name(@name)
        return local
    end

    profile =
        begin
            constant(@name)
        rescue Exception
            Actions::Profile.new(@name)
        end

    peer.register_model(profile)
    profile
end