#include <vxml.h>
PVXMLSession::PVXMLSession | ( | PTextToSpeech * | tts = NULL , |
|
BOOL | autoDelete = FALSE | |||
) |
virtual PVXMLSession::~PVXMLSession | ( | ) | [virtual] |
void PVXMLSession::SetFinishWhenEmpty | ( | BOOL | v | ) | [inline] |
PTextToSpeech* PVXMLSession::SetTextToSpeech | ( | PTextToSpeech * | _tts, | |
BOOL | autoDelete = FALSE | |||
) |
PTextToSpeech* PVXMLSession::SetTextToSpeech | ( | const PString & | ttsName | ) |
PTextToSpeech* PVXMLSession::GetTextToSpeech | ( | ) | [inline] |
virtual BOOL PVXMLSession::Load | ( | const PString & | source | ) | [virtual] |
virtual BOOL PVXMLSession::LoadFile | ( | const PFilePath & | file | ) | [virtual] |
virtual BOOL PVXMLSession::LoadURL | ( | const PURL & | url | ) | [virtual] |
virtual BOOL PVXMLSession::LoadVXML | ( | const PString & | xml | ) | [virtual] |
virtual BOOL PVXMLSession::IsLoaded | ( | ) | const [inline, virtual] |
virtual BOOL PVXMLSession::Open | ( | BOOL | isPCM | ) | [virtual] |
virtual BOOL PVXMLSession::Open | ( | const PString & | mediaFormat | ) | [virtual] |
virtual BOOL PVXMLSession::Close | ( | ) | [virtual] |
Close the channel. This will detach itself from the read and write channels and delete both of them if they are auto delete.
Reimplemented from PIndirectChannel.
BOOL PVXMLSession::Execute | ( | ) |
PVXMLChannel* PVXMLSession::GetAndLockVXMLChannel | ( | ) | [inline] |
void PVXMLSession::UnLockVXMLChannel | ( | ) | [inline] |
PMutex& PVXMLSession::GetSessionMutex | ( | ) | [inline] |
BOOL PVXMLSession::LoadGrammar | ( | PVXMLGrammar * | grammar | ) |
virtual BOOL PVXMLSession::PlayText | ( | const PString & | text, | |
PTextToSpeech::TextType | type = PTextToSpeech::Default , |
|||
PINDEX | repeat = 1 , |
|||
PINDEX | delay = 0 | |||
) | [virtual] |
BOOL PVXMLSession::ConvertTextToFilenameList | ( | const PString & | _text, | |
PTextToSpeech::TextType | type, | |||
PStringArray & | list, | |||
BOOL | useCacheing | |||
) |
virtual BOOL PVXMLSession::PlayFile | ( | const PString & | fn, | |
PINDEX | repeat = 1 , |
|||
PINDEX | delay = 0 , |
|||
BOOL | autoDelete = FALSE | |||
) | [virtual] |
virtual BOOL PVXMLSession::PlayData | ( | const PBYTEArray & | data, | |
PINDEX | repeat = 1 , |
|||
PINDEX | delay = 0 | |||
) | [virtual] |
virtual BOOL PVXMLSession::PlayCommand | ( | const PString & | data, | |
PINDEX | repeat = 1 , |
|||
PINDEX | delay = 0 | |||
) | [virtual] |
virtual BOOL PVXMLSession::PlayResource | ( | const PURL & | url, | |
PINDEX | repeat = 1 , |
|||
PINDEX | delay = 0 | |||
) | [virtual] |
virtual BOOL PVXMLSession::PlaySilence | ( | PINDEX | msecs = 0 |
) | [virtual] |
virtual BOOL PVXMLSession::PlaySilence | ( | const PTimeInterval & | timeout | ) | [virtual] |
virtual void PVXMLSession::SetPause | ( | BOOL | pause | ) | [virtual] |
virtual void PVXMLSession::GetBeepData | ( | PBYTEArray & | data, | |
unsigned | ms | |||
) | [virtual] |
virtual BOOL PVXMLSession::StartRecording | ( | const PFilePath & | fn, | |
BOOL | recordDTMFTerm, | |||
const PTimeInterval & | recordMaxTime, | |||
const PTimeInterval & | recordFinalSilence | |||
) | [virtual] |
virtual BOOL PVXMLSession::EndRecording | ( | ) | [virtual] |
virtual BOOL PVXMLSession::IsPlaying | ( | ) | const [virtual] |
virtual BOOL PVXMLSession::IsRecording | ( | ) | const [virtual] |
virtual BOOL PVXMLSession::OnUserInput | ( | const PString & | str | ) | [virtual] |
PString PVXMLSession::GetXMLError | ( | ) | const |
virtual void PVXMLSession::OnEndSession | ( | ) | [inline, virtual] |
virtual BOOL PVXMLSession::RetreiveResource | ( | const PURL & | url, | |
PString & | contentType, | |||
PFilePath & | fn, | |||
BOOL | useCache = TRUE | |||
) | [virtual] |
PVXMLSession::PDECLARE_NOTIFIER | ( | PThread | , | |
PVXMLSession | , | |||
VXMLExecute | ||||
) |
virtual BOOL PVXMLSession::DoTransfer | ( | const PVXMLTransferOptions & | ) | [inline, virtual] |
virtual void PVXMLSession::OnTransfer | ( | const PVXMLTransferResult & | ) | [virtual] |
void PVXMLSession::SetCallingToken | ( | PString & | token | ) | [inline] |
PXMLElement* PVXMLSession::FindHandler | ( | const PString & | event | ) |
PWAVFile* PVXMLSession::CreateWAVFile | ( | const PFilePath & | fn, | |
PFile::OpenMode | mode, | |||
int | opts, | |||
unsigned | fmt | |||
) | [virtual] |
Implements PVXMLChannelInterface.
void PVXMLSession::OnEndRecording | ( | const PString & | channelName | ) | [virtual] |
Implements PVXMLChannelInterface.
void PVXMLSession::RecordEnd | ( | ) | [virtual] |
Implements PVXMLChannelInterface.
void PVXMLSession::Trigger | ( | ) | [virtual] |
Implements PVXMLChannelInterface.
void PVXMLSession::Initialise | ( | ) | [protected] |
void PVXMLSession::AllowClearCall | ( | ) | [protected] |
void PVXMLSession::ProcessUserInput | ( | ) | [protected] |
void PVXMLSession::ProcessNode | ( | ) | [protected] |
void PVXMLSession::ProcessGrammar | ( | ) | [protected] |
BOOL PVXMLSession::TraverseAudio | ( | ) | [protected] |
BOOL PVXMLSession::TraverseGoto | ( | ) | [protected] |
BOOL PVXMLSession::TraverseGrammar | ( | ) | [protected] |
BOOL PVXMLSession::TraverseRecord | ( | ) | [protected] |
BOOL PVXMLSession::TraverseIf | ( | ) | [protected] |
BOOL PVXMLSession::TraverseExit | ( | ) | [protected] |
BOOL PVXMLSession::TraverseVar | ( | ) | [protected] |
BOOL PVXMLSession::TraverseSubmit | ( | ) | [protected] |
BOOL PVXMLSession::TraverseMenu | ( | ) | [protected] |
BOOL PVXMLSession::TraverseChoice | ( | const PString & | grammarResult | ) | [protected] |
BOOL PVXMLSession::TraverseProperty | ( | ) | [protected] |
static PTimeInterval PVXMLSession::StringToTime | ( | const PString & | str | ) | [static, protected] |
PXMLElement* PVXMLSession::FindForm | ( | const PString & | id | ) | [protected] |
virtual BOOL PVXMLSession::TraverseTransfer | ( | ) | [protected, virtual] |
PSyncPoint PVXMLSession::waitForEvent [protected] |
PMutex PVXMLSession::sessionMutex [protected] |
PXML PVXMLSession::xmlFile [protected] |
PVXMLGrammar* PVXMLSession::activeGrammar [protected] |
BOOL PVXMLSession::listening [protected] |
int PVXMLSession::timeout [protected] |
PStringToString PVXMLSession::sessionVars [protected] |
PStringToString PVXMLSession::documentVars [protected] |
PMutex PVXMLSession::userInputMutex [protected] |
std::queue<char> PVXMLSession::userInputQueue [protected] |
BOOL PVXMLSession::recording [protected] |
PFilePath PVXMLSession::recordFn [protected] |
BOOL PVXMLSession::recordDTMFTerm [protected] |
PTimeInterval PVXMLSession::recordMaxTime [protected] |
PTimeInterval PVXMLSession::recordFinalSilence [protected] |
PSyncPoint PVXMLSession::recordSync [protected] |
BOOL PVXMLSession::loaded [protected] |
BOOL PVXMLSession::finishWhenEmpty [protected] |
BOOL PVXMLSession::allowFinish [protected] |
PURL PVXMLSession::rootURL [protected] |
BOOL PVXMLSession::emptyAction [protected] |
PThread* PVXMLSession::vxmlThread [protected] |
BOOL PVXMLSession::threadRunning [protected] |
BOOL PVXMLSession::forceEnd [protected] |
PString PVXMLSession::mediaFormat [protected] |
PVXMLChannel* PVXMLSession::vxmlChannel [protected] |
PTextToSpeech* PVXMLSession::textToSpeech [protected] |
BOOL PVXMLSession::autoDeleteTextToSpeech [protected] |
PXMLElement* PVXMLSession::currentForm [protected] |
PXMLElement* PVXMLSession::currentField [protected] |
PXMLObject* PVXMLSession::currentNode [protected] |