此方法是 OMGuard 类的构造函数。它用于锁定用户对象的互斥对象。
Public
OMGuard (const OMProtected& pObj, bool needInstrumentation = true);
pObj
指定受守护的用户对象
needInstrumentation
增加了此参数是为了支持动画