Represents an event. EventSource member functions add, remove, and invoke event handlers.
template< typename TDelegateInterface > class EventSource;
|
Name |
Description |
|---|---|
|
Appends the event handler represented by the specified delegate interface to the set of event handlers for the current EventSource object. |
|
|
Retrieves the number of event handlers associated with the current EventSource object |
|
|
Calls each event handler associated with the current EventSource object using the specified argument types and arguments. |
|
|
Deletes the event handler represented by the specified event registration token from the set of event handlers associated with the current EventSource object. |
|
Name |
Description |
|---|---|
|
Synchronizes access to the targets_ array when adding, removing, or invoking event handlers. |
|
|
An array of one or more event handlers. |
|
|
Synchronizes access to internal data members even while event handlers for this EventSource are being added, removed, or invoked. |