Debug Tools
SleepEvent Class Reference
Inheritance diagram for SleepEvent:
Collaboration diagram for SleepEvent:

Public Member Functions

def __init__ (self)
 
def sleep (self, timeout=None)
 
def blockOnSleepCall (self)
 
def disableSleepCall (self)
 

Detailed Description

Definition at line 81 of file utilities.py.

Member Function Documentation

◆ sleep()

def sleep (   self,
  timeout = None 
)
    If blockOnSleepCall() was called before, this will sleep the current thread for ever if
    not arguments are passed. Otherwise, it accepts a positive floating point number for
    seconds in which this thread will sleep.

    If disableSleepCall() is called before the timeout has passed, it will immediately get
    out of sleep and this thread will wake up.

Definition at line 86 of file utilities.py.

References TeeNoFile.clear(), DynamicIterationDict.clear(), and Debugger.clear().

86  def sleep(self, timeout=None):
87  """
88  If blockOnSleepCall() was called before, this will sleep the current thread for ever if
89  not arguments are passed. Otherwise, it accepts a positive floating point number for
90  seconds in which this thread will sleep.
91 
92  If disableSleepCall() is called before the timeout has passed, it will immediately get
93  out of sleep and this thread will wake up.
94  """
95  self.wait( timeout )
96 
Here is the call graph for this function:

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