WPILibC++ 2024.3.2
wpi::detail::WorkerThreadThread< R, T > Class Template Reference

#include <wpinet/WorkerThread.h>

Inheritance diagram for wpi::detail::WorkerThreadThread< R, T >:
wpi::SafeThread wpi::SafeThreadBase

Public Types

using Request = WorkerThreadRequest< R, T... >
 

Public Member Functions

void Main () override
 
- Public Member Functions inherited from wpi::SafeThread
void Stop () override
 
- Public Member Functions inherited from wpi::SafeThreadBase
virtual ~SafeThreadBase ()=default
 
virtual void Main ()=0
 
virtual void Stop ()=0
 

Public Attributes

std::vector< Requestm_requests
 
PromiseFactory< R > m_promises
 
detail::WorkerThreadAsync< R > m_async
 
- Public Attributes inherited from wpi::SafeThread
wpi::condition_variable m_cond
 
- Public Attributes inherited from wpi::SafeThreadBase
wpi::mutex m_mutex
 
std::atomic_bool m_active {true}
 
std::thread::id m_threadId
 

Member Typedef Documentation

◆ Request

template<typename R , typename... T>
using wpi::detail::WorkerThreadThread< R, T >::Request = WorkerThreadRequest<R, T...>

Member Function Documentation

◆ Main()

template<typename R , typename... T>
void wpi::detail::WorkerThreadThread< R, T >::Main
overridevirtual

Implements wpi::SafeThreadBase.

Member Data Documentation

◆ m_async

template<typename R , typename... T>
detail::WorkerThreadAsync<R> wpi::detail::WorkerThreadThread< R, T >::m_async

◆ m_promises

template<typename R , typename... T>
PromiseFactory<R> wpi::detail::WorkerThreadThread< R, T >::m_promises

◆ m_requests

template<typename R , typename... T>
std::vector<Request> wpi::detail::WorkerThreadThread< R, T >::m_requests

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