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

#include <default_server_configuration.h>

Inheritance diagram for mir::DefaultServerConfiguration:
Inheritance graph
[legend]

Public Member Functions

 DefaultServerConfiguration (int argc, char const *argv[])
 
 DefaultServerConfiguration (std::shared_ptr< options::Configuration > const &configuration_options)
 
virtual std::shared_ptr
< shell::FocusController
the_focus_controller ()
 
virtual std::shared_ptr
< time::Clock
the_clock ()
 
DisplayServer dependencies

dependencies of DisplayServer on the rest of the Mir

virtual std::shared_ptr
< frontend::Connector
the_connector ()
 
virtual std::shared_ptr
< graphics::Display
the_display ()
 
virtual std::shared_ptr
< compositor::Compositor
the_compositor ()
 
virtual std::shared_ptr
< input::InputManager
the_input_manager ()
 
virtual std::shared_ptr< MainLoopthe_main_loop ()
 
virtual std::shared_ptr
< ServerStatusListener
the_server_status_listener ()
 
virtual std::shared_ptr
< DisplayChanger
the_display_changer ()
 
virtual std::shared_ptr
< graphics::Platform
the_graphics_platform ()
 
virtual std::shared_ptr
< input::InputConfiguration
the_input_configuration ()
 
graphics configuration - customization

configurable interfaces for modifying graphics

virtual std::shared_ptr
< graphics::BufferInitializer
the_buffer_initializer ()
 
virtual std::shared_ptr
< compositor::RendererFactory
the_renderer_factory ()
 
virtual std::shared_ptr
< graphics::DisplayConfigurationPolicy
the_display_configuration_policy ()
 
virtual std::shared_ptr
< graphics::nested::HostConnection
the_host_connection ()
 
virtual std::shared_ptr
< input::EventFilter
the_nested_event_filter ()
 
virtual std::shared_ptr
< graphics::GLConfig
the_gl_config ()
 
graphics configuration - dependencies

dependencies of graphics on the rest of the Mir

virtual std::shared_ptr
< graphics::DisplayReport
the_display_report ()
 
compositor configuration - customization

configurable interfaces for modifying compositor

virtual std::shared_ptr
< compositor::CompositorReport
the_compositor_report ()
 
virtual std::shared_ptr
< compositor::DisplayBufferCompositorFactory
the_display_buffer_compositor_factory ()
 
compositor configuration - dependencies

dependencies of compositor on the rest of the Mir

virtual std::shared_ptr
< graphics::GraphicBufferAllocator
the_buffer_allocator ()
 
virtual std::shared_ptr
< compositor::Scene
the_scene ()
 
frontend configuration - dependencies

dependencies of frontend on the rest of the Mir

virtual std::shared_ptr
< frontend::SessionMediatorReport
the_session_mediator_report ()
 
virtual std::shared_ptr
< frontend::MessageProcessorReport
the_message_processor_report ()
 
virtual std::shared_ptr
< frontend::SessionAuthorizer
the_session_authorizer ()
 
virtual std::shared_ptr
< frontend::Shell
the_frontend_shell ()
 
virtual std::shared_ptr
< frontend::EventSink
the_global_event_sink ()
 
virtual std::shared_ptr
< frontend::DisplayChanger
the_frontend_display_changer ()
 
virtual std::shared_ptr
< frontend::Screencast
the_screencast ()
 
frontend configuration - internal dependencies

internal dependencies of frontend

virtual std::shared_ptr
< frontend::SessionCreator
the_session_creator ()
 
virtual std::shared_ptr
< frontend::ConnectorReport
the_connector_report ()
 
shell configuration - customization

configurable interfaces for modifying shell

virtual std::shared_ptr
< shell::SurfaceFactory
the_shell_surface_factory ()
 
virtual std::shared_ptr
< shell::FocusSetter
the_shell_focus_setter ()
 
virtual std::shared_ptr
< shell::PlacementStrategy
the_shell_placement_strategy ()
 
virtual std::shared_ptr
< shell::SessionListener
the_shell_session_listener ()
 
virtual std::shared_ptr
< shell::DisplayLayout
the_shell_display_layout ()
 
internal scene configuration

builder functions used in the default implementation.

The interfaces returned are not published, so the functions are only useful in tests

virtual std::shared_ptr
< scene::PixelBuffer
the_pixel_buffer ()
 
virtual std::shared_ptr
< scene::SnapshotStrategy
the_snapshot_strategy ()
 
virtual std::shared_ptr
< scene::SessionContainer
the_session_container ()
 
virtual std::shared_ptr
< scene::SessionEventSink
the_session_event_sink ()
 
virtual std::shared_ptr
< scene::SessionEventHandlerRegister
the_session_event_handler_register ()
 
virtual std::shared_ptr
< scene::SurfaceStackModel
the_surface_stack_model ()
 
virtual std::shared_ptr
< scene::SurfaceRanker
the_surface_ranker ()
 
virtual std::shared_ptr
< scene::SurfaceFactory
the_surface_factory ()
 
virtual std::shared_ptr
< scene::SurfaceCoordinator
the_surface_coordinator ()
 
virtual std::shared_ptr
< scene::SurfaceConfigurator
the_surface_configurator ()
 
scene configuration - dependencies

dependencies of scene on the rest of the Mir

virtual std::shared_ptr
< scene::BufferStreamFactory
the_buffer_stream_factory ()
 
virtual std::shared_ptr
< scene::SceneReport
the_scene_report ()
 
input configuration
virtual std::shared_ptr
< input::InputReport
the_input_report ()
 
virtual std::shared_ptr
< input::CompositeEventFilter
the_composite_event_filter ()
 
virtual std::shared_ptr
< scene::InputRegistrar
the_input_registrar ()
 
virtual std::shared_ptr
< shell::InputTargeter
the_input_targeter ()
 
virtual std::shared_ptr
< input::CursorListener
the_cursor_listener ()
 
virtual std::shared_ptr
< input::InputRegion
the_input_region ()
 
logging configuration - customization

configurable interfaces for modifying logging

virtual std::shared_ptr
< logging::Logger
the_logger ()
 

Protected Member Functions

std::shared_ptr< options::Optionthe_options () const
 
virtual std::shared_ptr
< input::InputChannelFactory
the_input_channel_factory ()
 
virtual std::shared_ptr
< scene::MediatingDisplayChanger
the_mediating_display_changer ()
 
virtual std::shared_ptr
< frontend::ProtobufIpcFactory
the_ipc_factory (std::shared_ptr< frontend::Shell > const &shell, std::shared_ptr< graphics::GraphicBufferAllocator > const &allocator)
 
- Protected Member Functions inherited from mir::ServerConfiguration
 ServerConfiguration ()=default
 
virtual ~ServerConfiguration ()
 
 ServerConfiguration (ServerConfiguration const &)=delete
 
ServerConfigurationoperator= (ServerConfiguration const &)=delete
 

Protected Attributes

CachedPtr< frontend::Connectorconnector
 
CachedPtr
< input::InputConfiguration
input_configuration
 
CachedPtr< input::InputReportinput_report
 
CachedPtr
< input::CompositeEventFilter
composite_event_filter
 
CachedPtr< input::InputManagerinput_manager
 
CachedPtr< input::InputRegioninput_region
 
CachedPtr< scene::InputRegistrarinput_registrar
 
CachedPtr< shell::InputTargeterinput_targeter
 
CachedPtr< input::CursorListenercursor_listener
 
CachedPtr< graphics::Platformgraphics_platform
 
CachedPtr
< graphics::BufferInitializer
buffer_initializer
 
CachedPtr
< graphics::GraphicBufferAllocator
buffer_allocator
 
CachedPtr< graphics::Displaydisplay
 
CachedPtr
< frontend::ConnectorReport
connector_report
 
CachedPtr
< frontend::ProtobufIpcFactory
ipc_factory
 
CachedPtr
< frontend::SessionMediatorReport
session_mediator_report
 
CachedPtr
< frontend::MessageProcessorReport
message_processor_report
 
CachedPtr
< frontend::SessionAuthorizer
session_authorizer
 
CachedPtr< frontend::EventSinkglobal_event_sink
 
CachedPtr
< frontend::SessionCreator
session_creator
 
CachedPtr< frontend::Screencastscreencast
 
CachedPtr
< compositor::RendererFactory
renderer_factory
 
CachedPtr
< compositor::BufferStreamFactory
buffer_stream_factory
 
CachedPtr< scene::SurfaceStacksurface_stack
 
CachedPtr< scene::SceneReportscene_report
 
CachedPtr< shell::SurfaceFactoryshell_surface_factory
 
CachedPtr< scene::SurfaceFactorysurface_factory
 
CachedPtr
< scene::SessionContainer
session_container
 
CachedPtr< shell::FocusSettershell_focus_setter
 
CachedPtr
< shell::PlacementStrategy
shell_placement_strategy
 
CachedPtr< shell::SessionListenershell_session_listener
 
CachedPtr< scene::PixelBufferpixel_buffer
 
CachedPtr
< scene::SnapshotStrategy
snapshot_strategy
 
CachedPtr< shell::DisplayLayoutshell_display_layout
 
CachedPtr
< scene::SurfaceConfigurator
surface_configurator
 
CachedPtr
< compositor::DisplayBufferCompositorFactory
display_buffer_compositor_factory
 
CachedPtr< compositor::Compositorcompositor
 
CachedPtr
< compositor::CompositorReport
compositor_report
 
CachedPtr< logging::Loggerlogger
 
CachedPtr
< graphics::DisplayReport
display_report
 
CachedPtr< time::Clockclock
 
CachedPtr< MainLoopmain_loop
 
CachedPtr< ServerStatusListenerserver_status_listener
 
CachedPtr
< graphics::DisplayConfigurationPolicy
display_configuration_policy
 
CachedPtr
< graphics::nested::HostConnection
host_connection
 
CachedPtr
< scene::MediatingDisplayChanger
mediating_display_changer
 
CachedPtr< graphics::GLConfiggl_config
 

Constructor & Destructor Documentation

mir::DefaultServerConfiguration::DefaultServerConfiguration ( int  argc,
char const *  argv[] 
)
mir::DefaultServerConfiguration::DefaultServerConfiguration ( std::shared_ptr< options::Configuration > const &  configuration_options)
explicit

Member Function Documentation

std::shared_ptr< mg::GraphicBufferAllocator > mir::DefaultServerConfiguration::the_buffer_allocator ( )
virtual
std::shared_ptr< mg::BufferInitializer > mir::DefaultServerConfiguration::the_buffer_initializer ( )
virtual
std::shared_ptr< ms::BufferStreamFactory > mir::DefaultServerConfiguration::the_buffer_stream_factory ( )
virtual
std::shared_ptr< mir::time::Clock > mir::DefaultServerConfiguration::the_clock ( )
virtual
std::shared_ptr< mi::CompositeEventFilter > mir::DefaultServerConfiguration::the_composite_event_filter ( )
virtual
std::shared_ptr< mc::Compositor > mir::DefaultServerConfiguration::the_compositor ( )
virtual
auto mir::DefaultServerConfiguration::the_compositor_report ( )
virtual
std::shared_ptr< mf::Connector > mir::DefaultServerConfiguration::the_connector ( )
virtual
auto mir::DefaultServerConfiguration::the_connector_report ( )
virtual
std::shared_ptr< mi::CursorListener > mir::DefaultServerConfiguration::the_cursor_listener ( )
virtual
std::shared_ptr< mg::Display > mir::DefaultServerConfiguration::the_display ( )
virtual
std::shared_ptr< mc::DisplayBufferCompositorFactory > mir::DefaultServerConfiguration::the_display_buffer_compositor_factory ( )
virtual
Examples:
render_surfaces.cpp.
std::shared_ptr< mir::DisplayChanger > mir::DefaultServerConfiguration::the_display_changer ( )
virtual
std::shared_ptr< mg::DisplayConfigurationPolicy > mir::DefaultServerConfiguration::the_display_configuration_policy ( )
virtual
auto mir::DefaultServerConfiguration::the_display_report ( )
virtual
std::shared_ptr< msh::FocusController > mir::DefaultServerConfiguration::the_focus_controller ( )
virtual
std::shared_ptr< mf::DisplayChanger > mir::DefaultServerConfiguration::the_frontend_display_changer ( )
virtual
std::shared_ptr< mf::Shell > mir::DefaultServerConfiguration::the_frontend_shell ( )
virtual
std::shared_ptr< mg::GLConfig > mir::DefaultServerConfiguration::the_gl_config ( )
virtual
std::shared_ptr< mf::EventSink > mir::DefaultServerConfiguration::the_global_event_sink ( )
virtual
std::shared_ptr< mg::Platform > mir::DefaultServerConfiguration::the_graphics_platform ( )
virtual
auto mir::DefaultServerConfiguration::the_host_connection ( )
virtual
std::shared_ptr< mi::InputChannelFactory > mir::DefaultServerConfiguration::the_input_channel_factory ( )
protectedvirtual
std::shared_ptr< mi::InputConfiguration > mir::DefaultServerConfiguration::the_input_configuration ( )
virtual
std::shared_ptr< mi::InputManager > mir::DefaultServerConfiguration::the_input_manager ( )
virtual
std::shared_ptr< mi::InputRegion > mir::DefaultServerConfiguration::the_input_region ( )
virtual
std::shared_ptr< ms::InputRegistrar > mir::DefaultServerConfiguration::the_input_registrar ( )
virtual
auto mir::DefaultServerConfiguration::the_input_report ( )
virtual
std::shared_ptr< msh::InputTargeter > mir::DefaultServerConfiguration::the_input_targeter ( )
virtual
std::shared_ptr< mir::frontend::ProtobufIpcFactory > mir::DefaultServerConfiguration::the_ipc_factory ( std::shared_ptr< frontend::Shell > const &  shell,
std::shared_ptr< graphics::GraphicBufferAllocator > const &  allocator 
)
protectedvirtual
auto mir::DefaultServerConfiguration::the_logger ( )
virtual
std::shared_ptr< mir::MainLoop > mir::DefaultServerConfiguration::the_main_loop ( )
virtual
std::shared_ptr< ms::MediatingDisplayChanger > mir::DefaultServerConfiguration::the_mediating_display_changer ( )
protectedvirtual
auto mir::DefaultServerConfiguration::the_message_processor_report ( )
virtual
auto mir::DefaultServerConfiguration::the_nested_event_filter ( )
virtual
auto mir::DefaultServerConfiguration::the_options ( ) const
protected
Examples:
demo_shell.cpp.
std::shared_ptr< ms::PixelBuffer > mir::DefaultServerConfiguration::the_pixel_buffer ( )
virtual
std::shared_ptr< mc::RendererFactory > mir::DefaultServerConfiguration::the_renderer_factory ( )
virtual
std::shared_ptr< mc::Scene > mir::DefaultServerConfiguration::the_scene ( )
virtual
auto mir::DefaultServerConfiguration::the_scene_report ( )
virtual
std::shared_ptr< mf::Screencast > mir::DefaultServerConfiguration::the_screencast ( )
virtual
std::shared_ptr< mir::ServerStatusListener > mir::DefaultServerConfiguration::the_server_status_listener ( )
virtual
std::shared_ptr< mf::SessionAuthorizer > mir::DefaultServerConfiguration::the_session_authorizer ( )
virtual
std::shared_ptr< ms::SessionContainer > mir::DefaultServerConfiguration::the_session_container ( )
virtual
std::shared_ptr< mf::SessionCreator > mir::DefaultServerConfiguration::the_session_creator ( )
virtual
std::shared_ptr< ms::SessionEventHandlerRegister > mir::DefaultServerConfiguration::the_session_event_handler_register ( )
virtual
std::shared_ptr< ms::SessionEventSink > mir::DefaultServerConfiguration::the_session_event_sink ( )
virtual
auto mir::DefaultServerConfiguration::the_session_mediator_report ( )
virtual
std::shared_ptr< msh::DisplayLayout > mir::DefaultServerConfiguration::the_shell_display_layout ( )
virtual
Examples:
demo_shell.cpp.
std::shared_ptr< msh::FocusSetter > mir::DefaultServerConfiguration::the_shell_focus_setter ( )
virtual
std::shared_ptr< msh::PlacementStrategy > mir::DefaultServerConfiguration::the_shell_placement_strategy ( )
virtual
std::shared_ptr< msh::SessionListener > mir::DefaultServerConfiguration::the_shell_session_listener ( )
virtual
std::shared_ptr< msh::SurfaceFactory > mir::DefaultServerConfiguration::the_shell_surface_factory ( )
virtual
std::shared_ptr< ms::SnapshotStrategy > mir::DefaultServerConfiguration::the_snapshot_strategy ( )
virtual
std::shared_ptr< ms::SurfaceConfigurator > mir::DefaultServerConfiguration::the_surface_configurator ( )
virtual
std::shared_ptr< ms::SurfaceCoordinator > mir::DefaultServerConfiguration::the_surface_coordinator ( )
virtual
auto mir::DefaultServerConfiguration::the_surface_factory ( )
virtual
std::shared_ptr< ms::SurfaceRanker > mir::DefaultServerConfiguration::the_surface_ranker ( )
virtual
std::shared_ptr< ms::SurfaceStackModel > mir::DefaultServerConfiguration::the_surface_stack_model ( )
virtual

Member Data Documentation

CachedPtr<graphics::GraphicBufferAllocator> mir::DefaultServerConfiguration::buffer_allocator
protected
CachedPtr<graphics::BufferInitializer> mir::DefaultServerConfiguration::buffer_initializer
protected
CachedPtr<compositor::BufferStreamFactory> mir::DefaultServerConfiguration::buffer_stream_factory
protected
CachedPtr<time::Clock> mir::DefaultServerConfiguration::clock
protected
CachedPtr<input::CompositeEventFilter> mir::DefaultServerConfiguration::composite_event_filter
protected
CachedPtr<compositor::Compositor> mir::DefaultServerConfiguration::compositor
protected
CachedPtr<compositor::CompositorReport> mir::DefaultServerConfiguration::compositor_report
protected
CachedPtr<frontend::Connector> mir::DefaultServerConfiguration::connector
protected
CachedPtr<frontend::ConnectorReport> mir::DefaultServerConfiguration::connector_report
protected
CachedPtr<input::CursorListener> mir::DefaultServerConfiguration::cursor_listener
protected
CachedPtr<graphics::Display> mir::DefaultServerConfiguration::display
protected
CachedPtr<compositor::DisplayBufferCompositorFactory> mir::DefaultServerConfiguration::display_buffer_compositor_factory
protected
CachedPtr<graphics::DisplayConfigurationPolicy> mir::DefaultServerConfiguration::display_configuration_policy
protected
CachedPtr<graphics::DisplayReport> mir::DefaultServerConfiguration::display_report
protected
CachedPtr<graphics::GLConfig> mir::DefaultServerConfiguration::gl_config
protected
CachedPtr<frontend::EventSink> mir::DefaultServerConfiguration::global_event_sink
protected
CachedPtr<graphics::Platform> mir::DefaultServerConfiguration::graphics_platform
protected
CachedPtr<graphics::nested::HostConnection> mir::DefaultServerConfiguration::host_connection
protected
CachedPtr<input::InputConfiguration> mir::DefaultServerConfiguration::input_configuration
protected
CachedPtr<input::InputManager> mir::DefaultServerConfiguration::input_manager
protected
CachedPtr<input::InputRegion> mir::DefaultServerConfiguration::input_region
protected
CachedPtr<scene::InputRegistrar> mir::DefaultServerConfiguration::input_registrar
protected
CachedPtr<input::InputReport> mir::DefaultServerConfiguration::input_report
protected
CachedPtr<shell::InputTargeter> mir::DefaultServerConfiguration::input_targeter
protected
CachedPtr<frontend::ProtobufIpcFactory> mir::DefaultServerConfiguration::ipc_factory
protected
CachedPtr<logging::Logger> mir::DefaultServerConfiguration::logger
protected
CachedPtr<MainLoop> mir::DefaultServerConfiguration::main_loop
protected
CachedPtr<scene::MediatingDisplayChanger> mir::DefaultServerConfiguration::mediating_display_changer
protected
CachedPtr<frontend::MessageProcessorReport> mir::DefaultServerConfiguration::message_processor_report
protected
CachedPtr<scene::PixelBuffer> mir::DefaultServerConfiguration::pixel_buffer
protected
CachedPtr<compositor::RendererFactory> mir::DefaultServerConfiguration::renderer_factory
protected
CachedPtr<scene::SceneReport> mir::DefaultServerConfiguration::scene_report
protected
CachedPtr<frontend::Screencast> mir::DefaultServerConfiguration::screencast
protected
CachedPtr<ServerStatusListener> mir::DefaultServerConfiguration::server_status_listener
protected
CachedPtr<frontend::SessionAuthorizer> mir::DefaultServerConfiguration::session_authorizer
protected
CachedPtr<scene::SessionContainer> mir::DefaultServerConfiguration::session_container
protected
CachedPtr<frontend::SessionCreator> mir::DefaultServerConfiguration::session_creator
protected
CachedPtr<frontend::SessionMediatorReport> mir::DefaultServerConfiguration::session_mediator_report
protected
CachedPtr<shell::DisplayLayout> mir::DefaultServerConfiguration::shell_display_layout
protected
CachedPtr<shell::FocusSetter> mir::DefaultServerConfiguration::shell_focus_setter
protected
CachedPtr<shell::PlacementStrategy> mir::DefaultServerConfiguration::shell_placement_strategy
protected
Examples:
demo_shell.cpp.
CachedPtr<shell::SessionListener> mir::DefaultServerConfiguration::shell_session_listener
protected
CachedPtr<shell::SurfaceFactory> mir::DefaultServerConfiguration::shell_surface_factory
protected
CachedPtr<scene::SnapshotStrategy> mir::DefaultServerConfiguration::snapshot_strategy
protected
CachedPtr<scene::SurfaceConfigurator> mir::DefaultServerConfiguration::surface_configurator
protected
CachedPtr<scene::SurfaceFactory> mir::DefaultServerConfiguration::surface_factory
protected
CachedPtr<scene::SurfaceStack> mir::DefaultServerConfiguration::surface_stack
protected

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