3 #include "Mountain/core.hpp" 24 template <
typename... Args>
30 using StdFunctionT = std::function<FunctionT>;
34 void Invoke(Args... args)
const;
57 #include "Mountain/utils/event.inl" Encapsulates a delegate system similar to its C# implementation.
Defines the Mountain::List class.
void(Args...) FunctionT
Signature of the event function.
void Invoke(Args... args) const
Invokes the currently registered events with the provided parameters.
void Clear()
Clears the event list.
Event & operator+=(StdFunctionT func)
Adds a function to the event list.
void operator()(Args... args) const
Invokes the currently registered events with the provided parameters. Effectively the same as calling...
Event & operator-=(const StdFunctionT &func)
Removes a function from the event list.
Contains all declarations of the Mountain Framework.