Wrapper for running an internal Mir client at startup.
More...
#include <internal_client.h>
Wrapper for running an internal Mir client at startup.
- Note
- client_code will be executed on its own thread, this must exit
-
connection_notification will be called on a worker thread and must not block
- Parameters
-
| client_code | code implementing the internal client |
| connection_notification | handler for registering the server-side application |
◆ StartupInternalClient() [1/4]
| miral::StartupInternalClient::StartupInternalClient |
( |
std::string | name, |
|
|
std::function< void(mir::client::Connection connection)> | client_code, |
|
|
std::function< void(std::weak_ptr< mir::scene::Session > const session)> | connect_notification ) |
|
explicit |
◆ StartupInternalClient() [2/4]
template<typename ClientObject>
| miral::StartupInternalClient::StartupInternalClient |
( |
std::string | name, |
|
|
ClientObject const & | client_object ) |
|
inlineexplicit |
◆ StartupInternalClient() [3/4]
| miral::StartupInternalClient::StartupInternalClient |
( |
std::function< void(struct ::wl_display *display)> | client_code, |
|
|
std::function< void(std::weak_ptr< mir::scene::Session > const session)> | connect_notification ) |
|
explicit |
◆ StartupInternalClient() [4/4]
template<typename ClientObject>
| miral::StartupInternalClient::StartupInternalClient |
( |
ClientObject const & | client_object | ) |
|
|
inlineexplicit |
◆ ~StartupInternalClient()
| miral::StartupInternalClient::~StartupInternalClient |
( |
| ) |
|
◆ operator()()
| void miral::StartupInternalClient::operator() |
( |
mir::Server & | server | ) |
|
The documentation for this class was generated from the following file:
Copyright © 2012-2026
Canonical Ltd.
Generated on Sun Mar 15 06:10:58 UTC 2026
This documentation is licensed under the GPL version 2 or 3.