FreeRTOScpp
FreeRTOScpp::CallBack< Tr, Tp1, Tp2 > Class Template Referenceabstract

Base callback with two parameters. More...

#include <CallBack.h>

Inheritance diagram for FreeRTOScpp::CallBack< Tr, Tp1, Tp2 >:

Public Member Functions

 CallBack ()
 
virtual ~CallBack ()
 
virtual Tr callback (Tp1, Tp2)=0
 

Detailed Description

template<class Tr = void, class Tp1 = void, class Tp2 = void>
class FreeRTOScpp::CallBack< Tr, Tp1, Tp2 >

Base callback with two parameters.

This is an abstract base class, where the derived class should define the callBack function.

Template Parameters
TrThe return type for the callback function
Tp1The first parameter type, if void, there are no parameters
Tp2The second parameter type, if void, only one parameter (unless Tp1 is void)

Constructor & Destructor Documentation

◆ CallBack()

template<class Tr = void, class Tp1 = void, class Tp2 = void>
FreeRTOScpp::CallBack< Tr, Tp1, Tp2 >::CallBack ( )
inline

◆ ~CallBack()

template<class Tr = void, class Tp1 = void, class Tp2 = void>
virtual FreeRTOScpp::CallBack< Tr, Tp1, Tp2 >::~CallBack ( )
inlinevirtual

Member Function Documentation

◆ callback()

template<class Tr = void, class Tp1 = void, class Tp2 = void>
virtual Tr FreeRTOScpp::CallBack< Tr, Tp1, Tp2 >::callback ( Tp1  ,
Tp2   
)
pure virtual

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