ランタイム
MultipleEvent.h
Go to the documentation of this file.
1 #pragma once
2 
5 
6 #include "Mix/Noncopyable.h"
7 
8 namespace Mix{
9 
13  {
14  private:
15  UInt32 m_EventCount;
16  HANDLE m_hEventArray[MAXIMUM_WAIT_OBJECTS];
17 
18  public:
23  MultipleEvent( Boolean bSignal = False, Boolean bManualReset = False, UInt32 count = 1 );
25  ~MultipleEvent( void );
26 
29  void Set( UInt32 index = 0 );
32  void Reset( UInt32 index = 0 );
34  void SetAll( void );
36  void ResetAll( void );
37 
44  Boolean Wait( UInt32 index = 0, UInt32 timeOut = INFINITE );
45 
52  UInt32 WaitAll( Boolean bAll = FALSE, UInt32 timeOut = INFINITE );
53 
57  HANDLE GetHandle( UInt32 index ) const;
58  };
59 
60 }
コピー禁止クラス
Definition: Noncopyable.h:10
unsigned int UInt32
符号無し32ビット整数
Definition: Common.h:68
複数イベントクラス
Definition: MultipleEvent.h:12
ミックス
Definition: AtomicValue.h:6
#define False
Boolean型の偽値
Definition: Common.h:108
コピー禁止クラスインクルードファイル
BOOL Boolean
32ビットブーリアン
Definition: Common.h:102
#define _MIX_DLL_API
DLLインポート定義
Definition: Common.h:38