#include <wpi/CallbackManager.h>
◆ ListenerData
template<typename Derived , typename TUserInfo , typename TListenerData = CallbackListenerData<std::function<void(const TUserInfo& info)>>, typename TNotifierData = TUserInfo>
using wpi::CallbackThread< Derived, TUserInfo, TListenerData, TNotifierData >::ListenerData = TListenerData |
◆ NotifierData
template<typename Derived , typename TUserInfo , typename TListenerData = CallbackListenerData<std::function<void(const TUserInfo& info)>>, typename TNotifierData = TUserInfo>
using wpi::CallbackThread< Derived, TUserInfo, TListenerData, TNotifierData >::NotifierData = TNotifierData |
◆ UserInfo
template<typename Derived , typename TUserInfo , typename TListenerData = CallbackListenerData<std::function<void(const TUserInfo& info)>>, typename TNotifierData = TUserInfo>
using wpi::CallbackThread< Derived, TUserInfo, TListenerData, TNotifierData >::UserInfo = TUserInfo |
◆ CallbackThread()
template<typename Derived , typename TUserInfo , typename TListenerData = CallbackListenerData<std::function<void(const TUserInfo& info)>>, typename TNotifierData = TUserInfo>
wpi::CallbackThread< Derived, TUserInfo, TListenerData, TNotifierData >::CallbackThread |
( |
std::function< void()> |
on_start, |
|
|
std::function< void()> |
on_exit |
|
) |
| |
|
inline |
◆ ~CallbackThread()
template<typename Derived , typename TUserInfo , typename TListenerData = CallbackListenerData<std::function<void(const TUserInfo& info)>>, typename TNotifierData = TUserInfo>
◆ Main()
template<typename Derived , typename TUserInfo , typename TListenerData , typename TNotifierData >
◆ SendPoller()
template<typename Derived , typename TUserInfo , typename TListenerData = CallbackListenerData<std::function<void(const TUserInfo& info)>>, typename TNotifierData = TUserInfo>
template<typename... Args>
void wpi::CallbackThread< Derived, TUserInfo, TListenerData, TNotifierData >::SendPoller |
( |
unsigned int |
poller_uid, |
|
|
Args &&... |
args |
|
) |
| |
|
inline |
◆ m_listeners
template<typename Derived , typename TUserInfo , typename TListenerData = CallbackListenerData<std::function<void(const TUserInfo& info)>>, typename TNotifierData = TUserInfo>
◆ m_on_exit
template<typename Derived , typename TUserInfo , typename TListenerData = CallbackListenerData<std::function<void(const TUserInfo& info)>>, typename TNotifierData = TUserInfo>
std::function<void()> wpi::CallbackThread< Derived, TUserInfo, TListenerData, TNotifierData >::m_on_exit |
◆ m_on_start
template<typename Derived , typename TUserInfo , typename TListenerData = CallbackListenerData<std::function<void(const TUserInfo& info)>>, typename TNotifierData = TUserInfo>
std::function<void()> wpi::CallbackThread< Derived, TUserInfo, TListenerData, TNotifierData >::m_on_start |
◆ m_pollers
template<typename Derived , typename TUserInfo , typename TListenerData = CallbackListenerData<std::function<void(const TUserInfo& info)>>, typename TNotifierData = TUserInfo>
◆ m_queue
template<typename Derived , typename TUserInfo , typename TListenerData = CallbackListenerData<std::function<void(const TUserInfo& info)>>, typename TNotifierData = TUserInfo>
◆ m_queue_empty
template<typename Derived , typename TUserInfo , typename TListenerData = CallbackListenerData<std::function<void(const TUserInfo& info)>>, typename TNotifierData = TUserInfo>
The documentation for this class was generated from the following file: