
Public Member Functions | |
| def | __init__ (self, loopdelay, initdelay=0, periodic_action=None, ended_action=None, *ended_argv) |
| def | defaultPeriodicAction () |
| def | run (self) |
| def | stop (self) |
Private Attributes | |
| _periodic_action | |
| _ended_action | |
| _loopdelay | |
| _initdelay | |
| _running | |
| _ended_argv | |
| _runtime | |
Cette classe permet d'amorcer un compte-�-rebours p�riodique pour op�rer un m�canisme de pooling. On d�finit la fonction appell�e p�riodiquement et la fonction terminale.
| def KERNEL_PY.kernel.threadhelper.PeriodicTimer.__init__ | ( | self, | |
| loopdelay, | |||
initdelay = 0, |
|||
periodic_action = None, |
|||
ended_action = None, |
|||
| * | ended_argv | ||
| ) |
| def KERNEL_PY.kernel.threadhelper.PeriodicTimer.defaultPeriodicAction | ( | ) |
Les fonctions 'periodicAction' retournent CONTINU ou STOP apr�s avoir ex�cut� l'action de fin de boucle. Si STOP est retourn�, le cycle est interrompu.
| def KERNEL_PY.kernel.threadhelper.PeriodicTimer.run | ( | self | ) |
| def KERNEL_PY.kernel.threadhelper.PeriodicTimer.stop | ( | self | ) |
|
private |
|
private |
|
private |
Referenced by KERNEL_PY.kernel.threadhelper.PeriodicTimer.run().
|
private |
|
private |
|
private |
Referenced by KERNEL_PY.kernel.threadhelper.PeriodicTimer.stop().
|
private |