|
AceSmartSoft API Documentation
|
Handler class to process fired events asynchronously at the client. More...
#include <smartEvent.hh>
Public Member Functions | |
| template<class P > | |
| EventHandler (EventClient< P, E > *client) | |
| virtual | ~EventHandler () |
| virtual void | handleEvent (const Smart::EventIdPtr &id, const E &event)=0 |
| Handler which is called by the event client pattern with every fired event. More... | |
Handler class to process fired events asynchronously at the client.
Register it with the constructor of the event client.
Template parameters:
Demonstrated in fifth example
|
inline |
|
inlinevirtual |
|
pure virtual |
Handler which is called by the event client pattern with every fired event.
The handler method has to be provided by the user by subclassing.
| id | contains the activation id to be able to find out which activation caused the current event |
| event | is the event answer class (Communication Object) received due to the firing of the activation with identifier id. |
1.8.13