11#ifndef INCGUARD_MGL_EVENT_HANDLE_H_1608697773 
   12#define INCGUARD_MGL_EVENT_HANDLE_H_1608697773 
   58    [[nodiscard]] 
constexpr bool IsValid() const noexcept
 
   60        return ((_type < NotifyType::Reserve_Start) && (_id != 0));
 
 
   79        other._type = NotifyType::Reserve_Invalid;
 
 
   98            other._type = NotifyType::Reserve_Invalid;
 
 
 
イベントハンドルクラス
Definition mgl_event_handle.h:21
 
void Set(NotifyType type, UniqueID id) noexcept
パラメータの設定
Definition mgl_event_handle.cc:62
 
constexpr bool IsValid() const noexcept
ハンドルの有効状態を取得
Definition mgl_event_handle.h:58
 
constexpr NotifyType GetType() const noexcept
通知タイプの取得
Definition mgl_event_handle.h:35
 
Handle() noexcept
コンストラクタ
Definition mgl_event_handle.cc:21
 
constexpr UniqueID GetUniqueID() const noexcept
ユニークIDを取得
Definition mgl_event_handle.h:46
 
~Handle() noexcept
デストラクタ
Definition mgl_event_handle.cc:49
 
void Unregister() noexcept
登録解除
Definition mgl_event_handle.cc:74
 
constexpr Handle & operator=(Handle &&other) noexcept
ムーブ代入演算
Definition mgl_event_handle.h:89
 
NotifyType
通知タイプ
Definition mgl_event_types.h:21
 
void(*)(void *callbackArg, void *notifyArg) CallbackFunction
イベントコールバック関数
Definition mgl_event_types.h:68
 
uintptr_t UniqueID
イベント通知のユニークID型
Definition mgl_event_types.h:65