Module: Roby::DRoby::Identifiable

Included in:
Exception, Actions::Interface, EventGenerator, Models::TaskServiceModel, Plan, PlanObject, Relations::Graph, Task, Thread
Defined in:
lib/roby/droby/identifiable.rb

Instance Method Summary collapse

Instance Method Details

#droby_idObject

The DRobyID for this object



7
8
9
10
11
12
13
# File 'lib/roby/droby/identifiable.rb', line 7

def droby_id
    if @__droby_remote_id__
        @__droby_remote_id__
    elsif !frozen?
        @__droby_remote_id__ = DRobyID.allocate
    end
end

#initialize_copy(old) ⇒ Object

:nodoc:



15
16
17
18
# File 'lib/roby/droby/identifiable.rb', line 15

def initialize_copy(old) # :nodoc:
    super
    @__droby_remote_id__ = nil
end