COPASI API  4.40.278
CCallback< Callee > Class Template Reference

#include <CCallback.h>

Inheritance diagram for CCallback< Callee >:
[legend]

Public Member Functions

 CCallback (Callee *pInstance, void(Callee::*method)(void *, void *))
 
virtual void operator() (void *pData=NULL, void *pCaller=NULL)
 
virtual ~CCallback ()
 
- Public Member Functions inherited from CCallbackInterface
virtual ~CCallbackInterface ()
 

Private Member Functions

 CCallback ()
 

Private Attributes

void(Callee::* mMethod )(void *, void *)
 
Callee * mpInstance
 

Additional Inherited Members

- Public Types inherited from CCallbackInterface
typedef void(* Type) (void *, void *)
 

Constructor & Destructor Documentation

◆ CCallback() [1/2]

template<class Callee >
CCallback< Callee >::CCallback ( )
inlineprivate

◆ CCallback() [2/2]

template<class Callee >
CCallback< Callee >::CCallback ( Callee *  pInstance,
void(Callee::*)(void *, void *)  method 
)
inline

◆ ~CCallback()

template<class Callee >
virtual CCallback< Callee >::~CCallback ( )
inlinevirtual

Member Function Documentation

◆ operator()()

template<class Callee >
virtual void CCallback< Callee >::operator() ( void *  pData = NULL,
void *  pCaller = NULL 
)
inlinevirtual

Member Data Documentation

◆ mMethod

template<class Callee >
void(Callee::* CCallback< Callee >::mMethod) (void *, void *)
private

◆ mpInstance

template<class Callee >
Callee* CCallback< Callee >::mpInstance
private

The pointer to the instance of the caller

Referenced by CCallback< Callee >::operator()().


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