Event_pattern that executes delegates More...
Event_pattern that executes delegates
| ParameterType | Type of the event and delegates parameter. |
Inheritance diagram for EventDelegate< ParameterType >:Public Member Methods | |
| virtual void | Execute (ParameterType parameter)=0 |
| Propagate the event. More... | |
| virtual EventDelegate< ParameterType > & | operator+= (Delegate< ParameterType > &d)=0 |
| Register an event listener. More... | |
| virtual EventDelegate< ParameterType > & | operator-= (Delegate< ParameterType > &d)=0 |
| Unregister an event listener. More... | |
| virtual bool | HasDelegate () const =0 |
| Query if this EventMultiDelegateDynamic has delegate. More... | |
|
pure virtual |
Propagate the event.
| parameter | The parameter. |
Implemented in BaseEventMultiDelegate< ParameterType >, BaseEventMultiDelegate< ConceptRT::BaseConsole & >, and EventSingleDelegate< ParameterType >.
|
pure virtual |
Query if this EventMultiDelegateDynamic has delegate.
Implemented in BaseEventMultiDelegate< ParameterType >, BaseEventMultiDelegate< ConceptRT::BaseConsole & >, and EventSingleDelegate< ParameterType >.
|
pure virtual |
Register an event listener.
| d | [in,out] The delegate to register as listener of the event. |
Implemented in BaseEventMultiDelegate< ParameterType >, BaseEventMultiDelegate< ConceptRT::BaseConsole & >, and EventSingleDelegate< ParameterType >.
|
pure virtual |
Unregister an event listener.
| d | [in,out] The delegate to unregistered. |
Implemented in BaseEventMultiDelegate< ParameterType >, BaseEventMultiDelegate< ConceptRT::BaseConsole & >, and EventSingleDelegate< ParameterType >.