Sunshine latest
Self-hosted game stream host for Moonlight.
proc::proc_t Class Reference

Public Member Functions

int execute (int app_id, std::shared_ptr< rtsp_stream::launch_session_t > launch_session)
 
std::string get_app_image (int app_id)
 
std::vector< ctx_t > & get_apps ()
 
const std::vector< ctx_t > & get_apps () const
 
std::string get_last_run_app_name ()
 
proc_toperator= (proc_t &&)=default
 
 proc_t (boost::process::v1::environment &&env, std::vector< ctx_t > &&apps)
 
 proc_t (proc_t &&)=default
 
int running ()
 
void terminate ()
 

Member Function Documentation

◆ running()

int proc::proc_t::running ( )
Returns
_app_id if a process is running, otherwise returns 0

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