Fun with PWM  0.32
Scheduler.GenericThread Class Reference

Generic thread objec, used for all scheduled tasks. More...

Inheritance diagram for Scheduler.GenericThread:

Public Member Functions

def __init__ (self, name, callback, stopped=False, interval=0.1)
 
def run (self)
 
def stop (self)
 
def start (self)
 

Public Attributes

 callback
 
 stopped
 
 interval
 
 notifier
 
 daemon
 

Detailed Description

Generic thread objec, used for all scheduled tasks.

Constructor & Destructor Documentation

§ __init__()

def Scheduler.GenericThread.__init__ (   self,
  name,
  callback,
  stopped = False,
  interval = 0.1 
)
Initializes a GenericThread object

Member Function Documentation

§ run()

def Scheduler.GenericThread.run (   self)
run this task

§ start()

def Scheduler.GenericThread.start (   self)
start task

§ stop()

def Scheduler.GenericThread.stop (   self)
stop tasks

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