OPAL Version 3.10.2
|
#include <rfc2833.h>
Public Types | |
enum | NTEEvent { Digit0 = 0, Digit1 = 1, Digit2 = 2, Digit3 = 3, Digit4 = 4, Digit5 = 5, Digit6 = 6, Digit7 = 7, Digit8 = 8, Digit9 = 9, Star = 10, Hash = 11, A = 12, B = 13, C = 14, D = 15, Flash = 16, CED = 32, CNG = 36 } |
Public Member Functions | |
OpalRFC2833Info (char tone, unsigned duration=0, unsigned timestamp=0) | |
char | GetTone () const |
unsigned | GetDuration () const |
unsigned | GetTimestamp () const |
bool | IsToneStart () const |
Protected Attributes | |
char | tone |
unsigned | duration |
unsigned | timestamp |
OpalRFC2833Info::OpalRFC2833Info | ( | char | tone, |
unsigned | duration = 0 , |
||
unsigned | timestamp = 0 |
||
) |
unsigned OpalRFC2833Info::GetDuration | ( | ) | const [inline] |
References duration.
unsigned OpalRFC2833Info::GetTimestamp | ( | ) | const [inline] |
References timestamp.
char OpalRFC2833Info::GetTone | ( | ) | const [inline] |
References tone.
bool OpalRFC2833Info::IsToneStart | ( | ) | const [inline] |
References duration.
unsigned OpalRFC2833Info::duration [protected] |
Referenced by GetDuration(), and IsToneStart().
unsigned OpalRFC2833Info::timestamp [protected] |
Referenced by GetTimestamp().
char OpalRFC2833Info::tone [protected] |
Referenced by GetTone().