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::MethodCapture< Ret, T, Method, Params > Class Template Reference

Member function callback is used to bind class member functions The return type, single parameter, object type and method pointer are parameterized in the template. More...

+ Inheritance diagram for Legion::MethodCapture< Ret, T, Method, Params >:
+ Collaboration diagram for Legion::MethodCapture< Ret, T, Method, Params >:

Public Member Functions

 MethodCapture (void *object, Method method)
 
 MethodCapture (const MethodCapture &orig)
 
MethodCaptureclone () const
 
MethodCaptureoperator= (const MethodCapture &orig)
 
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

void * myObject
 
Method myMethod
 

Detailed Description

template<typename Ret, typename T, typename Method, typename... Params>
class Legion::MethodCapture< Ret, T, Method, Params >

Member function callback is used to bind class member functions The return type, single parameter, object type and method pointer are parameterized in the template.

Constructor & Destructor Documentation

template<typename Ret , typename T , typename Method , typename... Params>
Legion::MethodCapture< Ret, T, Method, Params >::MethodCapture ( void *  object,
Method  method 
)
inline
template<typename Ret , typename T , typename Method , typename... Params>
Legion::MethodCapture< Ret, T, Method, Params >::MethodCapture ( const MethodCapture< Ret, T, Method, Params > &  orig)
inline

Member Function Documentation

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

Member Data Documentation

template<typename Ret , typename T , typename Method , typename... Params>
Method Legion::MethodCapture< Ret, T, Method, Params >::myMethod
private
template<typename Ret , typename T , typename Method , typename... Params>
void* Legion::MethodCapture< Ret, T, Method, Params >::myObject
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)