此方法用于设置事件守护标志。
Public
inline void setEventGuard (const OMProtected* eventGuard) inline void setEventGuard (const OMProtected& eventGuard)
eventGuard
指定反应实例的受保护部分,此部分用于防止事件循环以互斥方式使用事件和触发式操作。