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.


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  ) 

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 251 of file go.py.

Definition at line 250 of file go.py.

Definition at line 249 of file go.py.

Definition at line 253 of file go.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables


cob_goco
Author(s): Winfried Baum
autogenerated on Fri Jan 11 10:06:30 2013