Sunshine master
Self-hosted game stream host for Moonlight.
platf::publish::deinit_t Class Reference

RAII helper that runs shutdown cleanup when destroyed. More...

Inheritance diagram for platf::publish::deinit_t:
[legend]
Collaboration diagram for platf::publish::deinit_t:
[legend]

Public Member Functions

 deinit_t (std::thread poll_thread)
 Store the Avahi polling thread for shutdown on destruction.
 
 ~deinit_t () override
 Destroy the Avahi publisher deinitializer.
 
- Public Member Functions inherited from platf::deinit_t

Public Attributes

std::thread poll_thread
 Poll thread.
 

Detailed Description

RAII helper that runs shutdown cleanup when destroyed.

Constructor & Destructor Documentation

◆ deinit_t()

platf::publish::deinit_t::deinit_t ( std::thread poll_thread)
inline

Store the Avahi polling thread for shutdown on destruction.

Parameters
poll_threadPoll thread.

◆ ~deinit_t()

platf::publish::deinit_t::~deinit_t ( )
inlineoverridevirtual

Destroy the Avahi publisher deinitializer.

Reimplemented from platf::deinit_t.


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