go::AsyncCyclic Class Reference
List of all members.
Detailed Description
Definition at line 238 of file go.py.
Member Function Documentation
def go::AsyncCyclic::__init__ |
( |
|
self, |
|
|
|
func, |
|
|
|
args, |
|
|
|
timeout = None , |
|
|
|
cycleTime = 0 , |
|
|
|
name = None | |
|
) |
| | |
func: function to be executed cyclically
args: tuple of the arguments to be passed to the function
timeout: time, after which the function is automatically stopped
cycleTime: cycle time, in which the function is executed
name: name of the activity (for debug)
Definition at line 240 of file go.py.
def go::AsyncCyclic::getLastReturnVal |
( |
|
self |
) |
|
def go::AsyncCyclic::runCyclic |
( |
|
self, |
|
|
|
args | |
|
) |
| | |
def go::AsyncCyclic::waitCond |
( |
|
self, |
|
|
|
cond = lambda x: x | |
|
) |
| | |
wait, until the return value of the function satisfies a condition
cond: boolean function to be applied on the return value of the
cyclic function
returns the last return value (which satisfies the condition)
Definition at line 271 of file go.py.
def go::AsyncCyclic::waitCycle |
( |
|
self |
) |
|
wait, until the current cycle has ended
returns the return value of the function
Definition at line 264 of file go.py.
Member Data Documentation
The documentation for this class was generated from the following file: