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

Static member function (or global function) callback is used to bind global or static class functions The return type and single parameter is parameterized in the template. More...

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

Public Member Functions

 StaticFunctionCapture (Ret(*func)(Params...params))
 
 StaticFunctionCapture (const StaticFunctionCapture &orig)
 
StaticFunctionCaptureoperator= (const StaticFunctionCapture &orig)
 
StaticFunctionCaptureclone () const
 
Ret invoke (Params...params) const
 
bool operator== (const AbstractFunctionCapture &rhs) const
 
- Public Member Functions inherited from Legion::AbstractFunctionCapture< Ret, Params...>
virtual bool operator!= (const AbstractFunctionCapture &rhs) const
 

Private Attributes

Ret(* myFunction )(Params...params)
 

Detailed Description

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

Static member function (or global function) callback is used to bind global or static class functions The return type and single parameter is parameterized in the template.

Constructor & Destructor Documentation

template<typename Ret , typename... Params>
Legion::StaticFunctionCapture< Ret, Params >::StaticFunctionCapture ( Ret(*)(Params...params)  func)
inline
template<typename Ret , typename... Params>
Legion::StaticFunctionCapture< Ret, Params >::StaticFunctionCapture ( const StaticFunctionCapture< Ret, Params > &  orig)
inline

Member Function Documentation

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

Member Data Documentation

template<typename Ret , typename... Params>
Ret(* Legion::StaticFunctionCapture< Ret, Params >::myFunction)(Params...params)
private

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

Document ID: Generated on Mon Mar 8 15:11:30 EST 2021 from SVN revision 225633
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)