utils COM classes
utils_COM_classes ¶
Module provides to abstract base classes for writing COM object modules in Python.
baseCOMclass ¶
baseCOMclass - abstract base class for COM objects in Python
baseCOMclass serves as abstract class for DesignatedWrapPolicy (or EventHandlerPolicy based hereupon) COM classes.
The abstract base class enforces mandatory COM object specific attributes to be set in a derived class by implementing them as abstract class method marked as property and raising a NonImplementedError if not defined in a class based hereupon.
The abstract base class presets mandatory COM attributes that are not specific for an implementation i.e. not mandatory to be changed.
For additional optional attributes see comments in the code.
Please note comments in code also.
logcalls: bool = True class-attribute instance-attribute ¶
typelibCOMclass ¶
typelibCOMclass - abstract base class for COM objects with typelib in Python
typelibCOMclass is a class derived from baseCOMclass and as such an abstract base class as well.
The abstract base class enforces additional mandatory attributes for typelib generation to be set in derived class.
The abstract base class presets mandatory COM attributes that are not specific for an implementation i.e. not mandatory to be changed.
Please note comments in code also.