FreeRTOScpp
FreeRTOScpp::TimerMember< T > Class Template Reference

#include <TimerCPP.h>

Inheritance diagram for FreeRTOScpp::TimerMember< T >:
Collaboration diagram for FreeRTOScpp::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 period (Time_ms period_, TickType_t wait=portMAX_DELAY)
 
bool period (Time_ms period_, Time_ms wait)
 
bool periodISR (TickType_t period_, portBASE_TYPE &waswoken)
 
bool periodISR (Time_ms period_, portBASE_TYPE &waswoken)
 
bool reset (TickType_t wait=portMAX_DELAY)
 
bool reset (Time_ms wait)
 
bool resetISR (portBASE_TYPE &waswoken)
 
bool start (TickType_t wait=portMAX_DELAY)
 
bool start (Time_ms wait)
 
bool startISR (portBASE_TYPE &waswoken)
 
bool stop (TickType_t wait=portMAX_DELAY)
 
bool stop (Time_ms wait)
 
bool stopISR (portBASE_TYPE &waswoken)
 
virtual void timer ()
 

Protected Attributes

TimerHandle_t timerHandle
 

Private Attributes

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

Constructor & Destructor Documentation

◆ TimerMember()

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

Member Function Documentation

◆ active()

bool FreeRTOScpp::Timer::active ( )
inlineinherited

◆ expiryTime()

TickType_t FreeRTOScpp::Timer::expiryTime ( )
inlineinherited

◆ name()

const char* FreeRTOScpp::Timer::name ( )
inlineinherited

◆ period() [1/4]

TickType_t FreeRTOScpp::Timer::period ( )
inlineinherited

◆ period() [2/4]

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

◆ period() [3/4]

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

References FreeRTOScpp::ms2ticks(), and FreeRTOScpp::Timer::timerHandle.

Here is the call graph for this function:

◆ period() [4/4]

bool FreeRTOScpp::Timer::period ( Time_ms  period_,
Time_ms  wait 
)
inlineinherited

References FreeRTOScpp::ms2ticks(), and FreeRTOScpp::Timer::timerHandle.

Here is the call graph for this function:

◆ periodISR() [1/2]

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

◆ periodISR() [2/2]

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

References FreeRTOScpp::ms2ticks(), and FreeRTOScpp::Timer::timerHandle.

Here is the call graph for this function:

◆ reset() [1/2]

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

◆ reset() [2/2]

bool FreeRTOScpp::Timer::reset ( Time_ms  wait)
inlineinherited

References FreeRTOScpp::ms2ticks(), and FreeRTOScpp::Timer::timerHandle.

Here is the call graph for this function:

◆ resetISR()

bool FreeRTOScpp::Timer::resetISR ( portBASE_TYPE &  waswoken)
inlineinherited

◆ start() [1/2]

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

References FreeRTOScpp::Timer::timerHandle.

Referenced by FreeRTOScpp::Timer::Timer().

Here is the caller graph for this function:

◆ start() [2/2]

bool FreeRTOScpp::Timer::start ( Time_ms  wait)
inlineinherited

References FreeRTOScpp::ms2ticks(), and FreeRTOScpp::Timer::timerHandle.

Here is the call graph for this function:

◆ startISR()

bool FreeRTOScpp::Timer::startISR ( portBASE_TYPE &  waswoken)
inlineinherited

◆ stop() [1/2]

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

◆ stop() [2/2]

bool FreeRTOScpp::Timer::stop ( Time_ms  wait)
inlineinherited

References FreeRTOScpp::ms2ticks(), and FreeRTOScpp::Timer::timerHandle.

Here is the call graph for this function:

◆ stopISR()

bool FreeRTOScpp::Timer::stopISR ( portBASE_TYPE &  waswoken)
inlineinherited

◆ timer()

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

Member Data Documentation

◆ func

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

◆ obj

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

◆ timerHandle


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