FreeRTOScpp
Loading...
Searching...
No Matches
TimerMember< T > Class Template Reference

#include <TimerCPP.h>

Inheritance diagram for TimerMember< T >:
Collaboration diagram for TimerMember< T >:

Public Member Functions

 TimerMember (char const *name_, T *obj_, void(T::*func_)(), TickType_t period_, UBaseType_t reload)
 
bool active ()
 
TickType_t expiryTime ()
 
const char * name ()
 
TickType_t period ()
 
bool period (TickType_t period_, TickType_t wait=portMAX_DELAY)
 
bool periodISR (TickType_t period_, portBASE_TYPE &waswoken)
 
bool reset (TickType_t wait=portMAX_DELAY)
 
bool resetISR (portBASE_TYPE &waswoken)
 
bool start (TickType_t wait=portMAX_DELAY)
 
bool startISR (portBASE_TYPE &waswoken)
 
bool stop (TickType_t wait=portMAX_DELAY)
 
bool stopISR (portBASE_TYPE &waswoken)
 
virtual void timer ()
 

Protected Attributes

TimerHandle_t timerHandle
 

Static Private Member Functions

static void timerClassCallback (TimerHandle_t timerHandle)
 

Private Attributes

void(T::* func )()
 
T * obj
 

Constructor & Destructor Documentation

◆ TimerMember()

template<class T >
TimerMember< T >::TimerMember ( char const * name_,
T * obj_,
void(T::* func_ )(),
TickType_t period_,
UBaseType_t reload )
inline

Member Function Documentation

◆ active()

bool Timer::active ( )
inlineinherited

◆ expiryTime()

TickType_t Timer::expiryTime ( )
inlineinherited

◆ name()

const char * Timer::name ( )
inlineinherited

◆ period() [1/2]

TickType_t Timer::period ( )
inlineinherited

◆ period() [2/2]

bool Timer::period ( TickType_t period_,
TickType_t wait = portMAX_DELAY )
inlineinherited

◆ periodISR()

bool Timer::periodISR ( TickType_t period_,
portBASE_TYPE & waswoken )
inlineinherited

◆ reset()

bool Timer::reset ( TickType_t wait = portMAX_DELAY)
inlineinherited

◆ resetISR()

bool Timer::resetISR ( portBASE_TYPE & waswoken)
inlineinherited

◆ start()

bool Timer::start ( TickType_t wait = portMAX_DELAY)
inlineinherited

◆ startISR()

bool Timer::startISR ( portBASE_TYPE & waswoken)
inlineinherited

◆ stop()

bool Timer::stop ( TickType_t wait = portMAX_DELAY)
inlineinherited

◆ stopISR()

bool Timer::stopISR ( portBASE_TYPE & waswoken)
inlineinherited

◆ timer()

template<class T >
virtual void TimerMember< T >::timer ( )
inlinevirtual

Implements TimerClass.

◆ timerClassCallback()

static void TimerClass::timerClassCallback ( TimerHandle_t timerHandle)
inlinestaticprivateinherited

References TimerClass::timer().

Here is the call graph for this function:

Member Data Documentation

◆ func

template<class T >
void(T::* TimerMember< T >::func) ()
private

◆ obj

template<class T >
T* TimerMember< T >::obj
private

◆ timerHandle

TimerHandle_t Timer::timerHandle
protectedinherited

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