#include <function_def.hpp>
|
| | FunctionDef () noexcept |
| | Constructs an instance with a null function. More...
|
| |
| | FunctionDef (InvocationFunc< R, A... > *_funcPtr) noexcept |
| | Constructs an instance by wrapping the given naked InvocationFunc<R, A...> function pointer in a shared_ptr and taking ownership. More...
|
| |
| | FunctionDef (std::shared_ptr< InvocationFunc< R, A... >> _func) noexcept |
| | Constructs an instance using the shared InvocationFunc<R, A...> function. More...
|
| |
| | FunctionDef (const FunctionDef &o) noexcept=default |
| |
| | FunctionDef (FunctionDef &&o) noexcept=default |
| |
| FunctionDef & | operator= (const FunctionDef &o) noexcept=default |
| |
| FunctionDef & | operator= (FunctionDef &&o) noexcept=default |
| |
| bool | operator== (const FunctionDef< R, A... > &rhs) const noexcept |
| |
| bool | operator!= (const FunctionDef< R, A... > &rhs) const noexcept |
| |
| std::shared_ptr< InvocationFunc< R, A... > > | getFunction () noexcept |
| | Returns the shared InvocationFunc<R, A...> function. More...
|
| |
| InvocationFunc< R, A... > * | cloneFunction () const noexcept |
| | Returns a new instance of the held InvocationFunc<R, A...> function. More...
|
| |
| std::string | toString () const |
| |
| R | invoke (A... args) |
| |
template<typename R, typename... A>
class jau::FunctionDef< R, A >
- Examples
- test_functiondef01.cpp.
Definition at line 309 of file function_def.hpp.
◆ FunctionDef() [1/5]
template<typename R , typename... A>
◆ FunctionDef() [2/5]
template<typename R , typename... A>
◆ FunctionDef() [3/5]
template<typename R , typename... A>
◆ FunctionDef() [4/5]
template<typename R , typename... A>
◆ FunctionDef() [5/5]
template<typename R , typename... A>
◆ cloneFunction()
template<typename R , typename... A>
◆ getFunction()
template<typename R , typename... A>
◆ invoke()
template<typename R , typename... A>
◆ operator!=()
template<typename R , typename... A>
◆ operator=() [1/2]
template<typename R , typename... A>
◆ operator=() [2/2]
template<typename R , typename... A>
◆ operator==()
template<typename R , typename... A>
◆ toString()
template<typename R , typename... A>
The documentation for this class was generated from the following file: