OMGuard

此方法是 OMGuard 类的构造函数。它用于锁定用户对象的互斥对象。

可见性
Public
特征符
OMGuard (const OMProtected& pObj, 
   bool needInstrumentation = true);
参数
pObj

指定受守护的用户对象

needInstrumentation

增加了此参数是为了支持动画


反馈