Loading...
Searching...
No Matches
Data Fields
as_timer_hooks Struct Reference

Detailed Description

The interface which all timer should implement.

Definition at line 34 of file as_timer.h.

#include "as_timer.h"

+ Collaboration diagram for as_timer_hooks:

Data Fields

int(* destroy )(struct as_timer_s *)
 
bool(* timedout )(const struct as_timer_s *)
 
uint64_t(* timeslice )(const struct as_timer_s *)
 

Field Documentation

◆ destroy

int(* as_timer_hooks::destroy) (struct as_timer_s *)

The destroy should free resources associated with the timer's source. The destroy should not free the timer itself.

Definition at line 39 of file as_timer.h.

◆ timedout

bool(* as_timer_hooks::timedout) (const struct as_timer_s *)

Definition at line 40 of file as_timer.h.

◆ timeslice

uint64_t(* as_timer_hooks::timeslice) (const struct as_timer_s *)

Definition at line 41 of file as_timer.h.


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