class Object
Constants
- Conf
The main configuration object
- Infinity
- State
The main state object
Public Instance Methods
display_notifications(interface)
click to toggle source
# File lib/roby/app/scripts/restart.rb, line 4 def display_notifications(interface) while !interface.closed? interface.poll while interface.has_notifications? _, (source, level, message) = interface.pop_notification Robot.send(level.downcase, message) end while interface.has_job_progress? _, (kind, job_id, job_name) = interface.pop_job_progress Robot.info "[#{job_id}] #{job_name}: #{kind}" end sleep 0.01 end end
dot_id()
click to toggle source
# File lib/roby/gui/dot_id.rb, line 2 def dot_id id = object_id id = if id < 0 (0xFFFFFFFFFFFFFFFF + id).to_s else id.to_s end "object_#{id}" end
droby_marshallable?()
click to toggle source
# File lib/roby/droby/marshallable.rb, line 2 def droby_marshallable?; true end
inspect()
click to toggle source
# File lib/roby/support.rb, line 39 def inspect guard = (Thread.current[:ROBY_SUPPORT_INSPECT_RECURSION_GUARD] ||= Hash.new) guard.compare_by_identity if guard.has_key?(self) return "..." else begin guard[self] = self to_s ensure guard.delete(self) end end end