This method is the constructor for the OMGuard class. It locks the mutex of the user object.
Public
OMGuard (const OMProtected& pObj,
bool needInstrumentation = true);
pObj
Specifies a guarded user object
needInstrumentation
Added for animation support