Mir
Public Member Functions | List of all members
mir::frontend::SessionMediator Class Reference

#include <session_mediator.h>

Inheritance diagram for mir::frontend::SessionMediator:
[legend]

Public Member Functions

 SessionMediator (std::shared_ptr< Shell > const &shell, std::shared_ptr< graphics::PlatformIpcOperations > const &ipc_operations, std::shared_ptr< frontend::DisplayChanger > const &display_changer, std::vector< MirPixelFormat > const &surface_pixel_formats, std::shared_ptr< SessionMediatorReport > const &report, std::shared_ptr< EventSink > const &event_sink, std::shared_ptr< MessageResourceCache > const &resource_cache, std::shared_ptr< Screencast > const &screencast, ConnectionContext const &connection_context, std::shared_ptr< input::CursorImages > const &cursor_images, std::shared_ptr< scene::CoordinateTranslator > const &translator)
 
 ~SessionMediator () noexcept
 
void client_pid (int pid) override
 
void connect (::google::protobuf::RpcController *controller, const ::mir::protobuf::ConnectParameters *request,::mir::protobuf::Connection *response,::google::protobuf::Closure *done) override
 
void create_surface (google::protobuf::RpcController *controller, const mir::protobuf::SurfaceParameters *request, mir::protobuf::Surface *response, google::protobuf::Closure *done) override
 
void next_buffer (google::protobuf::RpcController *controller, mir::protobuf::SurfaceId const *request, mir::protobuf::Buffer *response, google::protobuf::Closure *done) override
 
void exchange_buffer (google::protobuf::RpcController *controller, mir::protobuf::BufferRequest const *request, mir::protobuf::Buffer *response, google::protobuf::Closure *done) override
 
void release_surface (google::protobuf::RpcController *controller, const mir::protobuf::SurfaceId *, mir::protobuf::Void *, google::protobuf::Closure *done) override
 
void disconnect (google::protobuf::RpcController *controller, const mir::protobuf::Void *request, mir::protobuf::Void *response, google::protobuf::Closure *done) override
 
void configure_surface (google::protobuf::RpcController *controller, const mir::protobuf::SurfaceSetting *, mir::protobuf::SurfaceSetting *, google::protobuf::Closure *done) override
 
void configure_display (::google::protobuf::RpcController *controller, const ::mir::protobuf::DisplayConfiguration *request,::mir::protobuf::DisplayConfiguration *response,::google::protobuf::Closure *done) override
 
void create_screencast (google::protobuf::RpcController *, const mir::protobuf::ScreencastParameters *, mir::protobuf::Screencast *, google::protobuf::Closure *done) override
 
void release_screencast (google::protobuf::RpcController *, const mir::protobuf::ScreencastId *, mir::protobuf::Void *, google::protobuf::Closure *done) override
 
void screencast_buffer (google::protobuf::RpcController *, const mir::protobuf::ScreencastId *, mir::protobuf::Buffer *, google::protobuf::Closure *done) override
 
void configure_cursor (google::protobuf::RpcController *, mir::protobuf::CursorSetting const *, mir::protobuf::Void *, google::protobuf::Closure *done) override
 
void start_prompt_session (::google::protobuf::RpcController *controller, const ::mir::protobuf::PromptSessionParameters *request,::mir::protobuf::Void *response,::google::protobuf::Closure *done) override
 
void stop_prompt_session (::google::protobuf::RpcController *controller, const ::mir::protobuf::Void *request,::mir::protobuf::Void *response,::google::protobuf::Closure *done) override
 
void drm_auth_magic (google::protobuf::RpcController *controller, const mir::protobuf::DRMMagic *request, mir::protobuf::DRMAuthMagicStatus *response, google::protobuf::Closure *done) override
 
void platform_operation (google::protobuf::RpcController *, mir::protobuf::PlatformOperationMessage const *request, mir::protobuf::PlatformOperationMessage *response, google::protobuf::Closure *done) override
 
void new_fds_for_prompt_providers (::google::protobuf::RpcController *controller,::mir::protobuf::SocketFDRequest const *parameters,::mir::protobuf::SocketFD *response,::google::protobuf::Closure *done) override
 
void translate_surface_to_screen (::google::protobuf::RpcController *controller,::mir::protobuf::CoordinateTranslationRequest const *request,::mir::protobuf::CoordinateTranslationResponse *response,::google::protobuf::Closure *done) override
 

Constructor & Destructor Documentation

mir::frontend::SessionMediator::SessionMediator ( std::shared_ptr< Shell > const &  shell,
std::shared_ptr< graphics::PlatformIpcOperations > const &  ipc_operations,
std::shared_ptr< frontend::DisplayChanger > const &  display_changer,
std::vector< MirPixelFormat > const &  surface_pixel_formats,
std::shared_ptr< SessionMediatorReport > const &  report,
std::shared_ptr< EventSink > const &  event_sink,
std::shared_ptr< MessageResourceCache > const &  resource_cache,
std::shared_ptr< Screencast > const &  screencast,
ConnectionContext const &  connection_context,
std::shared_ptr< input::CursorImages > const &  cursor_images,
std::shared_ptr< scene::CoordinateTranslator > const &  translator 
)
mir::frontend::SessionMediator::~SessionMediator ( )
noexcept

Member Function Documentation

void mir::frontend::SessionMediator::client_pid ( int  pid)
overridevirtual
void mir::frontend::SessionMediator::configure_cursor ( google::protobuf::RpcController *  ,
mir::protobuf::CursorSetting const *  cursor_request,
mir::protobuf::Void *  ,
google::protobuf::Closure *  done 
)
override
void mir::frontend::SessionMediator::configure_display ( ::google::protobuf::RpcController *  controller,
const ::mir::protobuf::DisplayConfiguration *  request,
::mir::protobuf::DisplayConfiguration *  response,
::google::protobuf::Closure *  done 
)
override
void mir::frontend::SessionMediator::configure_surface ( google::protobuf::RpcController *  controller,
const mir::protobuf::SurfaceSetting *  request,
mir::protobuf::SurfaceSetting *  response,
google::protobuf::Closure *  done 
)
override
void mir::frontend::SessionMediator::connect ( ::google::protobuf::RpcController *  controller,
const ::mir::protobuf::ConnectParameters *  request,
::mir::protobuf::Connection *  response,
::google::protobuf::Closure *  done 
)
override
void mir::frontend::SessionMediator::create_screencast ( google::protobuf::RpcController *  ,
const mir::protobuf::ScreencastParameters *  parameters,
mir::protobuf::Screencast *  protobuf_screencast,
google::protobuf::Closure *  done 
)
override
void mir::frontend::SessionMediator::create_surface ( google::protobuf::RpcController *  controller,
const mir::protobuf::SurfaceParameters *  request,
mir::protobuf::Surface *  response,
google::protobuf::Closure *  done 
)
override
void mir::frontend::SessionMediator::disconnect ( google::protobuf::RpcController *  controller,
const mir::protobuf::Void *  request,
mir::protobuf::Void *  response,
google::protobuf::Closure *  done 
)
override
void mir::frontend::SessionMediator::drm_auth_magic ( google::protobuf::RpcController *  controller,
const mir::protobuf::DRMMagic *  request,
mir::protobuf::DRMAuthMagicStatus *  response,
google::protobuf::Closure *  done 
)
override
void mir::frontend::SessionMediator::exchange_buffer ( google::protobuf::RpcController *  controller,
mir::protobuf::BufferRequest const *  request,
mir::protobuf::Buffer *  response,
google::protobuf::Closure *  done 
)
override
void mir::frontend::SessionMediator::new_fds_for_prompt_providers ( ::google::protobuf::RpcController *  controller,
::mir::protobuf::SocketFDRequest const *  parameters,
::mir::protobuf::SocketFD *  response,
::google::protobuf::Closure *  done 
)
override
void mir::frontend::SessionMediator::next_buffer ( google::protobuf::RpcController *  controller,
mir::protobuf::SurfaceId const *  request,
mir::protobuf::Buffer *  response,
google::protobuf::Closure *  done 
)
override
void mir::frontend::SessionMediator::platform_operation ( google::protobuf::RpcController *  ,
mir::protobuf::PlatformOperationMessage const *  request,
mir::protobuf::PlatformOperationMessage *  response,
google::protobuf::Closure *  done 
)
override
void mir::frontend::SessionMediator::release_screencast ( google::protobuf::RpcController *  ,
const mir::protobuf::ScreencastId *  protobuf_screencast_id,
mir::protobuf::Void *  ,
google::protobuf::Closure *  done 
)
override
void mir::frontend::SessionMediator::release_surface ( google::protobuf::RpcController *  controller,
const mir::protobuf::SurfaceId *  request,
mir::protobuf::Void *  ,
google::protobuf::Closure *  done 
)
override
void mir::frontend::SessionMediator::screencast_buffer ( google::protobuf::RpcController *  ,
const mir::protobuf::ScreencastId *  protobuf_screencast_id,
mir::protobuf::Buffer *  protobuf_buffer,
google::protobuf::Closure *  done 
)
override
void mir::frontend::SessionMediator::start_prompt_session ( ::google::protobuf::RpcController *  controller,
const ::mir::protobuf::PromptSessionParameters *  request,
::mir::protobuf::Void *  response,
::google::protobuf::Closure *  done 
)
override
void mir::frontend::SessionMediator::stop_prompt_session ( ::google::protobuf::RpcController *  controller,
const ::mir::protobuf::Void *  request,
::mir::protobuf::Void *  response,
::google::protobuf::Closure *  done 
)
override
void mir::frontend::SessionMediator::translate_surface_to_screen ( ::google::protobuf::RpcController *  controller,
::mir::protobuf::CoordinateTranslationRequest const *  request,
::mir::protobuf::CoordinateTranslationResponse *  response,
::google::protobuf::Closure *  done 
)
override

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

Copyright © 2012,2013 Canonical Ltd.
Generated on Tue Mar 24 16:15:19 UTC 2015