FreeRTOScpp
Loading...
Searching...
No Matches
FunctionCallback< Tr, Tp > Class Template Reference

#include <CallBack.h>

Inheritance diagram for FunctionCallback< Tr, Tp >:
Collaboration diagram for FunctionCallback< Tr, Tp >:

Public Member Functions

 FunctionCallback (Tr(*fun)(Tp))
 
virtual ~FunctionCallback ()
 
virtual Tr callback (Tp parm)
 
void setFun (Tr(*fun)(Tp))
 

Protected Attributes

Tr(* m_fun )(Tp)
 

Constructor & Destructor Documentation

◆ FunctionCallback()

template<class Tr , class Tp >
FunctionCallback< Tr, Tp >::FunctionCallback ( Tr(* fun )(Tp))
inline

◆ ~FunctionCallback()

template<class Tr , class Tp >
virtual FunctionCallback< Tr, Tp >::~FunctionCallback ( )
inlinevirtual

Member Function Documentation

◆ callback()

template<class Tr , class Tp >
virtual Tr FunctionCallback< Tr, Tp >::callback ( Tp parm)
inlinevirtual

Implements CallBack< Tr, Tp >.

◆ setFun()

template<class Tr , class Tp >
void FunctionCallback< Tr, Tp >::setFun ( Tr(* fun )(Tp))
inline

Member Data Documentation

◆ m_fun

template<class Tr , class Tp >
Tr(* FunctionCallback< Tr, Tp >::m_fun) (Tp)
protected

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