WPILibC++ 2024.3.2
wpi::detail::SafeThreadProxyBase Class Reference

Non-template proxy base class for common proxy code. More...

#include <wpi/SafeThread.h>

Inheritance diagram for wpi::detail::SafeThreadProxyBase:
wpi::detail::SafeThreadProxy< T >

Public Member Functions

 SafeThreadProxyBase (std::shared_ptr< SafeThreadBase > thr)
 
 operator bool () const
 
std::unique_lock< wpi::mutex > & GetLock ()
 

Protected Attributes

std::shared_ptr< SafeThreadBasem_thread
 
std::unique_lock< wpi::mutexm_lock
 

Detailed Description

Non-template proxy base class for common proxy code.

Constructor & Destructor Documentation

◆ SafeThreadProxyBase()

wpi::detail::SafeThreadProxyBase::SafeThreadProxyBase ( std::shared_ptr< SafeThreadBase thr)
explicit

Member Function Documentation

◆ GetLock()

std::unique_lock< wpi::mutex > & wpi::detail::SafeThreadProxyBase::GetLock ( )
inline

◆ operator bool()

wpi::detail::SafeThreadProxyBase::operator bool ( ) const
inlineexplicit

Member Data Documentation

◆ m_lock

std::unique_lock<wpi::mutex> wpi::detail::SafeThreadProxyBase::m_lock
protected

◆ m_thread

std::shared_ptr<SafeThreadBase> wpi::detail::SafeThreadProxyBase::m_thread
protected

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