ezEngine  Milestone 7
ezEvent< EventData, MutexType, AllocatorWrapper > Class Template Reference

#include <Event.h>

Inheritance diagram for ezEvent< EventData, MutexType, AllocatorWrapper >:

Public Member Functions

 ezEvent (ezAllocatorBase *pAllocator)
 
- Public Member Functions inherited from ezEventBase< EventData, MutexType >
void Broadcast (EventData pEventData)
 This function will broadcast to all registered users, that this event has just happened. More...
 
void AddEventHandler (Handler handler) const
 Adds a function as an event handler. All handlers will be notified in the order that they were registered. More...
 
void RemoveEventHandler (Handler handler) const
 Removes a previously registered handler. It is an error to remove a handler that was not registered. More...
 
 EZ_DISALLOW_COPY_AND_ASSIGN (ezEventBase)
 

Additional Inherited Members

- Public Types inherited from ezEventBase< EventData, MutexType >
typedef ezDelegate< void(EventData)> Handler
 Notification callback type for events.
 
- Protected Member Functions inherited from ezEventBase< EventData, MutexType >
 ezEventBase (ezAllocatorBase *pAllocator)
 Constructor.
 

Detailed Description

template<typename EventData, typename MutexType = ezNoMutex, typename AllocatorWrapper = ezDefaultAllocatorWrapper>
class ezEvent< EventData, MutexType, AllocatorWrapper >

See Also
ezEventBase

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