TwclEvent Class

The class represents an event synchronization object.

Namespace: wclSync
TObject
  wclSync.TwclSyncObject
    wclSync.TwclWaitableSyncObject
      wclSync.TwclNamedSyncObject
        wclSync.TwclEvent
          wclSync.TwclAutoResetEvent
          wclSync.TwclManualResetEvent
type
 TwclEvent = class(TwclNamedSyncObject)
 end;

The TwclEvent type exposes the following members.

Show:
 NameDescription
Create(THandle)

Overloaded. Creates new event object. (Overrides TwclNamedSyncObject.Create(THandle).)

Top
Show:
 NameDescription
Handle

Gets the system dependent synchronization object handle. (Inherited from TwclWaitableSyncObject.)

Top
Show:
 NameDescription
Create(Boolean)

Overloaded. Creates an unnamed event object.

Create(Boolean,string)

Overloaded. Creates or opens a named event object.

Create(Boolean,string,Boolean)

Overloaded. Creates or opens a named event object.

MakeUniqueName(string)

Makes unique synchronization object name. (Inherited from TwclNamedSyncObject.)

Open(string)

Opens an existing named event object.

ResetEvent

Sets the event object to the nonsignaled state.

SetEvent

Sets the event object to the signaled state.

WaitAll(Cardinal,PwclWaitableSyncObject)

Overloaded. Waits until all of the specified objects are in the signaled state. (Inherited from TwclWaitableSyncObject.)

WaitAll(Cardinal,PwclWaitableSyncObject,Cardinal)

Overloaded. Waits until all of the specified objects are in the signaled state or the time-out interval elapses. (Inherited from TwclWaitableSyncObject.)

WaitAny(Cardinal,PwclWaitableSyncObject)

Overloaded. Waits until one or all of the specified objects are in the signaled state. (Inherited from TwclWaitableSyncObject.)

WaitAny(Cardinal,PwclWaitableSyncObject,Cardinal)

Overloaded. Waits until one of the specified objects are in the signaled state or the time-out interval elapses. (Inherited from TwclWaitableSyncObject.)

WaitOne

Overloaded. Waits until the object is in the signaled state. (Overrides TwclWaitableSyncObject.WaitOne.)

WaitOne(Cardinal)

Overloaded. Waits until the object is in the signaled state or the time-out interval elapses. (Overrides TwclWaitableSyncObject.WaitOne(Cardinal).)

Top

An event object is a synchronization object whose state can be explicitly set to signaled by use of the SetEvent function.