此方法用於設定事件保護旗標。
Public
inline void setEventGuard (const OMProtected* eventGuard) inline void setEventGuard (const OMProtected& eventGuard)
eventGuard
指定回應實例的受保護部分,該實例用於保護事件迴圈在事件與已觸發作業消耗之間不互斥