99 self.
_thread = threading.Thread(target=self.
run)
129 time.sleep(self.
_interval.tv_usec/1000000.0)
201 for i
in range(len(self.
_tasks)):
203 if self.
_tasks[i].remains.sign() <= 0.0:
205 self.
_tasks[i].listener.invoke()
243 for i
in range(len(self.
_tasks)):
244 if self.
_tasks[i].listener == listener:
245 self.
_tasks[i].period = tm
246 self.
_tasks[i].remains = tm
347 for i
in range(len_):
349 if self.
_tasks[idx].listener == id:
def stop(self)
Stop Timer task.
def __init__(self, interval)
Constructor.
def unregisterListener(self, id)
Unregister listener.
def invoke(self)
Invoke Timer task.
def registerListener(self, listener, tm)
Register listener.
def registerListenerFunc(self, cbf, tm)
Register listener.
def __init__(self, lb, tm)
def __del__(self)
Destructor.
def registerListenerObj(self, obj, cbf, tm)
Register listener.
def run(self)
Thread execution function for Timer.