Mir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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:
Inheritance graph
[legend]

Public Member Functions

 SessionManager (std::shared_ptr< shell::SurfaceFactory > const &surface_factory, 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< shell::SessionListener > const &session_listener)
 
virtual ~SessionManager ()
 
virtual std::shared_ptr
< frontend::Session
open_session (pid_t client_pid, std::string const &name, std::shared_ptr< frontend::EventSink > const &sink)
 
virtual void close_session (std::shared_ptr< frontend::Session > const &session)
 
frontend::SurfaceId create_surface_for (std::shared_ptr< frontend::Session > const &session, shell::SurfaceCreationParameters const &params)
 
void focus_next ()
 
std::weak_ptr< shell::Sessionfocussed_application () const
 
void set_focus_to (std::shared_ptr< shell::Session > const &focus)
 
void handle_surface_created (std::shared_ptr< frontend::Session > const &session)
 
- 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 SurfaceId create_surface_for (std::shared_ptr< Session > const &session, shell::SurfaceCreationParameters const &params)=0
 
virtual void handle_surface_created (std::shared_ptr< Session > const &session)=0
 
- Public Member Functions inherited from mir::shell::FocusController
virtual ~FocusController ()=default
 
virtual void set_focus_to (std::shared_ptr< 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< shell::SurfaceFactory > const &  surface_factory,
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< shell::SessionListener > const &  session_listener 
)
explicit
mir::scene::SessionManager::~SessionManager ( )
virtual
mir::scene::SessionManager::SessionManager ( const SessionManager )
protecteddelete

Member Function Documentation

void mir::scene::SessionManager::close_session ( std::shared_ptr< frontend::Session > const &  session)
virtual
mf::SurfaceId mir::scene::SessionManager::create_surface_for ( std::shared_ptr< frontend::Session > const &  session,
shell::SurfaceCreationParameters const &  params 
)
void mir::scene::SessionManager::focus_next ( )
virtual
std::weak_ptr< msh::Session > mir::scene::SessionManager::focussed_application ( ) const
virtual
void mir::scene::SessionManager::handle_surface_created ( std::shared_ptr< frontend::Session > const &  session)
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 
)
virtual
SessionManager& mir::scene::SessionManager::operator= ( const SessionManager )
protecteddelete
void mir::scene::SessionManager::set_focus_to ( std::shared_ptr< shell::Session > const &  focus)

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

Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Apr 11 21:14:53 UTC 2014