JNI_Samples.cpp File Reference

JNI wrapper. More...

#include "../ConfigReader/ConfigReader.h"
#include "../Features/AbstractString.h"
#include "../Features/Numerical.h"
#include "../FeatureContainer/FeatureContainer.h"
#include <jni.h>
#include <iostream>

Defines

#define cast_to(type, ref)   *((type **) &ref)

Functions

JNIEXPORT jdouble JNICALL Java_at_jku_intelligence_samples_Sample_nativeGetPosition (JNIEnv *, jobject, jint objRef)
JNIEXPORT jint JNICALL Java_at_jku_intelligence_samples_Sample_nativeGetType (JNIEnv *, jobject, jint objRef)
JNIEXPORT jstring JNICALL Java_at_jku_intelligence_samples_Sample_nativeGetName (JNIEnv *jenv, jobject, jint objRef)
JNIEXPORT void JNICALL Java_at_jku_intelligence_samples_Sample_nativeFreeObject (JNIEnv *, jobject, jint)
JNIEXPORT jstring JNICALL Java_at_jku_intelligence_samples_Sample_nativeToString (JNIEnv *jenv, jobject, jint objRef)
JNIEXPORT jint JNICALL Java_at_jku_intelligence_samples_NumericalDiscreteSample_nativeGetVal (JNIEnv *, jobject, jint objRef)
JNIEXPORT jfloat JNICALL Java_at_jku_intelligence_samples_NumericalContinuousSample_nativeGetVal (JNIEnv *, jobject, jint objRef)
JNIEXPORT jstring JNICALL Java_at_jku_intelligence_samples_StringSample_nativeGetVal (JNIEnv *jenv, jobject, jint objRef)
JNIEXPORT jobjectArray JNICALL Java_at_jku_intelligence_samples_StringListSample_nativeGetValues (JNIEnv *jenv, jobject, jint objRef)
JNIEXPORT jboolean JNICALL Java_at_jku_intelligence_samples_SampleContainer_nativeInit (JNIEnv *jenv, jclass, jstring configFilename, jstring persistFilename)
JNIEXPORT void JNICALL Java_at_jku_intelligence_samples_SampleContainer_nativeNextSamples (JNIEnv *, jclass)
JNIEXPORT jobjectArray JNICALL Java_at_jku_intelligence_samples_SampleContainer_nativeGetSampleVector (JNIEnv *jenv, jclass)

Variables

FeatureContainerfc


Detailed Description

JNI wrapper.

© 2003-2004 by Rene Mayrhofer, Harald Radi

Date
2004-08-30 23:27:49 +0200 (Mon, 30 Aug 2004)
Revision
915

Since:
Thu May 8 2003
Author:
Rene Mayrhofer <rene@mayrhofer.eu.org>

Harald Radi <harald.radi@nme.at>


This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Id
JNI_Samples.cpp 915 2004-08-30 21:27:49Z rene

Define Documentation

#define cast_to type,
ref   )     *((type **) &ref)
 

Cast a Java object reference to an object


Function Documentation

JNIEXPORT jfloat JNICALL Java_at_jku_intelligence_samples_NumericalContinuousSample_nativeGetVal JNIEnv *  ,
jobject  ,
jint  objRef
 

Todo:
documentation

JNIEXPORT jint JNICALL Java_at_jku_intelligence_samples_NumericalDiscreteSample_nativeGetVal JNIEnv *  ,
jobject  ,
jint  objRef
 

Todo:
documentation

JNIEXPORT void JNICALL Java_at_jku_intelligence_samples_Sample_nativeFreeObject JNIEnv *  ,
jobject  ,
jint 
 

Todo:
documentation

JNIEXPORT jstring JNICALL Java_at_jku_intelligence_samples_Sample_nativeGetName JNIEnv *  jenv,
jobject  ,
jint  objRef
 

Todo:
documentation

JNIEXPORT jdouble JNICALL Java_at_jku_intelligence_samples_Sample_nativeGetPosition JNIEnv *  ,
jobject  ,
jint  objRef
 

Todo:
documentation

JNIEXPORT jint JNICALL Java_at_jku_intelligence_samples_Sample_nativeGetType JNIEnv *  ,
jobject  ,
jint  objRef
 

Todo:
documentation

JNIEXPORT jobjectArray JNICALL Java_at_jku_intelligence_samples_SampleContainer_nativeGetSampleVector JNIEnv *  jenv,
jclass 
 

Todo:
documentation

JNIEXPORT jboolean JNICALL Java_at_jku_intelligence_samples_SampleContainer_nativeInit JNIEnv *  jenv,
jclass  ,
jstring  configFilename,
jstring  persistFilename
 

Todo:
documentation

JNIEXPORT void JNICALL Java_at_jku_intelligence_samples_SampleContainer_nativeNextSamples JNIEnv *  ,
jclass 
 

Todo:
documentation

JNIEXPORT jobjectArray JNICALL Java_at_jku_intelligence_samples_StringListSample_nativeGetValues JNIEnv *  jenv,
jobject  ,
jint  objRef
 

Todo:
documentation

JNIEXPORT jstring JNICALL Java_at_jku_intelligence_samples_StringSample_nativeGetVal JNIEnv *  jenv,
jobject  ,
jint  objRef
 

Todo:
documentation


Variable Documentation

FeatureContainer* fc
 

FeatureContainer instance

Remarks:
also used by JNI_Samples.cpp


Generated on Mon Jun 5 10:20:48 2006 for Intelligence.kdevelop by  doxygen 1.4.6