setEventGuard

此方法用於設定事件保護旗標。

可見性
Public
簽章
inline void setEventGuard (const OMProtected* eventGuard)
inline void setEventGuard (const OMProtected& eventGuard) 
參數
eventGuard

指定回應實例的受保護部分,該實例用於保護事件迴圈在事件與已觸發作業消耗之間不互斥


回饋