FreeRTOScpp
FreeRTOScpp::FunctionCallback< Tr, Tp > Class Template Reference

#include <CallBack.h>

Inheritance diagram for FreeRTOScpp::FunctionCallback< Tr, Tp >:
Collaboration diagram for FreeRTOScpp::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 >
FreeRTOScpp::FunctionCallback< Tr, Tp >::FunctionCallback ( Tr(*)(Tp)  fun)
inline

◆ ~FunctionCallback()

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

Member Function Documentation

◆ callback()

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

◆ setFun()

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

Member Data Documentation

◆ m_fun

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

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