FreeRTOScpp
Loading...
Searching...
No Matches
MemberFunctionCallback< Tc, Tr > Class Template Referenceabstract

#include <CallBack.h>

Inheritance diagram for MemberFunctionCallback< Tc, Tr >:
Collaboration diagram for MemberFunctionCallback< Tc, Tr >:

Public Member Functions

 MemberFunctionCallback (Tc *obj, Tr(Tc::*fun)())
 
virtual ~MemberFunctionCallback ()
 
virtual Tr callback (void, void)=0
 
virtual Tr callback ()
 
void setFun (Tr Tc::*fun())
 
void setObj (Tc *obj)
 

Protected Attributes

Tr(Tc::* m_fun )()
 
Tc * m_obj
 

Constructor & Destructor Documentation

◆ MemberFunctionCallback()

template<class Tc , class Tr >
MemberFunctionCallback< Tc, Tr >::MemberFunctionCallback ( Tc * obj,
Tr(Tc::* fun )() )
inline

◆ ~MemberFunctionCallback()

template<class Tc , class Tr >
virtual MemberFunctionCallback< Tc, Tr >::~MemberFunctionCallback ( )
inlinevirtual

Member Function Documentation

◆ callback() [1/2]

virtual Tr CallBack< Tr, void, void >::callback ( void ,
void  )
pure virtualinherited

◆ callback() [2/2]

template<class Tc , class Tr >
virtual Tr MemberFunctionCallback< Tc, Tr >::callback ( )
inlinevirtual

◆ setFun()

template<class Tc , class Tr >
void MemberFunctionCallback< Tc, Tr >::setFun ( Tr Tc::* fun())
inline

◆ setObj()

template<class Tc , class Tr >
void MemberFunctionCallback< Tc, Tr >::setObj ( Tc * obj)
inline

Member Data Documentation

◆ m_fun

template<class Tc , class Tr >
Tr(Tc::* MemberFunctionCallback< Tc, Tr >::m_fun) ()
protected

◆ m_obj

template<class Tc , class Tr >
Tc* MemberFunctionCallback< Tc, Tr >::m_obj
protected

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