WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
wpi::util::java::JGlobal< T > Class Template Reference

#include <wpi/util/jni_util.hpp>

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::util::java::JGlobal< T >::JGlobal ( )
default

◆ JGlobal() [2/2]

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

Member Function Documentation

◆ free()

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

◆ operator bool()

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

◆ operator T()

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

Member Data Documentation

◆ m_cls

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

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