WPILibC++ 2023.4.3
|
#include <wpi/SafeThread.h>
Public Types | |
using | Proxy = typename detail::SafeThreadProxy< T > |
Public Member Functions | |
template<typename... Args> | |
void | Start (Args &&... args) |
Proxy | GetThread () const |
std::shared_ptr< 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 | |
Protected Member Functions inherited from wpi::detail::SafeThreadOwnerBase | |
void | Start (std::shared_ptr< SafeThreadBase > thr) |
std::shared_ptr< SafeThreadBase > | GetThreadSharedPtr () const |
using wpi::SafeThreadOwner< T >::Proxy = typename detail::SafeThreadProxy<T> |
|
inline |
|
inline |
|
inline |