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

#include <mediating_display_changer.h>

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

Public Member Functions

 MediatingDisplayChanger (std::shared_ptr< graphics::Display > const &display, std::shared_ptr< compositor::Compositor > const &compositor, std::shared_ptr< graphics::DisplayConfigurationPolicy > const &display_configuration_policy, std::shared_ptr< SessionContainer > const &session_container, std::shared_ptr< SessionEventHandlerRegister > const &session_event_handler_register)
 
std::shared_ptr
< graphics::DisplayConfiguration
active_configuration ()
 
void configure (std::shared_ptr< frontend::Session > const &session, std::shared_ptr< graphics::DisplayConfiguration > const &conf)
 
void ensure_display_powered (std::shared_ptr< frontend::Session > const &session)
 
void configure_for_hardware_change (std::shared_ptr< graphics::DisplayConfiguration > const &conf, SystemStateHandling pause_resume_system)
 
- Public Member Functions inherited from mir::frontend::DisplayChanger
virtual ~DisplayChanger ()=default
 
virtual void configure (std::shared_ptr< Session > const &, std::shared_ptr< graphics::DisplayConfiguration > const &)=0
 
virtual void ensure_display_powered (std::shared_ptr< Session > const &session)=0
 
- Public Member Functions inherited from mir::DisplayChanger
virtual ~DisplayChanger ()=default
 

Additional Inherited Members

- Public Types inherited from mir::DisplayChanger
enum  SystemStateHandling : bool { RetainSystemState, PauseResumeSystem }
 
- Protected Member Functions inherited from mir::frontend::DisplayChanger
 DisplayChanger ()=default
 
 DisplayChanger (DisplayChanger const &)=delete
 
DisplayChangeroperator= (DisplayChanger const &)=delete
 
- Protected Member Functions inherited from mir::DisplayChanger
 DisplayChanger ()=default
 
 DisplayChanger (DisplayChanger const &)=delete
 
DisplayChangeroperator= (DisplayChanger const &)=delete
 

Constructor & Destructor Documentation

mir::shell::MediatingDisplayChanger::MediatingDisplayChanger ( std::shared_ptr< graphics::Display > const &  display,
std::shared_ptr< compositor::Compositor > const &  compositor,
std::shared_ptr< graphics::DisplayConfigurationPolicy > const &  display_configuration_policy,
std::shared_ptr< SessionContainer > const &  session_container,
std::shared_ptr< SessionEventHandlerRegister > const &  session_event_handler_register 
)

Member Function Documentation

std::shared_ptr< mg::DisplayConfiguration > mir::shell::MediatingDisplayChanger::active_configuration ( )
virtual
void mir::shell::MediatingDisplayChanger::configure ( std::shared_ptr< frontend::Session > const &  session,
std::shared_ptr< graphics::DisplayConfiguration > const &  conf 
)
void mir::shell::MediatingDisplayChanger::configure_for_hardware_change ( std::shared_ptr< graphics::DisplayConfiguration > const &  conf,
SystemStateHandling  pause_resume_system 
)
virtual

Implements mir::DisplayChanger.

void mir::shell::MediatingDisplayChanger::ensure_display_powered ( std::shared_ptr< frontend::Session > const &  session)

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

Copyright © 2012,2013 Canonical Ltd.
Generated on Tue Oct 15 00:23:28 UTC 2013