Main Page | Modules | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

switch_timer Struct Reference

#include <switch_module_interfaces.h>

Collaboration diagram for switch_timer:

Collaboration graph
[legend]

Detailed Description

Abstract handler to a timer module.


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


Field Documentation

switch_size_t switch_timer::diff
 

remaining time from last call to _check()

uint32_t switch_timer::flags
 

flags to control behaviour

int switch_timer::interval
 

time interval expressed in milliseconds

switch_memory_pool_t* switch_timer::memory_pool
 

the timer's memory pool

void* switch_timer::private_info
 

private data for loadable modules to store information

uint32_t switch_timer::samplecount
 

current sample count based on samples parameter

unsigned int switch_timer::samples
 

sample count to increment by on each cycle

switch_size_t switch_timer::tick
 

switch_timer_interface_t* switch_timer::timer_interface
 

the timer interface provided from a loadable module


The documentation for this struct was generated from the following file:
Generated on Fri Oct 10 11:24:20 2008 for FreeSWITCH by  doxygen 1.3.9.1