FreeRTOScpp
Loading...
Searching...
No Matches
CallBack< Tr, Tp1, Tp2 > Class Template Referenceabstract

Base callback with two parameters. More...

#include <CallBack.h>

Inheritance diagram for 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 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>
CallBack< Tr, Tp1, Tp2 >::CallBack ( )
inline

◆ ~CallBack()

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

Member Function Documentation

◆ callback()

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

Referenced by voidCallbackU32().

Here is the caller graph for this function:

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