WPILibC++ 2023.4.3-108-ge5452e3
|
#include <wpi/jni_util.h>
Public Member Functions | |
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) |
Additional Inherited Members | |
Public Types inherited from wpi::SafeThreadOwner< JCallbackThread< T > > | |
using | Proxy = typename detail::SafeThreadProxy< JCallbackThread< T > > |
Protected Member Functions inherited from wpi::detail::SafeThreadOwnerBase | |
void | Start (std::shared_ptr< SafeThreadBase > thr) |
std::shared_ptr< SafeThreadBase > | GetThreadSharedPtr () const |
|
inline |
void wpi::java::JCallbackManager< T >::Send | ( | Args &&... | args | ) |
void wpi::java::JCallbackManager< T >::SetFunc | ( | JNIEnv * | env, |
jobject | func, | ||
jmethodID | mid | ||
) |