WPILibC++ 2023.4.3
|
#include <wpi/jni_util.h>
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 | |
SafeThreadOwnerBase & | operator= (const SafeThreadOwnerBase &)=delete |
SafeThreadOwnerBase (SafeThreadOwnerBase &&other) noexcept | |
SafeThreadOwnerBase & | operator= (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< SafeThreadBase > | GetThreadSharedPtr () const |
|
inlinestatic |