2 #ifndef _MADARA_JAVA_ACQUIRE_VM_H_ 3 #define _MADARA_JAVA_ACQUIRE_VM_H_ 5 #include "madara_jni.h" 43 env = madara_jni_get_env ();
70 #endif // not defined _MADARA_JAVA_ACQUIRE_VM_H_ JNIEnv * env
The Java environment.
This class encapsulates attaching and detaching to a VM.
Provides utility functions and classes for common tasks and needs.
bool needs_detach
Flag for determining whether to call detach in destructor.
Copyright (c) 2015 Carnegie Mellon University.
Acquire_VM(bool no_detach=false)
Constructor.