WPILibC++ 2024.3.2
wpi::detail::WorkerThreadAsync< void > Struct Reference

#include <wpinet/WorkerThread.h>

Public Types

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

Public Member Functions

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

Public Attributes

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

Member Typedef Documentation

◆ AfterWorkFunction

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

Constructor & Destructor Documentation

◆ ~WorkerThreadAsync()

Member Function Documentation

◆ RemoveLoop()

void wpi::detail::WorkerThreadAsync< void >::RemoveLoop ( )
inline

◆ SetLoop()

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

Member Data Documentation

◆ m_async

std::weak_ptr<uv::Async<AfterWorkFunction> > wpi::detail::WorkerThreadAsync< void >::m_async

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