|
Public Member Functions |
| | PVXMLSession (PTextToSpeech *tts=NULL, BOOL autoDelete=FALSE) |
| virtual | ~PVXMLSession () |
| void | SetFinishWhenEmpty (BOOL v) |
| PTextToSpeech * | SetTextToSpeech (PTextToSpeech *_tts, BOOL autoDelete=FALSE) |
| PTextToSpeech * | SetTextToSpeech (const PString &ttsName) |
| PTextToSpeech * | GetTextToSpeech () |
| virtual BOOL | Load (const PString &source) |
| virtual BOOL | LoadFile (const PFilePath &file) |
| virtual BOOL | LoadURL (const PURL &url) |
| virtual BOOL | LoadVXML (const PString &xml) |
| virtual BOOL | IsLoaded () const |
| virtual BOOL | Open (BOOL isPCM) |
| virtual BOOL | Open (const PString &mediaFormat) |
| virtual BOOL | Close () |
| BOOL | Execute () |
| PVXMLChannel * | GetAndLockVXMLChannel () |
| void | UnLockVXMLChannel () |
| PMutex & | GetSessionMutex () |
| BOOL | LoadGrammar (PVXMLGrammar *grammar) |
| virtual BOOL | PlayText (const PString &text, PTextToSpeech::TextType type=PTextToSpeech::Default, PINDEX repeat=1, PINDEX delay=0) |
| BOOL | ConvertTextToFilenameList (const PString &_text, PTextToSpeech::TextType type, PStringArray &list, BOOL useCacheing) |
| virtual BOOL | PlayFile (const PString &fn, PINDEX repeat=1, PINDEX delay=0, BOOL autoDelete=FALSE) |
| virtual BOOL | PlayData (const PBYTEArray &data, PINDEX repeat=1, PINDEX delay=0) |
| virtual BOOL | PlayCommand (const PString &data, PINDEX repeat=1, PINDEX delay=0) |
| virtual BOOL | PlayResource (const PURL &url, PINDEX repeat=1, PINDEX delay=0) |
| virtual BOOL | PlaySilence (PINDEX msecs=0) |
| virtual BOOL | PlaySilence (const PTimeInterval &timeout) |
| virtual void | SetPause (BOOL pause) |
| virtual void | GetBeepData (PBYTEArray &data, unsigned ms) |
| virtual BOOL | StartRecording (const PFilePath &fn, BOOL recordDTMFTerm, const PTimeInterval &recordMaxTime, const PTimeInterval &recordFinalSilence) |
| virtual BOOL | EndRecording () |
| virtual BOOL | IsPlaying () const |
| virtual BOOL | IsRecording () const |
| virtual BOOL | OnUserInput (const PString &str) |
| PString | GetXMLError () const |
| virtual void | OnEndSession () |
| virtual PString | GetVar (const PString &str) const |
| virtual void | SetVar (const PString &ostr, const PString &val) |
| virtual PString | EvaluateExpr (const PString &oexpr) |
| virtual BOOL | RetreiveResource (const PURL &url, PString &contentType, PFilePath &fn, BOOL useCache=TRUE) |
| | PDECLARE_NOTIFIER (PThread, PVXMLSession, VXMLExecute) |
| virtual BOOL | DoTransfer (const PVXMLTransferOptions &) |
| virtual void | OnTransfer (const PVXMLTransferResult &) |
| void | SetCallingToken (PString &token) |
| PXMLElement * | FindHandler (const PString &event) |
| PWAVFile * | CreateWAVFile (const PFilePath &fn, PFile::OpenMode mode, int opts, unsigned fmt) |
| void | OnEndRecording (const PString &channelName) |
| void | RecordEnd () |
| void | Trigger () |
Protected Member Functions |
| void | Initialise () |
| void | AllowClearCall () |
| void | ProcessUserInput () |
| void | ProcessNode () |
| void | ProcessGrammar () |
| BOOL | TraverseAudio () |
| BOOL | TraverseGoto () |
| BOOL | TraverseGrammar () |
| BOOL | TraverseRecord () |
| BOOL | TraverseIf () |
| BOOL | TraverseExit () |
| BOOL | TraverseVar () |
| BOOL | TraverseSubmit () |
| BOOL | TraverseMenu () |
| BOOL | TraverseChoice (const PString &grammarResult) |
| BOOL | TraverseProperty () |
| void | SayAs (const PString &className, const PString &text) |
| PURL | NormaliseResourceName (const PString &src) |
| PXMLElement * | FindForm (const PString &id) |
| virtual BOOL | TraverseTransfer () |
Static Protected Member Functions |
| static PTimeInterval | StringToTime (const PString &str) |
Protected Attributes |
| PSyncPoint | waitForEvent |
| PMutex | sessionMutex |
| PXML | xmlFile |
| PVXMLGrammar * | activeGrammar |
| BOOL | listening |
| int | timeout |
| PStringToString | sessionVars |
| PStringToString | documentVars |
| PMutex | userInputMutex |
| std::queue< char > | userInputQueue |
| BOOL | recording |
| PFilePath | recordFn |
| BOOL | recordDTMFTerm |
| PTimeInterval | recordMaxTime |
| PTimeInterval | recordFinalSilence |
| PSyncPoint | recordSync |
| BOOL | loaded |
| BOOL | finishWhenEmpty |
| BOOL | allowFinish |
| PURL | rootURL |
| BOOL | emptyAction |
| PThread * | vxmlThread |
| BOOL | threadRunning |
| BOOL | forceEnd |
| PString | mediaFormat |
| PVXMLChannel * | vxmlChannel |
| PTextToSpeech * | textToSpeech |
| BOOL | autoDeleteTextToSpeech |
| PXMLElement * | currentForm |
| PXMLElement * | currentField |
| PXMLObject * | currentNode |