WPILibC++ 2023.4.3
wpi::java::JGlobal< T > Class Template Reference

#include <wpi/jni_util.h>

Public Member Functions

 JGlobal ()=default
 
 JGlobal (JNIEnv *env, T obj)
 
void free (JNIEnv *env)
 
 operator bool () const
 
 operator T () const
 

Protected Attributes

m_cls = nullptr
 

Constructor & Destructor Documentation

◆ JGlobal() [1/2]

template<typename T >
wpi::java::JGlobal< T >::JGlobal ( )
default

◆ JGlobal() [2/2]

template<typename T >
wpi::java::JGlobal< T >::JGlobal ( JNIEnv *  env,
obj 
)
inline

Member Function Documentation

◆ free()

template<typename T >
void wpi::java::JGlobal< T >::free ( JNIEnv *  env)
inline

◆ operator bool()

template<typename T >
wpi::java::JGlobal< T >::operator bool ( ) const
inlineexplicit

◆ operator T()

template<typename T >
wpi::java::JGlobal< T >::operator T ( ) const
inline

Member Data Documentation

◆ m_cls

template<typename T >
T wpi::java::JGlobal< T >::m_cls = nullptr
protected

The documentation for this class was generated from the following file: