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

#include <session_manager.h>

Inheritance diagram for mir::shell::SessionManager:
Inheritance graph
[legend]

Public Member Functions

 SessionManager (std::shared_ptr< SurfaceFactory > const &surface_factory, std::shared_ptr< SessionContainer > const &app_container, std::shared_ptr< FocusSequence > const &focus_sequence, std::shared_ptr< 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)
 
virtual ~SessionManager ()
 
virtual std::shared_ptr
< frontend::Session
open_session (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, SurfaceCreationParameters const &params)
 
void focus_next ()
 
std::weak_ptr< Sessionfocussed_application () const
 
void set_focus_to (std::shared_ptr< Session > const &focus)
 
void handle_surface_created (std::shared_ptr< frontend::Session > const &session)
 
- Public Member Functions inherited from mir::frontend::Shell
virtual ~Shell ()
 
virtual std::shared_ptr< Sessionopen_session (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 ()
 

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::shell::SessionManager::SessionManager ( std::shared_ptr< SurfaceFactory > const &  surface_factory,
std::shared_ptr< SessionContainer > const &  app_container,
std::shared_ptr< FocusSequence > const &  focus_sequence,
std::shared_ptr< 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 
)
explicit
mir::shell::SessionManager::~SessionManager ( )
virtual
mir::shell::SessionManager::SessionManager ( const SessionManager )
protecteddelete

Member Function Documentation

void mir::shell::SessionManager::close_session ( std::shared_ptr< frontend::Session > const &  session)
virtual
mf::SurfaceId mir::shell::SessionManager::create_surface_for ( std::shared_ptr< frontend::Session > const &  session,
SurfaceCreationParameters const &  params 
)
void mir::shell::SessionManager::focus_next ( )
virtual
std::weak_ptr< msh::Session > mir::shell::SessionManager::focussed_application ( ) const
void mir::shell::SessionManager::handle_surface_created ( std::shared_ptr< frontend::Session > const &  session)
std::shared_ptr< mf::Session > mir::shell::SessionManager::open_session ( std::string const &  name,
std::shared_ptr< frontend::EventSink > const &  sink 
)
virtual
SessionManager& mir::shell::SessionManager::operator= ( const SessionManager )
protecteddelete
void mir::shell::SessionManager::set_focus_to ( std::shared_ptr< Session > const &  focus)

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

Copyright © 2012,2013 Canonical Ltd.
Generated on Wed Oct 30 18:52:19 UTC 2013