Mir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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[])
 
virtual std::shared_ptr
< shell::FocusController
the_focus_controller ()
 
virtual std::shared_ptr
< time::TimeSource
the_time_source ()
 
virtual std::shared_ptr
< shell::SessionManager
the_session_manager ()
 
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::NestedInputRelay
the_nested_input_relay ()
 
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::DisplayBufferCompositorFactory
the_display_buffer_compositor_factory ()
 
virtual std::shared_ptr
< compositor::OverlayRenderer
the_overlay_renderer ()
 
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 ()
 
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::SessionContainer
the_shell_session_container ()
 
virtual std::shared_ptr
< shell::FocusSetter
the_shell_focus_setter ()
 
virtual std::shared_ptr
< shell::FocusSequence
the_shell_focus_sequence ()
 
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::PixelBuffer
the_shell_pixel_buffer ()
 
virtual std::shared_ptr
< shell::SnapshotStrategy
the_shell_snapshot_strategy ()
 
virtual std::shared_ptr
< shell::DisplayLayout
the_shell_display_layout ()
 
virtual std::shared_ptr
< shell::SurfaceConfigurator
the_shell_surface_configurator ()
 
virtual std::shared_ptr
< shell::SessionEventSink
the_shell_session_event_sink ()
 
virtual std::shared_ptr
< shell::SessionEventHandlerRegister
the_shell_session_event_handler_register ()
 
shell configuration - dependencies

dependencies of shell on the rest of the Mir

virtual std::shared_ptr
< shell::SurfaceBuilder
the_surface_builder ()
 
virtual std::shared_ptr
< surfaces::SurfaceController
the_surface_controller ()
 
surfaces configuration - customization

configurable interfaces for modifying surfaces

virtual std::shared_ptr
< surfaces::SurfaceStackModel
the_surface_stack_model ()
 
surfaces configuration - dependencies

dependencies of surfaces on the rest of the Mir

virtual std::shared_ptr
< surfaces::BufferStreamFactory
the_buffer_stream_factory ()
 
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
< surfaces::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

virtual std::shared_ptr
< input::InputChannelFactory
the_input_channel_factory ()
 
virtual std::shared_ptr
< shell::MediatingDisplayChanger
the_mediating_display_changer ()
 
virtual std::shared_ptr
< shell::BroadcastingSessionEventSink
the_broadcasting_session_event_sink ()
 
- 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< shell::SessionManagersession_manager
 
CachedPtr
< input::InputConfiguration
input_configuration
 
CachedPtr< input::InputReportinput_report
 
CachedPtr
< input::CompositeEventFilter
composite_event_filter
 
CachedPtr< input::InputManagerinput_manager
 
CachedPtr< input::InputRegioninput_region
 
CachedPtr
< surfaces::InputRegistrar
input_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
< compositor::RendererFactory
renderer_factory
 
CachedPtr
< compositor::BufferStreamFactory
buffer_stream_factory
 
CachedPtr< surfaces::SurfaceStacksurface_stack
 
CachedPtr< shell::SurfaceFactoryshell_surface_factory
 
CachedPtr
< shell::SessionContainer
shell_session_container
 
CachedPtr< shell::FocusSettershell_focus_setter
 
CachedPtr< shell::FocusSequenceshell_focus_sequence
 
CachedPtr
< shell::PlacementStrategy
shell_placement_strategy
 
CachedPtr< shell::SessionListenershell_session_listener
 
CachedPtr< shell::PixelBuffershell_pixel_buffer
 
CachedPtr
< shell::SnapshotStrategy
shell_snapshot_strategy
 
CachedPtr< shell::DisplayLayoutshell_display_layout
 
CachedPtr
< shell::SurfaceConfigurator
shell_surface_configurator
 
CachedPtr
< compositor::DisplayBufferCompositorFactory
display_buffer_compositor_factory
 
CachedPtr
< compositor::OverlayRenderer
overlay_renderer
 
CachedPtr< compositor::Compositorcompositor
 
CachedPtr< logging::Loggerlogger
 
CachedPtr
< graphics::DisplayReport
display_report
 
CachedPtr
< surfaces::SurfaceController
surface_controller
 
CachedPtr< time::TimeSourcetime_source
 
CachedPtr< MainLoopmain_loop
 
CachedPtr< ServerStatusListenerserver_status_listener
 
CachedPtr
< graphics::DisplayConfigurationPolicy
display_configuration_policy
 
CachedPtr
< graphics::nested::HostConnection
host_connection
 
CachedPtr
< input::NestedInputRelay
nested_input_relay
 
CachedPtr
< shell::MediatingDisplayChanger
mediating_display_changer
 
CachedPtr
< shell::BroadcastingSessionEventSink
broadcasting_session_event_sink
 

Additional Inherited Members

- Private Member Functions inherited from mir::DefaultConfigurationOptions
 DefaultConfigurationOptions (int argc, char const *argv[])
 
virtual ~DefaultConfigurationOptions ()=default
 
boost::program_options::options_description_easy_init add_options ()
 
virtual void parse_options (boost::program_options::options_description &options_description, options::ProgramOption &options) const
 
virtual std::shared_ptr
< options::Option
the_options () const
 
- Static Private Attributes inherited from mir::ConfigurationOptions
static char const *const server_socket_opt = "file"
 
static char const *const no_server_socket_opt = "no-file"
 
static char const *const session_mediator_report_opt = "session-mediator-report"
 
static char const *const msg_processor_report_opt = "msg-processor-report"
 
static char const *const display_report_opt = "display-report"
 
static char const *const legacy_input_report_opt = "legacy-input-report"
 
static char const *const connector_report_opt = "connector-report"
 
static char const *const input_report_opt = "input-report"
 
static char const *const host_socket_opt = "host-socket"
 
static char const *const standalone_opt = "standalone"
 
static char const *const frontend_threads = "ipc-thread-pool"
 
static char const *const glog = "glog"
 
static char const *const glog_stderrthreshold = "glog-stderrthreshold"
 
static char const *const glog_minloglevel = "glog-minloglevel"
 
static char const *const glog_log_dir = "glog-log-dir"
 
static char const *const glog_log_dir_default = ""
 
static int const glog_stderrthreshold_default = 2
 
static int const glog_minloglevel_default = 0
 
static bool const enable_input_default = true
 
static char const *const off_opt_value = "off"
 
static char const *const log_opt_value = "log"
 
static char const *const lttng_opt_value = "lttng"
 
static char const *const platform_graphics_lib = "platform-graphics-lib"
 
static char const *const default_platform_graphics_lib = "libmirplatformgraphics.so"
 

Constructor & Destructor Documentation

mir::DefaultServerConfiguration::DefaultServerConfiguration ( int  argc,
char const *  argv[] 
)

Member Function Documentation

std::shared_ptr< msh::BroadcastingSessionEventSink > mir::DefaultServerConfiguration::the_broadcasting_session_event_sink ( )
protectedvirtual
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< mi::CompositeEventFilter > mir::DefaultServerConfiguration::the_composite_event_filter ( )
virtual
std::shared_ptr< mc::Compositor > mir::DefaultServerConfiguration::the_compositor ( )
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
std::shared_ptr< mir::DisplayChanger > mir::DefaultServerConfiguration::the_display_changer ( )
virtual
std::shared_ptr< mg::DisplayConfigurationPolicy > mir::DefaultServerConfiguration::the_display_configuration_policy ( )
virtual
std::shared_ptr< mg::DisplayReport > 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< 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
std::shared_ptr< mi::InputReport > mir::DefaultServerConfiguration::the_input_report ( )
virtual
std::shared_ptr< msh::InputTargeter > mir::DefaultServerConfiguration::the_input_targeter ( )
virtual
std::shared_ptr< ml::Logger > mir::DefaultServerConfiguration::the_logger ( )
virtual
std::shared_ptr< mir::MainLoop > mir::DefaultServerConfiguration::the_main_loop ( )
virtual
std::shared_ptr< msh::MediatingDisplayChanger > mir::DefaultServerConfiguration::the_mediating_display_changer ( )
protectedvirtual
std::shared_ptr< mf::MessageProcessorReport > mir::DefaultServerConfiguration::the_message_processor_report ( )
virtual
auto mir::DefaultServerConfiguration::the_nested_input_relay ( )
virtual
std::shared_ptr< mc::OverlayRenderer > mir::DefaultServerConfiguration::the_overlay_renderer ( )
virtual
std::shared_ptr< mc::RendererFactory > mir::DefaultServerConfiguration::the_renderer_factory ( )
virtual
std::shared_ptr< mc::Scene > mir::DefaultServerConfiguration::the_scene ( )
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< mf::SessionCreator > mir::DefaultServerConfiguration::the_session_creator ( )
virtual
std::shared_ptr< msh::SessionManager > mir::DefaultServerConfiguration::the_session_manager ( )
virtual
std::shared_ptr< mf::SessionMediatorReport > 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::FocusSequence > mir::DefaultServerConfiguration::the_shell_focus_sequence ( )
virtual
std::shared_ptr< msh::FocusSetter > mir::DefaultServerConfiguration::the_shell_focus_setter ( )
virtual
std::shared_ptr< msh::PixelBuffer > mir::DefaultServerConfiguration::the_shell_pixel_buffer ( )
virtual
std::shared_ptr< msh::PlacementStrategy > mir::DefaultServerConfiguration::the_shell_placement_strategy ( )
virtual
std::shared_ptr< msh::SessionContainer > mir::DefaultServerConfiguration::the_shell_session_container ( )
virtual
std::shared_ptr< msh::SessionEventHandlerRegister > mir::DefaultServerConfiguration::the_shell_session_event_handler_register ( )
virtual
std::shared_ptr< msh::SessionEventSink > mir::DefaultServerConfiguration::the_shell_session_event_sink ( )
virtual
std::shared_ptr< msh::SessionListener > mir::DefaultServerConfiguration::the_shell_session_listener ( )
virtual
std::shared_ptr< msh::SnapshotStrategy > mir::DefaultServerConfiguration::the_shell_snapshot_strategy ( )
virtual
std::shared_ptr< msh::SurfaceConfigurator > mir::DefaultServerConfiguration::the_shell_surface_configurator ( )
virtual
std::shared_ptr< msh::SurfaceFactory > mir::DefaultServerConfiguration::the_shell_surface_factory ( )
virtual
std::shared_ptr< msh::SurfaceBuilder > mir::DefaultServerConfiguration::the_surface_builder ( )
virtual
std::shared_ptr< ms::SurfaceController > mir::DefaultServerConfiguration::the_surface_controller ( )
virtual
std::shared_ptr< ms::SurfaceStackModel > mir::DefaultServerConfiguration::the_surface_stack_model ( )
virtual
std::shared_ptr< mir::time::TimeSource > mir::DefaultServerConfiguration::the_time_source ( )
virtual

Member Data Documentation

CachedPtr<shell::BroadcastingSessionEventSink> mir::DefaultServerConfiguration::broadcasting_session_event_sink
protected
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<input::CompositeEventFilter> mir::DefaultServerConfiguration::composite_event_filter
protected
CachedPtr<compositor::Compositor> mir::DefaultServerConfiguration::compositor
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<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<surfaces::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<shell::MediatingDisplayChanger> mir::DefaultServerConfiguration::mediating_display_changer
protected
CachedPtr<frontend::MessageProcessorReport> mir::DefaultServerConfiguration::message_processor_report
protected
CachedPtr<input::NestedInputRelay> mir::DefaultServerConfiguration::nested_input_relay
protected
CachedPtr<compositor::OverlayRenderer> mir::DefaultServerConfiguration::overlay_renderer
protected
CachedPtr<compositor::RendererFactory> mir::DefaultServerConfiguration::renderer_factory
protected
CachedPtr<ServerStatusListener> mir::DefaultServerConfiguration::server_status_listener
protected
CachedPtr<frontend::SessionAuthorizer> mir::DefaultServerConfiguration::session_authorizer
protected
CachedPtr<frontend::SessionCreator> mir::DefaultServerConfiguration::session_creator
protected
CachedPtr<shell::SessionManager> mir::DefaultServerConfiguration::session_manager
protected
CachedPtr<frontend::SessionMediatorReport> mir::DefaultServerConfiguration::session_mediator_report
protected
CachedPtr<shell::DisplayLayout> mir::DefaultServerConfiguration::shell_display_layout
protected
CachedPtr<shell::FocusSequence> mir::DefaultServerConfiguration::shell_focus_sequence
protected
CachedPtr<shell::FocusSetter> mir::DefaultServerConfiguration::shell_focus_setter
protected
CachedPtr<shell::PixelBuffer> mir::DefaultServerConfiguration::shell_pixel_buffer
protected
CachedPtr<shell::PlacementStrategy> mir::DefaultServerConfiguration::shell_placement_strategy
protected
Examples:
demo_shell.cpp.
CachedPtr<shell::SessionContainer> mir::DefaultServerConfiguration::shell_session_container
protected
CachedPtr<shell::SessionListener> mir::DefaultServerConfiguration::shell_session_listener
protected
CachedPtr<shell::SnapshotStrategy> mir::DefaultServerConfiguration::shell_snapshot_strategy
protected
CachedPtr<shell::SurfaceConfigurator> mir::DefaultServerConfiguration::shell_surface_configurator
protected
CachedPtr<shell::SurfaceFactory> mir::DefaultServerConfiguration::shell_surface_factory
protected
CachedPtr<surfaces::SurfaceController> mir::DefaultServerConfiguration::surface_controller
protected
CachedPtr<surfaces::SurfaceStack> mir::DefaultServerConfiguration::surface_stack
protected
CachedPtr<time::TimeSource> mir::DefaultServerConfiguration::time_source
protected

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