class nbla::GlobalFunctionCallback
-
class GlobalFunctionCallback
Singleton class for storing global function callbacks.
Public Functions
-
void call_pre_hooks(const CgFunctionPtr&)
Call pre_hooks.
-
void call_post_hooks(const CgFunctionPtr&)
Call pre_hooks.
-
void set_pre_hook(const string &key, const function_hook_type &cb)
Set a pre_hook.
-
void set_post_hook(const string &key, const function_hook_type &cb)
Set a post_hook.
-
void unset_pre_hook(const string &key)
Unset a pre_hook.
-
void unset_post_hook(const string &key)
Unset a post_hook.
-
void call_pre_hooks(const CgFunctionPtr&)