SpherePackingScenarioGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
SpherePacksInterfaceToJNIPortImplementation.h
Go to the documentation of this file.
00001 #ifdef CCA
00002 #ifndef CCA_SPHEREPACKSINTERFACE_TO_JNI
00003 #define CCA_SPHEREPACKSINTERFACE_TO_JNI
00004 
00005 #include "cca/SpherePacksInterface.h"
00006 #include <iostream>
00007 #include <jni.h>
00008 
00009 namespace cca {
00010   class SpherePacksInterfaceToJNIPortImplementation ;
00011 }
00012 
00013 class cca::SpherePacksInterfaceToJNIPortImplementation: public cca::SpherePacksInterface {
00014 private:
00015   JavaVM* _jvm;
00016   jobject _obj;
00017   std::string _portIdentifier;
00018   
00019 public:
00020   SpherePacksInterfaceToJNIPortImplementation(JavaVM* jvm,jobject& obj,const std::string& portIdentifier);
00021   
00022   virtual ~SpherePacksInterfaceToJNIPortImplementation();
00023   
00024   virtual void setSpheres(const double* spheres,long spheres_len);
00025   
00026 
00027 };
00028 #endif 
00029 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines