#include <ax/ax_speech.h>
Inheritance diagram for AxSpeechEventHandler:
Public Member Functions | |
AxSpeechEventHandler () | |
virtual bool | ProcessSpeechEvent (AxSpeech *speech, AxSpeechEvent &event)=0 |
AxSpeechEventHandler * | GetNextHandler () const |
void | SetNextHandler (AxSpeechEventHandler *handler) |
Static Public Member Functions | |
static bool | IsPunctuation (const wxChar &ch) |
Is this punctuation? | |
static bool | RemoveTrailingPunctuation (wxString &str) |
Remove trailing punctuation. | |
static bool | AddStop (wxString &str, const wxString &punct=wxT(".")) |
Add a full stop to the string, unless there's already one there. | |
static bool | AddPause (wxString &str, const wxString &punct=wxT(";")) |
Add a semicolon to the string to create a pause, unless there's already one there. | |
Protected Attributes | |
AxSpeechEventHandler * | m_nextHandler |
AxSpeechEventHandler::AxSpeechEventHandler | ( | ) | [inline] |
virtual bool AxSpeechEventHandler::ProcessSpeechEvent | ( | AxSpeech * | speech, | |
AxSpeechEvent & | event | |||
) | [pure virtual] |
Implemented in AxStandardSpeechEventHandler.
AxSpeechEventHandler* AxSpeechEventHandler::GetNextHandler | ( | ) | const [inline] |
void AxSpeechEventHandler::SetNextHandler | ( | AxSpeechEventHandler * | handler | ) | [inline] |
bool AxSpeechEventHandler::IsPunctuation | ( | const wxChar & | ch | ) | [static] |
Is this punctuation?
bool AxSpeechEventHandler::RemoveTrailingPunctuation | ( | wxString & | str | ) | [static] |
Remove trailing punctuation.
bool AxSpeechEventHandler::AddStop | ( | wxString & | str, | |
const wxString & | punct = wxT(".") | |||
) | [static] |
Add a full stop to the string, unless there's already one there.
Remove extra punctuation, e.g. semicolon.
bool AxSpeechEventHandler::AddPause | ( | wxString & | str, | |
const wxString & | punct = wxT(";") | |||
) | [static] |
Add a semicolon to the string to create a pause, unless there's already one there.
Remove extra punctuation.
AxSpeechEventHandler* AxSpeechEventHandler::m_nextHandler [protected] |