Mir
Namespaces | Classes | Typedefs | Functions
mir::client Namespace Reference

The client-side library implementation namespace. More...

Namespaces

 android
 
 logging
 
 lttng
 
 mesa
 
 rpc
 Client/Server communication implementation namespace.
 

Classes

class  AgingBuffer
 
class  AsyncBufferFactory
 
class  AtomicCallback
 
class  Buffer
 
class  BufferFactory
 
struct  BufferInfo
 
class  BufferReceiver
 
class  BufferStream
 
class  BufferVault
 
class  ClientBuffer
 
class  ClientBufferDepository
 Responsible for taking the buffer data sent from the server and wrapping it in a ClientBuffer. More...
 
class  ClientBufferFactory
 A factory for creating client-side representations of graphics buffers. More...
 
class  ClientBufferStream
 
class  ClientContext
 
class  ClientPlatform
 Interface to client-side platform specific support for graphics operations. More...
 
class  ClientPlatformFactory
 
class  ConnectionConfiguration
 
class  ConnectionSurfaceMap
 
class  DefaultConnectionConfiguration
 
class  DisplayConfiguration
 
class  DisplayOutput
 
class  EGLNativeDisplayContainer
 
class  EGLNativeSurface
 
class  ErrorChain
 
class  ErrorConnections
 
class  ErrorStream
 
class  EventDistributor
 
class  EventHandlerRegister
 
class  EventSink
 
struct  MemoryRegion
 
class  MirConnectionAPI
 
struct  NoTLSFuture
 
class  NoTLSPromise
 
class  NullPerfReport
 
class  PerfReport
 
class  PeriodicPerfReport
 
class  PresentationChain
 
class  ProbingClientPlatformFactory
 
class  PromiseState
 
class  ScreencastStream
 
class  ServerBufferRequests
 
class  SurfaceMap
 
class  WeakEGL
 

Typedefs

using LifecycleControl = AtomicCallback< MirLifecycleState >
 
using ConfigurationFactory = std::function< std::unique_ptr< ConnectionConfiguration >(std::string const &)>
 
using PingHandler = AtomicCallback< int32_t >
 
typedef mir::UniqueModulePtr< ClientPlatform >(* CreateClientPlatform) (ClientContext *context)
 
typedef bool(* ClientPlatformProbe) (ClientContext *context)
 

Functions

void delete_config_storage (MirDisplayConfiguration *config)
 
template<typename ProtobufType >
auto make_protobuf_object ()
 
template<typename ProtobufType >
auto make_protobuf_object (ProtobufType const &from)
 
std::unique_ptr< MirBufferPackageprotobuf_to_native_buffer (protobuf::Buffer const &buffer)
 
std::shared_ptr< mir::client::rpc::MirBasicRpcChannelthe_rpc_channel (MirConnection *connection)
 Get the the RpcChannel associated with the connection. More...
 

Detailed Description

The client-side library implementation namespace.

Typedef Documentation

typedef bool(* mir::client::ClientPlatformProbe) (ClientContext *context)
using mir::client::ConfigurationFactory = typedef std::function<std::unique_ptr<ConnectionConfiguration>(std::string const&)>
typedef mir::UniqueModulePtr<ClientPlatform>(* mir::client::CreateClientPlatform) (ClientContext *context)
using mir::client::PingHandler = typedef AtomicCallback<int32_t>

Function Documentation

void mir::client::delete_config_storage ( MirDisplayConfiguration config)
template<typename ProtobufType >
auto mir::client::make_protobuf_object ( )
template<typename ProtobufType >
auto mir::client::make_protobuf_object ( ProtobufType const &  from)
std::unique_ptr<MirBufferPackage> mir::client::protobuf_to_native_buffer ( protobuf::Buffer const &  buffer)
auto mir::client::the_rpc_channel ( MirConnection connection)

Get the the RpcChannel associated with the connection.

This is a "private" function to support development of client-side protobuf RPC calls using the Mir infrastructure. This intended for internal prototyping and there is no commitment to long term support.

Parameters
connection- a connection to a Mir server
Returns
the RpcChannel associated with the connection

Copyright © 2012-2015 Canonical Ltd.
Generated on Wed Mar 30 00:29:56 UTC 2016