PlugInBase
模块: oapy._oa._common
导入: from oapy._oa import _common
概览
PlugInBase 在 oapy 中可用,可通过 _common 模块访问。
本页汇总 PlugInBase 当前在 oapy 中可用的 Python 接口。
详细说明
template
构造函数
_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()