Module: Roby::DRoby::V5::Builtins::ClassDumper

Included in:
Exception, Roby::DelayedArgumentFromObject
Defined in:
lib/roby/droby/v5/builtin.rb

Instance Method Summary collapse

Instance Method Details

#droby_dump(peer) ⇒ Object



10
11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'lib/roby/droby/v5/builtin.rb', line 10

def droby_dump(peer)
    # Ancestry marshalling stops at the last class that has
    # ClassDumper built-in. This class is expected to be
    # resolvable by the remote object manager
    super_c = superclass
    super_c = if super_c.kind_of?(ClassDumper)
                  peer.dump(super_c)
              end

    DRobyClass.new(
        name,
        peer.known_siblings_for(self),
        super_c)
end