MAK Legion 1.1 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | Private Attributes | List of all members
Legion::StdFunctionCapture< Ret, Params > Class Template Reference

std::function callback is used to bind std::functions, which are typically lambdas The return type and parameters define the type of std::function that can be bound More...

+ Inheritance diagram for Legion::StdFunctionCapture< Ret, Params >:
+ Collaboration diagram for Legion::StdFunctionCapture< Ret, Params >:

Public Member Functions

StdFunctionCaptureclone () const
 
StdFunctionCaptureoperator= (const StdFunctionCapture &orig)
 
Ret invoke (Params...params) const
 
bool operator== (const AbstractFunctionCapture< Ret, Params...> &rhs) const
 
- Public Member Functions inherited from Legion::AbstractFunctionCapture< Ret, Params...>
virtual bool operator!= (const AbstractFunctionCapture< Ret, Params...> &rhs) const
 

Public Attributes

 __pad0__: myFunc(func) {} StdFunctionCapture(const StdFunctionCapture& orig) { myFunc = orig.myFunc
 

Private Attributes

std::function< Ret(Params...)> myFunc
 

Detailed Description

template<typename Ret, typename... Params>
class Legion::StdFunctionCapture< Ret, Params >

std::function callback is used to bind std::functions, which are typically lambdas The return type and parameters define the type of std::function that can be bound

Member Function Documentation

template<typename Ret , typename... Params>
StdFunctionCapture* Legion::StdFunctionCapture< Ret, Params >::clone ( ) const
inlinevirtual
template<typename Ret , typename... Params>
Ret Legion::StdFunctionCapture< Ret, Params >::invoke ( Params...  params) const
inlinevirtual
template<typename Ret , typename... Params>
StdFunctionCapture& Legion::StdFunctionCapture< Ret, Params >::operator= ( const StdFunctionCapture< Ret, Params > &  orig)
inline
template<typename Ret , typename... Params>
bool Legion::StdFunctionCapture< Ret, Params >::operator== ( const AbstractFunctionCapture< Ret, Params...> &  rhs) const
inlinevirtual

Member Data Documentation

template<typename Ret , typename... Params>
Legion::StdFunctionCapture< Ret, Params >::__pad0__
template<typename Ret , typename... Params>
std::function<Ret(Params...)> Legion::StdFunctionCapture< Ret, Params >::myFunc
private

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

Document ID: Generated on Wed May 26 15:17:05 EDT 2021 from SVN revision 229676
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)