Package SmootLight :: Package operationscore :: Module SmootCoreObject :: Class SmootCoreObject
[hide private]
[frames] | no frames]

Class SmootCoreObject

source code

object --+
         |
        SmootCoreObject

SmootCoreObject is essentially a super-object class which grants us some niceties. It allows us to use objects as if they are dictionaries -- we use this to store their arguments convienently -- note that querying for a parameter that does not exist will return None. It also offers some basic ThreadSafety.

Instance Methods [hide private]
 
__init__(self, argDict, skipValidation=False)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
init(self) source code
 
acquireLock(self) source code
 
releaseLock(self) source code
 
className(self) source code
 
__setitem__(self, k, item) source code
 
__getitem__(self, key) source code
 
__contains__(self, item) source code
 
__getiter__(self) source code
 
validateArgs(self, argFileName) source code
 
validateArgDict(self, validationDict) source code
 
addDieListener(self, listener) source code
 
removeDieListener(self, listener) source code
 
die(self) source code

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, argDict, skipValidation=False)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)