WPILibC++ 2023.4.3
|
A proxy for SafeThread. More...
#include <wpi/SafeThread.h>
Public Member Functions | |
SafeThreadProxy (std::shared_ptr< SafeThreadBase > thr) | |
T & | operator* () const |
T * | operator-> () const |
Public Member Functions inherited from wpi::detail::SafeThreadProxyBase | |
SafeThreadProxyBase (std::shared_ptr< SafeThreadBase > thr) | |
operator bool () const | |
std::unique_lock< wpi::mutex > & | GetLock () |
Additional Inherited Members | |
Protected Attributes inherited from wpi::detail::SafeThreadProxyBase | |
std::shared_ptr< SafeThreadBase > | m_thread |
std::unique_lock< wpi::mutex > | m_lock |
A proxy for SafeThread.
Also serves as a scoped lock on SafeThread::m_mutex.
|
inlineexplicit |
|
inline |
|
inline |