abs_eap_base_timer_c Class Reference

class abs_eap_base_timer_c

An interface class of timer events. Each class whishing to use timer must be derived from class abs_eap_base_timer_c .

Constructor & Destructor Documentation

abs_eap_base_timer_c()

abs_eap_base_timer_c ( ) [inline]

The constructor of the abs_eap_base_timer_c class does nothing special.

~abs_eap_base_timer_c()

~abs_eap_base_timer_c ( ) [inline, virtual]

The destructor of the abs_eap_base_timer_c class does nothing special.

Member Functions Documentation

timer_delete_data(const u32_t, void *)

eap_status_e timer_delete_data ( const u32_t id,
void * data
) [pure virtual]

This function is called when timer event is deleted. Initialiser of the data must delete the data. Only the initializer knows the real type of data.

Parameters

const u32_t id could be used to separate different timer events.
void * data could be pointer to any data that is needed in timer processing.

timer_expired(const u32_t, void *)

eap_status_e timer_expired ( const u32_t id,
void * data
) [pure virtual]

Function timer_expired() is called after the timer is elapsed.

Parameters

const u32_t id could be used to separate different timer events.
void * data could be pointer to any data that is needed in timer processing.