class Vizkit::EventLoopItem

Public Class Methods

new(event_loop,options = Hash.new) click to toggle source
Calls superclass method Vizkit::VizkitItem.new
# File lib/vizkit/vizkit_items.rb, line 1185
def initialize(event_loop,options = Hash.new)
    @options = Kernel.validate_options options,:item_type => :label

    if @options[:item_type] == :label
        super("EventLoop")
        appendRow([EventLoopTimersItem.new(event_loop),VizkitItem.new])
        appendRow([ThreadPoolItem.new(event_loop.thread_pool),VizkitItem.new])
    else
        super()
    end
end