SpiecsEngine
 
Loading...
Searching...
No Matches

◆ SetEventCallbackFn()

void Spices::Event::SetEventCallbackFn ( const EventCallbackFn & callback)
staticinherited

Set Global Root Event Function Pointer.

Parameters
[in]callbackThe Global Root Event Function Pointer.
Note
Usually call it once in whole Application lifetime.

Definition at line 24 of file Event.cpp.

25 {
27
28 EventCallback = callback;
29 }
#define SPICES_PROFILE_ZONE
static Event::EventCallbackFn EventCallback
Single instance of Root Event Function Pointer.
Definition Event.cpp:15

Referenced by Spices::SystemManager::SystemManager().