Btk
Btk::Function< RetT(Args...)> Class Template Reference
Inheritance diagram for Btk::Function< RetT(Args...)>:
Collaboration diagram for Btk::Function< RetT(Args...)>:

Public Types

typedef RetT result_type
 
typedef RetT(* InvokeFn) (void *, Args...)
 

Public Member Functions

template<class Fn >
 Function (Fn fn)
 
 Function (const Function &fn)
 
 Function (Function &&fn)
 
template<class Fn >
void assign_impl (Fn &&fn)
 
template<class Fn >
void assign (Fn &&fn)
 
void assign (Function &&fn)
 
void assign (Function &fn)
 
void reset ()
 
void swap (Function &fn)
 
template<class T >
Functionoperator= (T &&dat)
 
result_type call (Args ...args) const
 
bool empty () const noexcept
 
result_type operator() (Args ...args) const
 
bool operator== (std::nullptr_t) const noexcept
 
 operator bool () const noexcept
 
- Public Member Functions inherited from Btk::FunctionBase
 FunctionBase (const FunctionBase &fn)
 
 FunctionBase (FunctionBase &&fn)
 
void reset ()
 
void swap (FunctionBase &fn)
 

Static Public Member Functions

template<class Fn = RetT(*)(Args...)>
static RetT InvokeCFunction (void *fn, Args ...args)
 

Additional Inherited Members

- Public Attributes inherited from Btk::FunctionBase
void * manager_ptr
 
void(* delete_ptr )(void *manager)
 

The documentation for this class was generated from the following file: