Public Member Functions | Public Attributes
go.AsyncCyclic Class Reference
Inheritance diagram for go.AsyncCyclic:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def getLastReturnVal
def runCyclic
def waitCond
def waitCycle

Public Attributes

 cycleLock
 cycleTime
 cyclicFunc
 lastReturnVal

Detailed Description

Definition at line 238 of file go.py.


Constructor & Destructor 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.


Member Function Documentation

Definition at line 281 of file go.py.

def go.AsyncCyclic.runCyclic (   self,
  args 
)

Definition at line 256 of file go.py.

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

Definition at line 245 of file go.py.

Definition at line 245 of file go.py.

Definition at line 245 of file go.py.

Definition at line 245 of file go.py.


The documentation for this class was generated from the following file:


cob_goco
Author(s): Winfried Baum
autogenerated on Sat Mar 15 2014 10:25:51