Module: Syskit::DRoby::V5::TypelibTypeModelDumper

Defined in:
lib/syskit/droby/v5/droby_dump.rb

Overview

Module used to allow droby-marshalling of Typelib types

Defined Under Namespace

Classes: DRoby

Instance Method Summary collapse

Instance Method Details

#droby_dump(peer) ⇒ Object



156
157
158
159
160
161
162
163
164
# File 'lib/syskit/droby/v5/droby_dump.rb', line 156

def droby_dump(peer)
    peer_registry = peer.object_manager.typelib_registry
    if !peer_registry.include?(name)
        reg = registry.minimal(name)
        xml = reg.to_xml
        peer_registry.merge(reg)
    end
    DRoby.new(name, xml)
end