FreeSWITCH API Documentation  1.7.0
Data Fields
switch_timer Struct Reference

Abstract handler to a timer module. More...

#include <switch_module_interfaces.h>

+ Collaboration diagram for switch_timer:

Data Fields

int interval
 
uint32_t flags
 
unsigned int samples
 
uint32_t samplecount
 
switch_timer_interface_ttimer_interface
 
switch_memory_pool_tmemory_pool
 
void * private_info
 
switch_size_t diff
 
switch_time_t start
 
uint64_t tick
 

Detailed Description

Abstract handler to a timer module.

Definition at line 201 of file switch_module_interfaces.h.

Field Documentation

switch_size_t switch_timer::diff

remaining time from last call to _check()

Definition at line 217 of file switch_module_interfaces.h.

Referenced by timer_check().

uint32_t switch_timer::flags

flags to control behaviour

Definition at line 205 of file switch_module_interfaces.h.

int switch_timer::interval
switch_memory_pool_t* switch_timer::memory_pool

the timer's memory pool

Definition at line 213 of file switch_module_interfaces.h.

Referenced by timer_init().

void* switch_timer::private_info

private data for loadable modules to store information

Definition at line 215 of file switch_module_interfaces.h.

Referenced by timer_check(), timer_destroy(), timer_init(), timer_next(), timer_step(), and timer_sync().

uint32_t switch_timer::samplecount
unsigned int switch_timer::samples

sample count to increment by on each cycle

Definition at line 207 of file switch_module_interfaces.h.

Referenced by timer_generic_sync(), and timer_step().

switch_time_t switch_timer::start

Definition at line 218 of file switch_module_interfaces.h.

Referenced by timer_generic_sync(), and timer_init().

uint64_t switch_timer::tick
switch_timer_interface_t* switch_timer::timer_interface

the timer interface provided from a loadable module

Definition at line 211 of file switch_module_interfaces.h.

Referenced by switch_core_session_write_video_frame(), and switch_media_handle_destroy().


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