Package horizons :: Module scheduler :: Class _CallbackObject
[hide private]
[frames] | no frames]

Class _CallbackObject

source code

Class used by the TimerManager Class to organize callbacks.

Instance Methods [hide private]
 
__init__(self, scheduler, callback, class_instance, run_in, loops, loop_interval, finish_callback=None)
Creates the CallbackObject instance.
source code
 
__str__(self) source code
Method Details [hide private]

__init__(self, scheduler, callback, class_instance, run_in, loops, loop_interval, finish_callback=None)
(Constructor)

source code 

Creates the CallbackObject instance.

Parameters:
  • scheduler - reference to the scheduler, necessary to react properly on weak reference callbacks @see Scheduler.add_new_object