|
Engine²
Open-source game engine written in C++.
|
Base class for all functions contained in a FunctionContainer. More...
#include <BaseFunction.hpp>
Public Member Functions | |
| virtual | ~BaseFunction ()=default |
| virtual TReturn | operator() (TArgs... args) const =0 |
| Pure virtual function call operator to be implemented by derived functions. | |
| TReturn | Call (TArgs... args) const |
| External Call function. | |
| virtual FunctionID | GetID () const =0 |
| Pure virtual function to get the unique ID of the function. | |
| virtual std::string | GetName () const =0 |
| Pure virtual function to get the name of the function. | |
Base class for all functions contained in a FunctionContainer.
|
virtualdefault |
|
inline |
External Call function.
| args | Arguments to pass to the function. |
|
pure virtual |
Pure virtual function to get the unique ID of the function.
Implemented in Engine::WrappedSystem< TSystem, TErrorCallback >, FunctionUtils::CallableFunction< TCallable, TReturn, TArgs >, FunctionUtils::CallableFunction< TCallable, void, Core & >, and Physics::Utils::ContactCallback< Components >.
|
pure virtual |
Pure virtual function to get the name of the function.
Implemented in Engine::WrappedSystem< TSystem, TErrorCallback >, FunctionUtils::CallableFunction< TCallable, TReturn, TArgs >, and FunctionUtils::CallableFunction< TCallable, void, Core & >.
|
pure virtual |
Pure virtual function call operator to be implemented by derived functions.
| args | Arguments to pass to the function. |
Implemented in FunctionUtils::CallableFunction< TCallable, TReturn, TArgs >, and FunctionUtils::CallableFunction< TCallable, void, Core & >.