Mir
Public Member Functions | List of all members
miral::ExternalClientLauncher Class Reference

#include <external_client.h>

Public Member Functions

 ExternalClientLauncher ()
 
 ~ExternalClientLauncher ()
 
void operator() (mir::Server &server)
 
void launch (std::vector< std::string > const &command_line) const
 
void launch_using_x11 (std::vector< std::string > const &command_line) const
 Launch using only X11 support (if enabled). For the occasions it is desired to coerce applications into using X11. More...
 
auto pid () const -> pid_t
 The pid of the latest process that was launched or -1. More...
 

Constructor & Destructor Documentation

◆ ExternalClientLauncher()

miral::ExternalClientLauncher::ExternalClientLauncher ( )

◆ ~ExternalClientLauncher()

miral::ExternalClientLauncher::~ExternalClientLauncher ( )

Member Function Documentation

◆ launch()

void miral::ExternalClientLauncher::launch ( std::vector< std::string > const &  command_line) const

◆ launch_using_x11()

void miral::ExternalClientLauncher::launch_using_x11 ( std::vector< std::string > const &  command_line) const

Launch using only X11 support (if enabled). For the occasions it is desired to coerce applications into using X11.

Remarks
Since MirAL 2.9

◆ operator()()

void miral::ExternalClientLauncher::operator() ( mir::Server &  server)

◆ pid()

auto miral::ExternalClientLauncher::pid ( ) const -> pid_t

The pid of the latest process that was launched or -1.

Note
there's no guarantee that the process still exists, or that another process has not subsequently been assigned the same id.
Remarks
Since MirAL 2.4

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

Copyright © 2012-2021 Canonical Ltd.
Generated on Thu Nov 11 16:37:50 UTC 2021
This documentation is licensed under the GPL version 2 or 3.