#include <CCallbackWrapper.h>
Public Types | |
typedef CMemberFunctionTraits < MemberFuncPtr > | traits |
Related types. | |
typedef traits::object_reference | reference |
Reference to object. | |
Public Member Functions | |
CCallbackWrapper (reference value, MemberFuncPtr ptr) | |
Constructor. | |
Friends | |
class | CCallbackFacade< self, typename traits::result_type, typename traits::argument_type > |
Facade which defines operator() needs to access private members. |
A reference of a given object is stored as well as the function pointer. operator()
does the actual application.
typedef CMemberFunctionTraits<MemberFuncPtr> polybori::CCallbackWrapper< MemberFuncPtr >::traits |
Related types.
typedef traits::object_reference polybori::CCallbackWrapper< MemberFuncPtr >::reference |
Reference to object.
polybori::CCallbackWrapper< MemberFuncPtr >::CCallbackWrapper | ( | reference | value, | |
MemberFuncPtr | ptr | |||
) | [inline] |
Constructor.
friend class CCallbackFacade< self, typename traits::result_type,typename traits::argument_type > [friend] |
Facade which defines operator()
needs to access private members.