Mir
Public Member Functions | List of all members
mir::graphics::android::IpcOperations Class Reference

#include <ipc_operations.h>

Inheritance diagram for mir::graphics::android::IpcOperations:
[legend]

Public Member Functions

void pack_buffer (BufferIpcMessage &, Buffer const &, BufferIpcMsgType) const override
 
void unpack_buffer (BufferIpcMessage &, Buffer const &) const override
 
std::shared_ptr< PlatformIPCPackageconnection_ipc_package () override
 Gets the connection package for the platform. More...
 
PlatformOperationMessage platform_operation (unsigned int const opcode, PlatformOperationMessage const &message) override
 Arranges a platform specific operation triggered by an IPC call. More...
 
- Public Member Functions inherited from mir::graphics::PlatformIpcOperations
virtual ~PlatformIpcOperations ()=default
 
virtual void pack_buffer (BufferIpcMessage &message, Buffer const &buffer, BufferIpcMsgType msg_type) const =0
 Arranges the IPC package for a buffer that is to be sent through the frontend from server to client. More...
 
virtual void unpack_buffer (BufferIpcMessage &message, Buffer const &buffer) const =0
 Arranges the IPC package for a buffer that was sent over IPC client to server. More...
 

Additional Inherited Members

- Protected Member Functions inherited from mir::graphics::PlatformIpcOperations
 PlatformIpcOperations ()=default
 
 PlatformIpcOperations (PlatformIpcOperations const &)=delete
 
PlatformIpcOperationsoperator= (PlatformIpcOperations const &)=delete
 

Member Function Documentation

std::shared_ptr< mg::PlatformIPCPackage > mir::graphics::android::IpcOperations::connection_ipc_package ( )
overridevirtual

Gets the connection package for the platform.

The IPC package will be sent to clients when they connect.

Implements mir::graphics::PlatformIpcOperations.

void mir::graphics::android::IpcOperations::pack_buffer ( BufferIpcMessage msg,
Buffer const &  buffer,
BufferIpcMsgType  msg_type 
) const
override
mg::PlatformOperationMessage mir::graphics::android::IpcOperations::platform_operation ( unsigned int const  opcode,
PlatformOperationMessage const &  message 
)
overridevirtual

Arranges a platform specific operation triggered by an IPC call.

Returns
the response that will be sent to the client
Parameters
[in]opcodethe opcode that indicates the action to be performed
[in]requestthe message that was sent to the server

Implements mir::graphics::PlatformIpcOperations.

void mir::graphics::android::IpcOperations::unpack_buffer ( BufferIpcMessage ,
Buffer const &   
) const
override

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

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