ug4
|
#include <jni.h>
Go to the source code of this file.
Macros | |
#define | _Included_edu_gcsc_vrl_ug_UG_MessageThread |
#define | edu_gcsc_vrl_ug_UG_MessageThread_MAX_PRIORITY 10L |
#define | edu_gcsc_vrl_ug_UG_MessageThread_MIN_PRIORITY 1L |
#define | edu_gcsc_vrl_ug_UG_MessageThread_NORM_PRIORITY 5L |
Functions | |
JNIEXPORT jobject JNICALL | Java_edu_gcsc_vrl_ug_UG__1convertRegistryInfo (JNIEnv *, jobject) |
JNIEXPORT void JNICALL | Java_edu_gcsc_vrl_ug_UG__1delete (JNIEnv *, jclass, jlong, jlong) |
JNIEXPORT jstring JNICALL | Java_edu_gcsc_vrl_ug_UG__1getAuthors (JNIEnv *, jobject) |
JNIEXPORT jstring JNICALL | Java_edu_gcsc_vrl_ug_UG__1getBinaryLicense (JNIEnv *, jobject) |
JNIEXPORT jstring JNICALL | Java_edu_gcsc_vrl_ug_UG__1getCompileDate (JNIEnv *, jobject) |
JNIEXPORT jstring JNICALL | Java_edu_gcsc_vrl_ug_UG__1getDefaultClassNameFromGroup (JNIEnv *, jobject, jstring) |
JNIEXPORT jstring JNICALL | Java_edu_gcsc_vrl_ug_UG__1getDescription (JNIEnv *, jobject) |
JNIEXPORT jlong JNICALL | Java_edu_gcsc_vrl_ug_UG__1getExportedClassPtrByName (JNIEnv *, jobject, jstring, jboolean) |
JNIEXPORT jstring JNICALL | Java_edu_gcsc_vrl_ug_UG__1getSvnRevision (JNIEnv *, jobject) |
JNIEXPORT jstring JNICALL | Java_edu_gcsc_vrl_ug_UG__1getUGVersion (JNIEnv *, jobject) |
JNIEXPORT void JNICALL | Java_edu_gcsc_vrl_ug_UG__1invalidate (JNIEnv *, jclass, jobject) |
JNIEXPORT jobject JNICALL | Java_edu_gcsc_vrl_ug_UG__1invokeFunction (JNIEnv *, jobject, jstring, jboolean, jobjectArray) |
JNIEXPORT jobject JNICALL | Java_edu_gcsc_vrl_ug_UG__1invokeMethod (JNIEnv *, jobject, jstring, jlong, jboolean, jstring, jobjectArray) |
JNIEXPORT jobject JNICALL | Java_edu_gcsc_vrl_ug_UG__1newInstance (JNIEnv *, jobject, jlong, jobjectArray) |
JNIEXPORT jint JNICALL | Java_edu_gcsc_vrl_ug_UG__1ugInit (JNIEnv *, jclass, jobjectArray) |
#define _Included_edu_gcsc_vrl_ug_UG_MessageThread |
#define edu_gcsc_vrl_ug_UG_MessageThread_MAX_PRIORITY 10L |
#define edu_gcsc_vrl_ug_UG_MessageThread_MIN_PRIORITY 1L |
#define edu_gcsc_vrl_ug_UG_MessageThread_NORM_PRIORITY 5L |
JNIEXPORT jobject JNICALL Java_edu_gcsc_vrl_ug_UG__1convertRegistryInfo | ( | JNIEnv * | env, |
jobject | obj | ||
) |
References ug::vrl::registry2NativeAPI(), and ug::vrl::vrlRegistry.
JNIEXPORT void JNICALL Java_edu_gcsc_vrl_ug_UG__1delete | ( | JNIEnv * | env, |
jclass | cls, | ||
jlong | objPtr, | ||
jlong | exportedClsPtr | ||
) |
References ug::bridge::IExportedClass::destroy().
JNIEXPORT jstring JNICALL Java_edu_gcsc_vrl_ug_UG__1getAuthors | ( | JNIEnv * | env, |
jobject | obj | ||
) |
References ug::vrl::stringC2J(), and ug::UG_AUTHORS.
JNIEXPORT jstring JNICALL Java_edu_gcsc_vrl_ug_UG__1getBinaryLicense | ( | JNIEnv * | env, |
jobject | obj | ||
) |
References ug::vrl::stringC2J(), and ug::UG_BINARY_LICENSE.
JNIEXPORT jstring JNICALL Java_edu_gcsc_vrl_ug_UG__1getCompileDate | ( | JNIEnv * | env, |
jobject | obj | ||
) |
References ug::vrl::stringC2J(), and ug::UGCompileDate().
JNIEXPORT jstring JNICALL Java_edu_gcsc_vrl_ug_UG__1getDefaultClassNameFromGroup | ( | JNIEnv * | env, |
jobject | obj, | ||
jstring | grpName | ||
) |
JNIEXPORT jstring JNICALL Java_edu_gcsc_vrl_ug_UG__1getDescription | ( | JNIEnv * | env, |
jobject | obj | ||
) |
References ug::vrl::stringC2J().
JNIEXPORT jlong JNICALL Java_edu_gcsc_vrl_ug_UG__1getExportedClassPtrByName | ( | JNIEnv * | env, |
jobject | obj, | ||
jstring | name, | ||
jboolean | classGrp | ||
) |
JNIEXPORT jstring JNICALL Java_edu_gcsc_vrl_ug_UG__1getSvnRevision | ( | JNIEnv * | env, |
jobject | obj | ||
) |
References ug::vrl::stringC2J(), and ug::vrl::svnRevision().
JNIEXPORT jstring JNICALL Java_edu_gcsc_vrl_ug_UG__1getUGVersion | ( | JNIEnv * | env, |
jobject | obj | ||
) |
References ug::vrl::stringC2J(), and ug::UGGetVersionString().
JNIEXPORT void JNICALL Java_edu_gcsc_vrl_ug_UG__1invalidate | ( | JNIEnv * | env, |
jclass | cls, | ||
jobject | smartPtr | ||
) |
JNIEXPORT jobject JNICALL Java_edu_gcsc_vrl_ug_UG__1invokeFunction | ( | JNIEnv * | env, |
jobject | obj, | ||
jstring | fName, | ||
jboolean | readOnly, | ||
jobjectArray | params | ||
) |
References EMPHASIZE_BEGIN, EMPHASIZE_END, ex, func(), ug::vrl::invocation::getFunctionBySignature(), ug::vrl::getParamTypesAsString(), ug::vrl::jobjectArray2ParamStack(), name, ug::vrl::param2JObject(), ug::bridge::ParameterInfo::size(), ug::vrl::stringJ2C(), ug::vrl::throwUgErrorAsJavaException(), and ug::vrl::vrlRegistry.
JNIEXPORT jobject JNICALL Java_edu_gcsc_vrl_ug_UG__1invokeMethod | ( | JNIEnv * | env, |
jobject | obj, | ||
jstring | exportedClassName, | ||
jlong | objPtr, | ||
jboolean | readOnly, | ||
jstring | methodName, | ||
jobjectArray | params | ||
) |
References ug::vrl::boolJ2C(), ug::bridge::ClassCastProvider::cast_to_base_class(), ug::bridge::ExportedMethod::class_name(), EMPHASIZE_BEGIN, EMPHASIZE_END, ex, ug::bridge::ExportedMethod::execute(), ug::vrl::invocation::getClassNodePtrByName(), ug::vrl::invocation::getExportedClassPtrByName(), ug::vrl::invocation::getMethodBySignature(), ug::vrl::getParamTypesAsString(), ug::vrl::jobjectArray2ParamStack(), name, ug::bridge::IExportedClass::name(), ug::vrl::param2JObject(), ug::bridge::ExportedFunctionBase::params_in(), ug::bridge::ParameterInfo::size(), ug::vrl::stringJ2C(), ug::vrl::throwUgErrorAsJavaException(), UG_LOG, and ug::vrl::vrlRegistry.
JNIEXPORT jobject JNICALL Java_edu_gcsc_vrl_ug_UG__1newInstance | ( | JNIEnv * | env, |
jobject | obj, | ||
jlong | exportedClassPointer, | ||
jobjectArray | params | ||
) |
References ug::bridge::IExportedClass::construct_as_smart_pointer(), ug::bridge::ExportedConstructor::create(), EMPHASIZE_BEGIN, EMPHASIZE_END, ex, ug::bridge::IExportedClass::get_delete_function(), ug::vrl::invocation::getConstructorBySignature(), ug::vrl::getParamTypesAsString(), ug::vrl::jobjectArray2ParamStack(), name, ug::bridge::IExportedClass::name(), ug::bridge::ExportedConstructor::params_in(), ug::vrl::pointer2JObject(), ug::vrl::smartPointer2JObject(), ug::vrl::throwUgErrorAsJavaException(), and ug::vrl::vrlRegistry.
JNIEXPORT jint JNICALL Java_edu_gcsc_vrl_ug_UG__1ugInit | ( | JNIEnv * | env, |
jclass | cls, | ||
jobjectArray | args | ||
) |
References ug::bridge::Registry::check_consistency(), ug::LogAssistant::flush_error_log(), ug::GetLogAssistant(), ug::bridge::GetUGRegistry(), ug::vrl::invocation::initClasses(), ug::vrl::initJavaVM(), ug::PLUGIN_PATH, ug::vrl::RegisterVRLFunctionality(), ug::PathProvider::set_path(), ug::vrl::SetVRLRegistry(), ug::vrl::stringArrayJ2C(), UG_LOG, ug::UGInit(), and ug::vrl::vrlRegistry.