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.



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

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

    @name = name
    @level = 0
end

Instance Attribute Details

#levelObject (readonly)

Returns the value of attribute level.



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

def level
  @level
end

#nameObject (readonly)

Returns the value of attribute name.



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

def name
  @name
end