Mir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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::Platform > const &graphics_platform, 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)
 
 ~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)
 
void configure_cursor (google::protobuf::RpcController *, mir::protobuf::CursorSetting const *, mir::protobuf::Void *, google::protobuf::Closure *done)
 
void start_prompt_session (::google::protobuf::RpcController *controller, const ::mir::protobuf::PromptSessionParameters *request,::mir::protobuf::Void *response,::google::protobuf::Closure *done)
 
void stop_prompt_session (::google::protobuf::RpcController *controller, const ::mir::protobuf::Void *request,::mir::protobuf::Void *response,::google::protobuf::Closure *done)
 
void drm_auth_magic (google::protobuf::RpcController *controller, const mir::protobuf::DRMMagic *request, mir::protobuf::DRMAuthMagicStatus *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
 
- Public Member Functions inherited from mir::protobuf::DisplayServer
virtual ~DisplayServer ()
 
virtual void disconnect (::google::protobuf::RpcController *controller, const ::mir::protobuf::Void *request,::mir::protobuf::Void *response,::google::protobuf::Closure *done)
 
virtual void create_surface (::google::protobuf::RpcController *controller, const ::mir::protobuf::SurfaceParameters *request,::mir::protobuf::Surface *response,::google::protobuf::Closure *done)
 
virtual void next_buffer (::google::protobuf::RpcController *controller, const ::mir::protobuf::SurfaceId *request,::mir::protobuf::Buffer *response,::google::protobuf::Closure *done)
 
virtual void release_surface (::google::protobuf::RpcController *controller, const ::mir::protobuf::SurfaceId *request,::mir::protobuf::Void *response,::google::protobuf::Closure *done)
 
virtual void drm_auth_magic (::google::protobuf::RpcController *controller, const ::mir::protobuf::DRMMagic *request,::mir::protobuf::DRMAuthMagicStatus *response,::google::protobuf::Closure *done)
 
virtual void configure_surface (::google::protobuf::RpcController *controller, const ::mir::protobuf::SurfaceSetting *request,::mir::protobuf::SurfaceSetting *response,::google::protobuf::Closure *done)
 
virtual void create_screencast (::google::protobuf::RpcController *controller, const ::mir::protobuf::ScreencastParameters *request,::mir::protobuf::Screencast *response,::google::protobuf::Closure *done)
 
virtual void screencast_buffer (::google::protobuf::RpcController *controller, const ::mir::protobuf::ScreencastId *request,::mir::protobuf::Buffer *response,::google::protobuf::Closure *done)
 
virtual void release_screencast (::google::protobuf::RpcController *controller, const ::mir::protobuf::ScreencastId *request,::mir::protobuf::Void *response,::google::protobuf::Closure *done)
 
virtual void configure_cursor (::google::protobuf::RpcController *controller, const ::mir::protobuf::CursorSetting *request,::mir::protobuf::Void *response,::google::protobuf::Closure *done)
 
virtual void exchange_buffer (::google::protobuf::RpcController *controller, const ::mir::protobuf::BufferRequest *request,::mir::protobuf::Buffer *response,::google::protobuf::Closure *done)
 
const
::google::protobuf::ServiceDescriptor * 
GetDescriptor ()
 
void CallMethod (const ::google::protobuf::MethodDescriptor *method,::google::protobuf::RpcController *controller, const ::google::protobuf::Message *request,::google::protobuf::Message *response,::google::protobuf::Closure *done)
 
const ::google::protobuf::Message & GetRequestPrototype (const ::google::protobuf::MethodDescriptor *method) const
 
const ::google::protobuf::Message & GetResponsePrototype (const ::google::protobuf::MethodDescriptor *method) const
 

Additional Inherited Members

- Public Types inherited from mir::protobuf::DisplayServer
typedef DisplayServer_Stub Stub
 
- Static Public Member Functions inherited from mir::protobuf::DisplayServer
static const
::google::protobuf::ServiceDescriptor * 
descriptor ()
 
- Protected Member Functions inherited from mir::protobuf::DisplayServer
 DisplayServer ()
 

Constructor & Destructor Documentation

mir::frontend::SessionMediator::SessionMediator ( std::shared_ptr< Shell > const &  shell,
std::shared_ptr< graphics::Platform > const &  graphics_platform,
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 
)
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 
)
void mir::frontend::SessionMediator::configure_display ( ::google::protobuf::RpcController *  controller,
const ::mir::protobuf::DisplayConfiguration request,
::mir::protobuf::DisplayConfiguration response,
::google::protobuf::Closure *  done 
)
overridevirtual

Reimplemented from mir::protobuf::DisplayServer.

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 
)
overridevirtual

Reimplemented from mir::protobuf::DisplayServer.

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 
)
overridevirtual

Reimplemented from mir::protobuf::DisplayServer.

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::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 
)
void mir::frontend::SessionMediator::start_prompt_session ( ::google::protobuf::RpcController *  controller,
const ::mir::protobuf::PromptSessionParameters request,
::mir::protobuf::Void response,
::google::protobuf::Closure *  done 
)
virtual

Reimplemented from mir::protobuf::DisplayServer.

void mir::frontend::SessionMediator::stop_prompt_session ( ::google::protobuf::RpcController *  controller,
const ::mir::protobuf::Void request,
::mir::protobuf::Void response,
::google::protobuf::Closure *  done 
)
virtual

Reimplemented from mir::protobuf::DisplayServer.


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

Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Oct 10 14:07:14 UTC 2014