XII Release 0.1.0
Loading...
Searching...
No Matches
xiiEvent< EventData, MutexType, AllocatorWrapper, EventType > Class Template Reference

#include <Event.h>

Inheritance diagram for xiiEvent< EventData, MutexType, AllocatorWrapper, EventType >:
[legend]

Public Member Functions

 xiiEvent (xiiAllocator *pAllocator)
Public Member Functions inherited from xiiEventBase< EventData, xiiNoMutex, xiiEventType::Default >
void Broadcast (EventData pEventData, xiiUInt8 uiMaxRecursionDepth=MaxRecursionDepthDefault)
 The notification is sent to all event handlers in the order that they were registered.
xiiEventSubscriptionID AddEventHandler (Handler handler) const
void RemoveEventHandler (const Handler &handler) const
 Removes a previously registered handler. It is an error to remove a handler that was not registered.
bool HasEventHandler (const Handler &handler) const
 Checks whether an event handler has already been registered.
void Clear ()
 Removes all registered event handlers.
bool IsEmpty () const
 Returns true, if no event handlers are registered.
 XII_DISALLOW_COPY_AND_ASSIGN (xiiEventBase)

Additional Inherited Members

Public Types inherited from xiiEventBase< EventData, xiiNoMutex, xiiEventType::Default >
enum  
 Implementation specific constants.
using Handler
 Notification callback type for events.
Protected Member Functions inherited from xiiEventBase< EventData, xiiNoMutex, xiiEventType::Default >
 xiiEventBase (xiiAllocator *pAllocator)
 Constructor.

Detailed Description

template<typename EventData, typename MutexType = xiiNoMutex, typename AllocatorWrapper = xiiDefaultAllocatorWrapper, xiiEventType EventType = xiiEventType::Default>
class xiiEvent< EventData, MutexType, AllocatorWrapper, EventType >
See also
xiiEventBase

The documentation for this class was generated from the following files:
  • /home/runner/work/XII/XII/Source/Engine/Foundation/Communication/Event.h
  • /home/runner/work/XII/XII/Source/Engine/Foundation/Communication/Implementation/Event_inl.h