WPILibC++ 2023.4.3-108-ge5452e3
wpi::detail::WorkerThreadAsync< R > Struct Template Reference

#include <wpinet/WorkerThread.h>

Public Types

using AfterWorkFunction = std::function< void(R)>
 

Public Member Functions

 ~WorkerThreadAsync ()
 
void SetLoop (uv::Loop &loop)
 
void UnsetLoop ()
 

Public Attributes

std::weak_ptr< uv::Async< AfterWorkFunction, R > > m_async
 

Member Typedef Documentation

◆ AfterWorkFunction

template<typename R >
using wpi::detail::WorkerThreadAsync< R >::AfterWorkFunction = std::function<void(R)>

Constructor & Destructor Documentation

◆ ~WorkerThreadAsync()

template<typename R >
wpi::detail::WorkerThreadAsync< R >::~WorkerThreadAsync ( )
inline

Member Function Documentation

◆ SetLoop()

template<typename R >
void wpi::detail::WorkerThreadAsync< R >::SetLoop ( uv::Loop loop)
inline

◆ UnsetLoop()

template<typename R >
void wpi::detail::WorkerThreadAsync< R >::UnsetLoop ( )
inline

Member Data Documentation

◆ m_async

template<typename R >
std::weak_ptr<uv::Async<AfterWorkFunction, R> > wpi::detail::WorkerThreadAsync< R >::m_async

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