![]() |
Sunshine latest
Self-hosted game stream host for Moonlight.
|
Public Types | |
template<class T > | |
using | event_t = std::shared_ptr<post_t<event_t<T>>> |
template<class T > | |
using | queue_t = std::shared_ptr<post_t<queue_t<T>>> |
Public Member Functions | |
void | cleanup () |
template<class T > | |
event_t< T > | event (const std::string_view &id) |
template<class T > | |
queue_t< T > | queue (const std::string_view &id) |
Public Attributes | |
std::map< std::string, std::weak_ptr< void >, std::less<> > | id_to_post |
std::mutex | mutex |