Reloader Class Reference

Reloader class. More...

List of all members.

Public Member Functions

def __init__
 Reloader constructor.
def getNewModules
 Retrieve the new modules imported during the loading of the test.
def clearAppModules
 Unload modules that were loaded during the last test run.
def filterModules
 Retrieve the list of modules that should be unloaded.

Static Public Attributes

list DONT_RELOAD_LIST


Detailed Description

Reloader class.

Definition at line 29 of file rcUtil.py.


Member Function Documentation

def __init__   self  ) 
 

Reloader constructor.

Definition at line 34 of file rcUtil.py.

def clearAppModules   self,
  dontReloadList,
  showUnloadedModules
 

Unload modules that were loaded during the last test run.

Parameters:
dontReloadList List of module names which should not be unloaded
showUnloadedModules Flag that indicates whether a debug log should be printed for each module that gets unloaded

Definition at line 52 of file rcUtil.py.

def filterModules   self,
  modules,
  dontReloadList
 

Retrieve the list of modules that should be unloaded.

Parameters:
modules List of modules to be unloaded before filtering
dontReloadList List of module names which should not be unloaded

Definition at line 70 of file rcUtil.py.

def getNewModules   self,
  keepem
 

Retrieve the new modules imported during the loading of the test.

Parameters:
keepem List of modules which should be excluded from the reloading.

Definition at line 40 of file rcUtil.py.


Member Data Documentation

list DONT_RELOAD_LIST [static]
 

Initial value:

['scipy', 'weave', 'qwt', 'xml', 'pyexpat', 'win32',
                      'ROOT', 'libPyROOT']

Definition at line 31 of file rcUtil.py.


The documentation for this class was generated from the following file:
Generated on Thu Apr 27 20:53:31 2006 for LICOS L02-01-00 by doxygen 1.4.6-NO