WPILibC++ 2024.3.2
wpi::java::JSingletonCallbackManager< T > Class Template Reference

#include <wpi/jni_util.h>

Inheritance diagram for wpi::java::JSingletonCallbackManager< T >:
wpi::java::JCallbackManager< T > wpi::SafeThreadOwner< JCallbackThread< T > > wpi::detail::SafeThreadOwnerBase

Static Public Member Functions

static JSingletonCallbackManager< T > & GetInstance ()
 

Additional Inherited Members

- Public Types inherited from wpi::SafeThreadOwner< JCallbackThread< T > >
using Proxy = typename detail::SafeThreadProxy< JCallbackThread< T > >
 
- Public Member Functions inherited from wpi::java::JCallbackManager< T >
 JCallbackManager ()
 
void SetFunc (JNIEnv *env, jobject func, jmethodID mid)
 
template<typename... Args>
void Send (Args &&... args)
 
- Public Member Functions inherited from wpi::SafeThreadOwner< JCallbackThread< T > >
void Start (Args &&... args)
 
Proxy GetThread () const
 
std::shared_ptr< JCallbackThread< T > > GetThreadSharedPtr () const
 
- Public Member Functions inherited from wpi::detail::SafeThreadOwnerBase
void Stop ()
 
void Join ()
 
 SafeThreadOwnerBase () noexcept=default
 
 SafeThreadOwnerBase (const SafeThreadOwnerBase &)=delete
 
SafeThreadOwnerBaseoperator= (const SafeThreadOwnerBase &)=delete
 
 SafeThreadOwnerBase (SafeThreadOwnerBase &&other) noexcept
 
SafeThreadOwnerBaseoperator= (SafeThreadOwnerBase &&other) noexcept
 
 ~SafeThreadOwnerBase ()
 
 operator bool () const
 
std::thread::native_handle_type GetNativeThreadHandle ()
 
void SetJoinAtExit (bool joinAtExit)
 
- Protected Member Functions inherited from wpi::detail::SafeThreadOwnerBase
void Start (std::shared_ptr< SafeThreadBase > thr)
 
std::shared_ptr< SafeThreadBaseGetThreadSharedPtr () const
 

Member Function Documentation

◆ GetInstance()

template<typename T >
static JSingletonCallbackManager< T > & wpi::java::JSingletonCallbackManager< T >::GetInstance ( )
inlinestatic

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