20 #ifndef _mtsCMUSphinx4QtComponent_h
21 #define _mtsCMUSphinx4QtComponent_h
50 QWidget * GetWidget(
void);
53 void WordRecognizedQSignal(QString word);
54 void NoWordRecognizedQSignal(
void);
55 void ContextChangedQSignal(QString word);
56 void WordAddedQSignal(QString context, QString word);
59 void TriggerWord(QString word);
65 void NoWordRecognizedHandler(
void);
66 void ContextChangedHandler(
const mtsStdString & context);
75 #endif // _mtsCMUSphinx4QtComponent_h
Defines the command interfaces.
Defines a function object to use a void command (mtsCommandVoid)
mtsFunctionRead GetContexts
Definition: mtsCMUSphinx4QtComponent.h:68
#define CISST_EXPORT
Definition: cmnExportMacros.h:50
mtsCMUSphinx4QtWidget CentralWidget
Definition: mtsCMUSphinx4QtComponent.h:62
Defines the command interfaces.
Definition: mtsFunctionRead.h:37
CMN_DECLARE_SERVICES_INSTANTIATION(mtsCMUSphinx4QtComponent)
#define CMN_UNUSED(argument)
Definition: cmnPortability.h:479
~mtsCMUSphinx4QtComponent(void)
Definition: mtsCMUSphinx4QtComponent.h:45
Definition: mtsFunctionQualifiedRead.h:37
#define CMN_LOG_LOD_RUN_ERROR
Definition: cmnLogLoD.h:93
void Configure(const std::string &CMN_UNUSED(filename)="")
Definition: mtsCMUSphinx4QtComponent.h:47
Definition: mtsCMUSphinx4QtComponent.h:38
Defines the command interfaces.
Declaration of mtsComponent.
mtsFunctionQualifiedRead GetContextWords
Definition: mtsCMUSphinx4QtComponent.h:69
Definition: mtsComponent.h:150
#define CMN_DECLARE_SERVICES(hasDynamicCreation, lod)
Definition: cmnClassRegisterMacros.h:116
mtsFunctionWrite TriggerWordFromUI
Definition: mtsCMUSphinx4QtComponent.h:70
Definition: mtsFunctionWrite.h:37
const int CMN_NO_DYNAMIC_CREATION
Definition: cmnClassRegisterMacros.h:328
Macros to export the symbols of cisstSpeechToCommands (in a Dll).