WPILibC++ 2024.3.2
wpi::CallbackThread< Derived, TUserInfo, TListenerData, TNotifierData >::Poller Struct Reference

#include <wpi/CallbackManager.h>

Public Member Functions

void Terminate ()
 

Public Attributes

std::queue< NotifierDatapoll_queue
 
wpi::mutex poll_mutex
 
wpi::condition_variable poll_cond
 
bool terminating = false
 
bool canceling = false
 

Member Function Documentation

◆ Terminate()

template<typename Derived , typename TUserInfo , typename TListenerData = CallbackListenerData<std::function<void(const TUserInfo& info)>>, typename TNotifierData = TUserInfo>
void wpi::CallbackThread< Derived, TUserInfo, TListenerData, TNotifierData >::Poller::Terminate ( )
inline

Member Data Documentation

◆ canceling

template<typename Derived , typename TUserInfo , typename TListenerData = CallbackListenerData<std::function<void(const TUserInfo& info)>>, typename TNotifierData = TUserInfo>
bool wpi::CallbackThread< Derived, TUserInfo, TListenerData, TNotifierData >::Poller::canceling = false

◆ poll_cond

template<typename Derived , typename TUserInfo , typename TListenerData = CallbackListenerData<std::function<void(const TUserInfo& info)>>, typename TNotifierData = TUserInfo>
wpi::condition_variable wpi::CallbackThread< Derived, TUserInfo, TListenerData, TNotifierData >::Poller::poll_cond

◆ poll_mutex

template<typename Derived , typename TUserInfo , typename TListenerData = CallbackListenerData<std::function<void(const TUserInfo& info)>>, typename TNotifierData = TUserInfo>
wpi::mutex wpi::CallbackThread< Derived, TUserInfo, TListenerData, TNotifierData >::Poller::poll_mutex

◆ poll_queue

template<typename Derived , typename TUserInfo , typename TListenerData = CallbackListenerData<std::function<void(const TUserInfo& info)>>, typename TNotifierData = TUserInfo>
std::queue<NotifierData> wpi::CallbackThread< Derived, TUserInfo, TListenerData, TNotifierData >::Poller::poll_queue

◆ terminating

template<typename Derived , typename TUserInfo , typename TListenerData = CallbackListenerData<std::function<void(const TUserInfo& info)>>, typename TNotifierData = TUserInfo>
bool wpi::CallbackThread< Derived, TUserInfo, TListenerData, TNotifierData >::Poller::terminating = false

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