首页 / common / PlugInBase

PlugInBase

模块: oapy._oa._common 导入: from oapy._oa import _common

概览

PlugInBaseoapy 中可用,可通过 _common 模块访问。

本页汇总 PlugInBase 当前在 oapy 中可用的 Python 接口。

详细说明

template class PlugInBase< I > This class can be used as a base class for simple plug-in components。 That is, for components that only implement one interface and don't use aggregation or any advanced reference counting schemes。 It takes the interface class to be implemented as the template parameter, and provides the implementation for the IBase functions。

构造函数

_common.PlugInBase(refIn=0)

obj = _common.PlugInBase(refIn=0)

方法总览

状态 Python 调用
obj.queryInterface(id, iPtr)
obj.addRef()
obj.release()

方法说明

obj.queryInterface(id, iPtr)

绑定状态: 已绑定

Python 调用: obj.queryInterface(id, iPtr)

Python 示例

from oapy._oa import _common

# assume obj is a PlugInBase
obj.queryInterface(id, iPtr)

obj.addRef()

绑定状态: 已绑定

Python 调用: obj.addRef()

Python 示例

from oapy._oa import _common

# assume obj is a PlugInBase
obj.addRef()

obj.release()

绑定状态: 已绑定

Python 调用: obj.release()

Python 示例

from oapy._oa import _common

# assume obj is a PlugInBase
obj.release()