class Roby::DRoby::V5::DRobyID
These objects are used in distributed Roby
to identify objects across the various Roby
instances
Attributes
hash[R]
id[R]
The object ID
Public Class Methods
allocate()
click to toggle source
# File lib/roby/droby/v5/droby_id.rb, line 37 def self.allocate DRobyID.new(droby_id_allocator.increment) end
droby_id_allocator()
click to toggle source
# File lib/roby/droby/v5/droby_id.rb, line 32 def self.droby_id_allocator @droby_id_allocator end
new(id)
click to toggle source
# File lib/roby/droby/v5/droby_id.rb, line 10 def initialize(id) @id = id @hash = id.hash end
Public Instance Methods
inspect()
click to toggle source
# File lib/roby/droby/v5/droby_id.rb, line 25 def inspect to_s end
pretty_print(pp)
click to toggle source
# File lib/roby/droby/v5/droby_id.rb, line 28 def pretty_print(pp) pp.text to_s end
to_s()
click to toggle source
# File lib/roby/droby/v5/droby_id.rb, line 22 def to_s "#<DRobyID:#{id}>" end