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

#include <internal_client.h>

Public Member Functions

 InternalClientLauncher ()
 
 ~InternalClientLauncher ()
 
void operator() (mir::Server &server)
 
void launch (std::string const &name, std::function< void(mir::client::Connection connection)> const &client_code, std::function< void(std::weak_ptr< mir::scene::Session > const session)> const &connect_notification) const
 
template<typename ClientObject >
void launch (std::string const &name, ClientObject &client_object) const
 
void launch (std::function< void(struct ::wl_display *display)> const &wayland_fd, std::function< void(std::weak_ptr< mir::scene::Session > const session)> const &connect_notification) const
 
template<typename ClientObject >
void launch (ClientObject &client_object) const
 

Constructor & Destructor Documentation

◆ InternalClientLauncher()

miral::InternalClientLauncher::InternalClientLauncher ( )

◆ ~InternalClientLauncher()

miral::InternalClientLauncher::~InternalClientLauncher ( )

Member Function Documentation

◆ launch() [1/4]

void miral::InternalClientLauncher::launch ( std::string const &  name,
std::function< void(mir::client::Connection connection)> const &  client_code,
std::function< void(std::weak_ptr< mir::scene::Session > const session)> const &  connect_notification 
) const

◆ launch() [2/4]

template<typename ClientObject >
void miral::InternalClientLauncher::launch ( std::string const &  name,
ClientObject &  client_object 
) const
inline

◆ launch() [3/4]

void miral::InternalClientLauncher::launch ( std::function< void(struct ::wl_display *display)> const &  wayland_fd,
std::function< void(std::weak_ptr< mir::scene::Session > const session)> const &  connect_notification 
) const

◆ launch() [4/4]

template<typename ClientObject >
void miral::InternalClientLauncher::launch ( ClientObject &  client_object) const
inline

◆ operator()()

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

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

Copyright © 2012-2018 Canonical Ltd.
Generated on Thu 12 Jul 10:49:10 UTC 2018