Go to the source code of this file.
Classes | |
class | ExecStreamSubFactory_lu |
Functions | |
FENNEL_BEGIN_CPPFILE ("$Id: //open/dev/fennel/lucidera/farrago/NativeMethods_lu.cpp#48 $") | |
JNIEXPORT BOOL APIENTRY | DllMain (HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) |
JNIEXPORT jint JNICALL | JNI_OnLoad (JavaVM *vm, void *) |
JNIEXPORT void JNICALL | Java_com_lucidera_farrago_fennel_LucidEraJni_registerStreamFactory (JNIEnv *pEnvInit, jclass, jlong hStreamGraph) |
FENNEL_END_CPPFILE ("$Id: //open/dev/fennel/lucidera/farrago/NativeMethods_lu.cpp#48 $") |
FENNEL_BEGIN_CPPFILE | ( | "$Id: //open/dev/fennel/lucidera/farrago/NativeMethods_lu.cpp#48 $" | ) |
FENNEL_END_CPPFILE | ( | "$Id: //open/dev/fennel/lucidera/farrago/NativeMethods_lu.cpp#48 $" | ) |
JNIEXPORT void JNICALL Java_com_lucidera_farrago_fennel_LucidEraJni_registerStreamFactory | ( | JNIEnv * | pEnvInit, | |
jclass | , | |||
jlong | hStreamGraph | |||
) |
Definition at line 337 of file NativeMethods_lu.cpp.
References CmdInterpreter::getStreamGraphHandleFromLong(), JniEnvRef::handleExcn(), and CmdInterpreter::StreamGraphHandle::pExecStreamFactory.
00339 { 00340 JniEnvRef pEnv(pEnvInit); 00341 try { 00342 CmdInterpreter::StreamGraphHandle &streamGraphHandle = 00343 CmdInterpreter::getStreamGraphHandleFromLong(hStreamGraph); 00344 if (streamGraphHandle.pExecStreamFactory) { 00345 streamGraphHandle.pExecStreamFactory->addSubFactory( 00346 SharedExecStreamSubFactory( 00347 new ExecStreamSubFactory_lu())); 00348 } 00349 } catch (std::exception &ex) { 00350 pEnv.handleExcn(ex); 00351 } 00352 }
JNIEXPORT jint JNICALL JNI_OnLoad | ( | JavaVM * | vm, | |
void * | ||||
) |
Definition at line 329 of file NativeMethods_lu.cpp.
References JniUtil::initDebug(), and JniUtil::jniVersion.
00330 { 00331 JniUtil::initDebug("FENNEL_RS_JNI_DEBUG"); 00332 FENNEL_JNI_ONLOAD_COMMON(); 00333 return JniUtil::jniVersion; 00334 }