Functions | |
void | log (const std::string &msgType, const std::string &msg) |
jmethodID | loadJavaMethodID (const std::string &functionName, const std::string &functionSignature) |
Variables | |
JNIEnv * | gEnv = NULL |
JavaVM * | gJVM = NULL |
jclass | gClass = NULL |
jmethodID | gInitID = NULL |
jmethodID | gDestroyID = NULL |
jmethodID | gSynthesizeID = NULL |
jmethodID | gStopSynthesizingID = NULL |
jmethodID | gGetRecognizerQueueSizeID = NULL |
jmethodID | gPopRecognizedStringID = NULL |
jmethodID | gSetRecognizerEnabledID = NULL |
jmethodID | gIsRecognizerEnabledID = NULL |
const std::string | gClassName = "voce/SpeechInterface" |
|
Finds and returns a method ID for the given function name and Java method signature. Definition at line 89 of file voce.h. References gClass, gEnv, and log(). Referenced by voce::init(). |
|
A simple message logging function. The message type gets printed before the actual message. Definition at line 75 of file voce.h. Referenced by voce::destroy(), voce::getRecognizerQueueSize(), voce::init(), voce::isRecognizerEnabled(), loadJavaMethodID(), voce::popRecognizedString(), voce::setRecognizerEnabled(), voce::stopSynthesizing(), and voce::synthesize(). |
|
Global reference to the main Voce Java class.
Definition at line 57 of file voce.h. Referenced by loadJavaMethodID(). |
|
The name of the main Voce Java class.
|
|
|
|
Global instance of the JNI environment.
Definition at line 51 of file voce.h. Referenced by loadJavaMethodID(). |
|
|
|
Global references to the various Java method IDs. Storing these saves lookup time later. |
|
|
|
Global instance of the Java virtual machine.
|
|
|
|
|
|
|
|
|