FreeSWITCH API Documentation  1.7.0
Public Member Functions | Data Fields
DTMF Class Reference

#include <switch_cpp.h>

+ Collaboration diagram for DTMF:

Public Member Functions

 DTMF (char idigit, uint32_t iduration=SWITCH_DEFAULT_DTMF_DURATION)
 
virtual ~DTMF ()
 
 DTMF (char idigit, uint32_t iduration=SWITCH_DEFAULT_DTMF_DURATION)
 
virtual ~DTMF ()
 

Data Fields

char digit
 
uint32_t duration
 

Detailed Description

Definition at line 135 of file switch_cpp.h.

Constructor & Destructor Documentation

DTMF::DTMF ( char  idigit,
uint32_t  iduration = SWITCH_DEFAULT_DTMF_DURATION 
)

Definition at line 524 of file switch_cpp.cpp.

References digit, duration, and SWITCH_DEFAULT_DTMF_DURATION.

525 {
526  digit = idigit;
527 
528  if (iduration == 0) {
529  iduration = SWITCH_DEFAULT_DTMF_DURATION;
530  }
531 
532  duration = iduration;
533 }
#define SWITCH_DEFAULT_DTMF_DURATION
Definition: switch_types.h:115
char digit
Definition: switch_cpp.h:137
uint32_t duration
Definition: switch_cpp.h:138
DTMF::~DTMF ( )
virtual

Definition at line 535 of file switch_cpp.cpp.

536 {
537 
538 }
DTMF::DTMF ( char  idigit,
uint32_t  iduration = SWITCH_DEFAULT_DTMF_DURATION 
)
virtual DTMF::~DTMF ( )
virtual

Field Documentation

char DTMF::digit

Definition at line 137 of file switch_cpp.h.

Referenced by DTMF().

uint32_t DTMF::duration

Definition at line 138 of file switch_cpp.h.

Referenced by DTMF().


The documentation for this class was generated from the following files: