uLib  User mode C/C++ extended API library for Win32 programmers.
TEvent Class Reference

#include <uLib/SyncObj.h>

Inheritance diagram for TEvent:
TSyncObj

Detailed Description

TEvent encapsulates an IPC Event object.

Definition at line 119 of file SyncObj.h.

Public Functions

 TEvent (LPSECURITY_ATTRIBUTES SecAttr, bool Manual, bool Init, CSTR Name=NULL)
 
 TEvent (DWORD Access, bool Inherit, CSTR Name)
 
 ~TEvent ()
 
bool Set ()
 
bool Reset ()
 
bool Pulse ()
 Note: Documented as unreliable.
Included just for completeness. More...
 
- Public Functions inherited from TSyncObj
 TSyncObj ()
 
 TSyncObj (const HANDLE &Src)
 
 ~TSyncObj ()
 
bool Close ()
 
bool Wait (DWORD msWait)
 
bool WaitEx (DWORD msWait, bool Alertable)
 
bool SignalAndWait (HANDLE hWaitFor, DWORD msWait, bool Alertable)
 
HANDLE RegisterWait (WAITORTIMERCALLBACK Callback, PVOID Context, DWORD msWait, DWORD Flags)
 
bool UnregisterWait (HANDLE hWait)
 
 operator HANDLE ()
 
HANDLE GetHandle ()
 
bool Initialized ()
 
HANDLE Duplicate (HANDLE TargetProc, bool Inherit, ACCESS_MASK Access=0, DWORD Opt=DUPLICATE_SAME_ACCESS)
 

Additional Inherited Members

- Protected Attributes inherited from TSyncObj
HANDLE _hSync
 

Constructor & Destructor Documentation

◆ TEvent() [1/2]

TEvent::TEvent ( LPSECURITY_ATTRIBUTES  SecAttr,
bool  Manual,
bool  Init,
CSTR  Name = NULL 
)

CreateEvent(..)

Definition at line 219 of file SyncObj.cpp.

◆ TEvent() [2/2]

TEvent::TEvent ( DWORD  Access,
bool  Inherit,
CSTR  Name 
)

OpenEvent(..)

Definition at line 225 of file SyncObj.cpp.

◆ ~TEvent()

TEvent::~TEvent ( )

Definition at line 231 of file SyncObj.cpp.

Member Function Documentation

◆ Set()

bool TEvent::Set ( )

SetEvent(..)

Definition at line 236 of file SyncObj.cpp.

◆ Reset()

bool TEvent::Reset ( )

ResetEvent(..)

Definition at line 241 of file SyncObj.cpp.

◆ Pulse()

bool TEvent::Pulse ( )

Note: Documented as unreliable.
Included just for completeness.

PulseEvent(..)

Definition at line 246 of file SyncObj.cpp.


The documentation for this class was generated from the following files: