Class: Roby::DRoby::Timepoints::Root

Inherits:
Aggregate show all
Defined in:
lib/roby/droby/timepoints.rb

Instance Attribute Summary collapse

Attributes inherited from Aggregate

#current_time, #timepoints

Instance Method Summary collapse

Methods inherited from Aggregate

#add, #duration, #end_time, #flamegraph, #format, #group_end, #group_start, #path, #start_time

Constructor Details

#initialize(name = 'root') ⇒ Root

Returns a new instance of Root.



163
164
165
166
167
168
# File 'lib/roby/droby/timepoints.rb', line 163

def initialize(name = 'root')
    super()

    @name = name
    @level = 0
end

Instance Attribute Details

#levelObject (readonly)

Returns the value of attribute level.



161
162
163
# File 'lib/roby/droby/timepoints.rb', line 161

def level
  @level
end

#nameObject (readonly)

Returns the value of attribute name.



160
161
162
# File 'lib/roby/droby/timepoints.rb', line 160

def name
  @name
end