Package conduit :: Module Globals
[hide private]

Source Code for Module conduit.Globals

 1  """ 
 2  Excapsulates those items global to the Conduit process 
 3  """ 
4 -class Globals:
5 - def __init__(self):
6 #settings is global and initialized early 7 self.settings = None 8 9 #to save resources DB, moduleManager and typeConverter are global 10 self.moduleManager = None 11 self.typeConverter = None 12 self.mappingDB = None 13 #syncManager provides the single point of cancellation when exiting 14 self.syncManager = None 15 16 #the main application 17 self.app = None 18 19 #Global cancellation flag 20 self.cancelled = False 21 22 #the application main loop 23 self.mainloop = None
24