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

#include <session_mediator.h>

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

Public Member Functions

 SessionMediator (pid_t client_pid, 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< ResourceCache > const &resource_cache, std::shared_ptr< Screencast > const &screencast)
 
 ~SessionMediator () noexcept
 
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 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)
 
void release_screencast (google::protobuf::RpcController *, const mir::protobuf::ScreencastId *, mir::protobuf::Void *, google::protobuf::Closure *done)
 
void screencast_buffer (google::protobuf::RpcController *, const mir::protobuf::ScreencastId *, mir::protobuf::Buffer *, 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
 

Constructor & Destructor Documentation

mir::frontend::SessionMediator::SessionMediator ( pid_t  client_pid,
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< ResourceCache > const &  resource_cache,
std::shared_ptr< Screencast > const &  screencast 
)
mir::frontend::SessionMediator::~SessionMediator ( )
noexcept

Member Function Documentation

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

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