TToneData Class Reference

class TToneData
Public Member Functions
TToneData ()
IMPORT_C TDesC * GetDTMFString ()
IMPORT_C void GetDtmfLenghts ( TTimeIntervalMicroSeconds32 &, TTimeIntervalMicroSeconds32 &, TTimeIntervalMicroSeconds32 &)
IMPORT_C void GetDuration ( TTimeIntervalMicroSeconds &)
IMPORT_C TInt GetFrequencyOne ()
IMPORT_C TInt GetFrequencyTwo ()
IMPORT_C TInt GetRepeatCount ()
IMPORT_C void GetRepeatTrailingSilence ( TTimeIntervalMicroSeconds &)
IMPORT_C TDesC8 * GetSequenceData ()
IMPORT_C TInt GetSequenceNumber ()
IMPORT_C void GetType ( TToneType &)
IMPORT_C void SetDTMFString ( TDesC &)
IMPORT_C void SetDtmfLengths ( TTimeIntervalMicroSeconds32 , TTimeIntervalMicroSeconds32 , TTimeIntervalMicroSeconds32 )
IMPORT_C void SetDuration ( TTimeIntervalMicroSeconds )
IMPORT_C void SetFrequencyOne ( TInt )
IMPORT_C void SetFrequencyTwo ( TInt )
IMPORT_C void SetRepeatCount ( TInt )
IMPORT_C void SetRepeatTrailingSilence ( TTimeIntervalMicroSeconds )
IMPORT_C void SetSequenceData ( TDesC8 &)
IMPORT_C void SetSequenceNumber ( TInt )
IMPORT_C void SetType ( TToneType )
Public Member Enumerations
enum TToneType { ESimple  = 0, EDual  = 1, EDtmfString  = 2, ESequence  = 3, EFixedSequence  = 4 }
Private Attributes
TDesC * iDTMFString
TTimeIntervalMicroSeconds iDuration
TInt iFrequencyOne
TInt iFrequencyTwo
TTimeIntervalMicroSeconds32 iPauseLength
TInt iRepeatCount
TTimeIntervalMicroSeconds iRepeatTrainglingSilence
TDesC8 * iSequenceData
TInt iSequenceNumber
TTimeIntervalMicroSeconds32 iToneOffLength
TTimeIntervalMicroSeconds32 iToneOnLength
TToneType iType

Constructor & Destructor Documentation

TToneData()

IMPORT_C TToneData ( )

Member Functions Documentation

GetDTMFString()

IMPORT_C TDesC * GetDTMFString ( )

GetDtmfLenghts(TTimeIntervalMicroSeconds32 &, TTimeIntervalMicroSeconds32 &, TTimeIntervalMicroSeconds32 &)

IMPORT_C void GetDtmfLenghts ( TTimeIntervalMicroSeconds32 & aToneOnLength,
TTimeIntervalMicroSeconds32 & aToneOffLength,
TTimeIntervalMicroSeconds32 & aPauseLength
)

GetDuration(TTimeIntervalMicroSeconds &)

IMPORT_C void GetDuration ( TTimeIntervalMicroSeconds & aDuration )

Parameters

TTimeIntervalMicroSeconds & aDuration

GetFrequencyOne()

IMPORT_C TInt GetFrequencyOne ( )

GetFrequencyTwo()

IMPORT_C TInt GetFrequencyTwo ( )

GetRepeatCount()

IMPORT_C TInt GetRepeatCount ( )

GetRepeatTrailingSilence(TTimeIntervalMicroSeconds &)

IMPORT_C void GetRepeatTrailingSilence ( TTimeIntervalMicroSeconds & aRepeatTrailingSilence )

Parameters

TTimeIntervalMicroSeconds & aRepeatTrailingSilence

GetSequenceData()

IMPORT_C TDesC8 * GetSequenceData ( )

GetSequenceNumber()

IMPORT_C TInt GetSequenceNumber ( )

GetType(TToneType &)

IMPORT_C void GetType ( TToneType & aType )

Parameters

TToneType & aType

SetDTMFString(TDesC &)

IMPORT_C void SetDTMFString ( TDesC & aDTMFString )

Parameters

TDesC & aDTMFString

SetDtmfLengths(TTimeIntervalMicroSeconds32, TTimeIntervalMicroSeconds32, TTimeIntervalMicroSeconds32)

IMPORT_C void SetDtmfLengths ( TTimeIntervalMicroSeconds32 aToneOnLength,
TTimeIntervalMicroSeconds32 aToneOffLength,
TTimeIntervalMicroSeconds32 aPauseLength
)

SetDuration(TTimeIntervalMicroSeconds)

IMPORT_C void SetDuration ( TTimeIntervalMicroSeconds aDuration )

Parameters

TTimeIntervalMicroSeconds aDuration

SetFrequencyOne(TInt)

IMPORT_C void SetFrequencyOne ( TInt aFrequencyOne )

Parameters

TInt aFrequencyOne

SetFrequencyTwo(TInt)

IMPORT_C void SetFrequencyTwo ( TInt aFrequencyTwo )

Parameters

TInt aFrequencyTwo

SetRepeatCount(TInt)

IMPORT_C void SetRepeatCount ( TInt aRepeatCount )

Parameters

TInt aRepeatCount

SetRepeatTrailingSilence(TTimeIntervalMicroSeconds)

IMPORT_C void SetRepeatTrailingSilence ( TTimeIntervalMicroSeconds aRepeatTrailingSilence )

Parameters

TTimeIntervalMicroSeconds aRepeatTrailingSilence

SetSequenceData(TDesC8 &)

IMPORT_C void SetSequenceData ( TDesC8 & aSequenceData )

Parameters

TDesC8 & aSequenceData

SetSequenceNumber(TInt)

IMPORT_C void SetSequenceNumber ( TInt aSequenceNumber )

Parameters

TInt aSequenceNumber

SetType(TToneType)

IMPORT_C void SetType ( TToneType aType )

Parameters

TToneType aType

Member Enumerations Documentation

Enum TToneType

Enumerators

ESimple = 0
EDual = 1
EDtmfString = 2
ESequence = 3
EFixedSequence = 4

Member Data Documentation

TDesC * iDTMFString

TDesC * iDTMFString [private]

TTimeIntervalMicroSeconds iDuration

TTimeIntervalMicroSeconds iDuration [private]

TInt iFrequencyOne

TInt iFrequencyOne [private]

TInt iFrequencyTwo

TInt iFrequencyTwo [private]

TTimeIntervalMicroSeconds32 iPauseLength

TTimeIntervalMicroSeconds32 iPauseLength [private]

TInt iRepeatCount

TInt iRepeatCount [private]

TTimeIntervalMicroSeconds iRepeatTrainglingSilence

TTimeIntervalMicroSeconds iRepeatTrainglingSilence [private]

TDesC8 * iSequenceData

TDesC8 * iSequenceData [private]

TInt iSequenceNumber

TInt iSequenceNumber [private]

TTimeIntervalMicroSeconds32 iToneOffLength

TTimeIntervalMicroSeconds32 iToneOffLength [private]

TTimeIntervalMicroSeconds32 iToneOnLength

TTimeIntervalMicroSeconds32 iToneOnLength [private]

TToneType iType

TToneType iType [private]