2013-07-29 07:13:03 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
class cEvents
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
cEvents( unsigned int a_NumEvents = 1 );
|
|
|
|
~cEvents();
|
|
|
|
|
|
|
|
void Wait();
|
|
|
|
void Set(unsigned int a_EventNum = 0);
|
|
|
|
private:
|
|
|
|
unsigned int m_NumEvents;
|
|
|
|
void* m_Handle; // HANDLE[] pointer
|
|
|
|
|
|
|
|
#ifndef _WIN32
|
|
|
|
bool m_bNamed;
|
|
|
|
#endif
|
|
|
|
};
|