Mir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Protected Member Functions | List of all members
mir::scene::SessionManager Class Reference

#include <session_manager.h>

Inheritance diagram for mir::scene::SessionManager:
[legend]

Public Member Functions

 SessionManager (std::shared_ptr< SurfaceCoordinator > const &surface_coordinator, std::shared_ptr< SessionContainer > const &app_container, std::shared_ptr< shell::FocusSetter > const &focus_setter, std::shared_ptr< SnapshotStrategy > const &snapshot_strategy, std::shared_ptr< SessionEventSink > const &session_event_sink, std::shared_ptr< SessionListener > const &session_listener, std::shared_ptr< PromptSessionManager > const &prompt_session_manager)
 
virtual ~SessionManager () noexcept
 
virtual std::shared_ptr
< frontend::Session
open_session (pid_t client_pid, std::string const &name, std::shared_ptr< frontend::EventSink > const &sink) override
 
virtual void close_session (std::shared_ptr< frontend::Session > const &session) override
 
void focus_next () override
 
std::weak_ptr< Sessionfocussed_application () const
 
void set_focus_to (std::shared_ptr< Session > const &focus) override
 
void handle_surface_created (std::shared_ptr< frontend::Session > const &session) override
 
std::shared_ptr
< frontend::PromptSession
start_prompt_session_for (std::shared_ptr< frontend::Session > const &session, PromptSessionCreationParameters const &params) override
 
void add_prompt_provider_for (std::shared_ptr< frontend::PromptSession > const &prompt_session, std::shared_ptr< frontend::Session > const &session) override
 
void stop_prompt_session (std::shared_ptr< frontend::PromptSession > const &prompt_session) override
 
- Public Member Functions inherited from mir::frontend::Shell
virtual ~Shell ()=default
 
virtual std::shared_ptr< Sessionopen_session (pid_t client_pid, std::string const &name, std::shared_ptr< EventSink > const &sink)=0
 
virtual void close_session (std::shared_ptr< Session > const &session)=0
 
virtual void handle_surface_created (std::shared_ptr< Session > const &session)=0
 
virtual std::shared_ptr
< PromptSession
start_prompt_session_for (std::shared_ptr< Session > const &session, scene::PromptSessionCreationParameters const &params)=0
 
virtual void add_prompt_provider_for (std::shared_ptr< PromptSession > const &prompt_session, std::shared_ptr< Session > const &session)=0
 
virtual void stop_prompt_session (std::shared_ptr< PromptSession > const &prompt_session)=0
 
- Public Member Functions inherited from mir::shell::FocusController
virtual ~FocusController ()=default
 
virtual void set_focus_to (std::shared_ptr< scene::Session > const &focus)=0
 

Protected Member Functions

 SessionManager (const SessionManager &)=delete
 
SessionManageroperator= (const SessionManager &)=delete
 
- Protected Member Functions inherited from mir::frontend::Shell
 Shell ()=default
 
 Shell (const Shell &)=delete
 
Shelloperator= (const Shell &)=delete
 
- Protected Member Functions inherited from mir::shell::FocusController
 FocusController ()=default
 
 FocusController (FocusController const &)=delete
 
FocusControlleroperator= (FocusController const &)=delete
 

Constructor & Destructor Documentation

mir::scene::SessionManager::SessionManager ( std::shared_ptr< SurfaceCoordinator > const &  surface_coordinator,
std::shared_ptr< SessionContainer > const &  app_container,
std::shared_ptr< shell::FocusSetter > const &  focus_setter,
std::shared_ptr< SnapshotStrategy > const &  snapshot_strategy,
std::shared_ptr< SessionEventSink > const &  session_event_sink,
std::shared_ptr< SessionListener > const &  session_listener,
std::shared_ptr< PromptSessionManager > const &  prompt_session_manager 
)
explicit
mir::scene::SessionManager::~SessionManager ( )
virtualnoexcept
mir::scene::SessionManager::SessionManager ( const SessionManager )
protecteddelete

Member Function Documentation

void mir::scene::SessionManager::add_prompt_provider_for ( std::shared_ptr< frontend::PromptSession > const &  prompt_session,
std::shared_ptr< frontend::Session > const &  session 
)
override
void mir::scene::SessionManager::close_session ( std::shared_ptr< frontend::Session > const &  session)
overridevirtual
void mir::scene::SessionManager::focus_next ( )
overridevirtual
std::weak_ptr< ms::Session > mir::scene::SessionManager::focussed_application ( ) const
virtual
void mir::scene::SessionManager::handle_surface_created ( std::shared_ptr< frontend::Session > const &  session)
override
std::shared_ptr< mf::Session > mir::scene::SessionManager::open_session ( pid_t  client_pid,
std::string const &  name,
std::shared_ptr< frontend::EventSink > const &  sink 
)
overridevirtual
SessionManager& mir::scene::SessionManager::operator= ( const SessionManager )
protecteddelete
void mir::scene::SessionManager::set_focus_to ( std::shared_ptr< Session > const &  focus)
override
std::shared_ptr< mf::PromptSession > mir::scene::SessionManager::start_prompt_session_for ( std::shared_ptr< frontend::Session > const &  session,
PromptSessionCreationParameters const &  params 
)
override
void mir::scene::SessionManager::stop_prompt_session ( std::shared_ptr< frontend::PromptSession > const &  prompt_session)
override

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

Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Oct 10 14:07:14 UTC 2014