Module: Orocos::Async::ObjectBase::Periodic::ClassMethods

Instance Attribute Summary collapse

Instance Attribute Details

#default_periodObject

Returns the default period for all instances of this class. It inherits the value from parent classes



85
86
87
88
89
90
# File 'lib/orocos/async/object_base.rb', line 85

def default_period
    if @default_period then @default_period
    elsif superclass.respond_to?(:default_period)
        superclass.default_period
    end
end