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
 
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

◆ 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-2019 Canonical Ltd.
Generated on Fri Oct 11 13:53:15 UTC 2019
This documentation is licensed under the GPL version 2 or 3.