This structure is placed in the Unicorn user_data parameter of hooks. More...
#include <hooks_manager.hpp>
Public Member Functions | |
| ARION_HOOK_PARAM (std::weak_ptr< Arion > arion, HOOK_CALLBACK callback, void *user_data) | |
Public Attributes | |
| std::weak_ptr< Arion > | arion |
| Arion instance that triggered the hook. | |
| HOOK_CALLBACK | callback |
| A user-defined callback for the hook. | |
| void * | user_data |
| Optional user-defined data passed to the hook. | |
This structure is placed in the Unicorn user_data parameter of hooks.
|
inline |
Builder for ARION_HOOK_PARAM instances.
| [in] | arion | Arion instance that triggered the hook. |
| [in] | callback | A user-defined callback for the hook. |
| [in] | user_data | Optional user-defined data passed to the hook. |
| HOOK_CALLBACK arion::ARION_HOOK_PARAM::callback |
A user-defined callback for the hook.
| void* arion::ARION_HOOK_PARAM::user_data |
Optional user-defined data passed to the hook.