switch_timer Struct Reference

Abstract handler to a timer module. More...

#include <switch_module_interfaces.h>

Collaboration diagram for switch_timer:

[legend]

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_size_t tick

Detailed Description

Abstract handler to a timer module.

Definition at line 196 of file switch_module_interfaces.h.


Field Documentation

switch_size_t switch_timer::diff

remaining time from last call to _check()

Definition at line 212 of file switch_module_interfaces.h.

Referenced by timer_check().

uint32_t switch_timer::flags

flags to control behaviour

Definition at line 200 of file switch_module_interfaces.h.

int switch_timer::interval

time interval expressed in milliseconds

Definition at line 198 of file switch_module_interfaces.h.

Referenced by read_rtp_packet(), rtp_common_read(), switch_ivr_clear_speech_cache(), timer_check(), timer_destroy(), timer_init(), timer_next(), and timer_sync().

switch_memory_pool_t* switch_timer::memory_pool

the timer's memory pool

Definition at line 208 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 210 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

current sample count based on samples parameter

Definition at line 204 of file switch_module_interfaces.h.

Referenced by do_2833(), read_rtp_packet(), rtp_common_read(), rtp_common_write(), set_dtmf_delay(), switch_ivr_play_file(), and timer_step().

unsigned int switch_timer::samples

sample count to increment by on each cycle

Definition at line 202 of file switch_module_interfaces.h.

Referenced by timer_step().

switch_size_t switch_timer::tick

Definition at line 213 of file switch_module_interfaces.h.

Referenced by timer_check(), timer_next(), and timer_sync().

switch_timer_interface_t* switch_timer::timer_interface

the timer interface provided from a loadable module

Definition at line 206 of file switch_module_interfaces.h.


The documentation for this struct was generated from the following file:
Generated on Wed May 16 04:00:35 2012 for FreeSWITCH API Documentation by  doxygen 1.4.7