LiteFX::Event::add¶
Subscribes an event handler to the event.
Synopsis¶
Declared in <litefx/app.hpp>
event_token_type add(function_type const& subscriber);
Return Value¶
A unique token of the event handler.
Parameters¶
| Name | Description |
|---|---|
| subscriber | A delegate for the event handler. |