Class Ticker |
A class for an object with a ticker. This class should be subclassed by a class that wishes to have a ticker facility, namely implement a method that is called repeatedly at set intervals.
Details |
Constructor |
Ticker(ticker_rate, next_tick_time)
ticker_rate | Ticker rate
|
next_tick_time | Time of next tick
|
Methods: |
# Succeeds if and only if the ticker is active.
# Change the interval of the ticker @param n the new interval.
# Start the ticker process, with the {tick()} method being invoked approximately every {n} milliseconds. @param n the ticker interval in milliseconds.
# Stop the ticker.
# This method should be overridden by the subclass. It will be called repeatedly.
Fields: |