Core class that represents a function to call at the end of the scope.
More...
Core class that represents a function to call at the end of the scope.
◆ CallOnExit()
| Nz::CallOnExit::CallOnExit |
( |
Func |
func = nullptr | ) |
|
|
inline |
Constructs a CallOnExit object with a function.
- Parameters
-
| func | Function to call on exit |
◆ CallAndReset()
| void Nz::CallOnExit::CallAndReset |
( |
Func |
func = nullptr | ) |
|
|
inline |
Calls the function and sets the new callback.
- Parameters
-
| func | Function to call on exit |
◆ Reset()
| void Nz::CallOnExit::Reset |
( |
Func |
func = nullptr | ) |
|
|
inline |
Resets the function.
- Parameters
-
| func | Function to call on exit |
The documentation for this class was generated from the following files: