Package schrodinger :: Package infra :: Module mminit :: Class Initializer
[hide private]
[frames] | no frames]

Class Initializer

object --+
         |
        Initializer
Known Subclasses:

A class to handle initialization and termination of needed mmlibs.

It is designed to be created on import and initialize needed mmlibs for a module. If library termination is needed, the terminate method can be called explicitly. Otherwise, the libraries will be terminated at garbage collection of the instance.

Instance Methods [hide private]
 
__init__(self, initializers, terminators)
x.__init__(...) initializes x; see help(type(x)) for signature
 
initialize(self, error_handler=None)
Initialize all needed mmlibs.
 
terminate(self)
Terminate all previously initialized mmlibs.
 
__del__(self)
 
__copy__(self)
 
__deepcopy__(self, memo=None)

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, initializers, terminators)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)