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

#include <null_platform.h>

Inheritance diagram for mir::test::doubles::NullPlatform:
Inheritance graph
[legend]

Public Member Functions

std::shared_ptr
< graphics::GraphicBufferAllocator
create_buffer_allocator (const std::shared_ptr< graphics::BufferInitializer > &)
 
std::shared_ptr
< graphics::Display
create_display (std::shared_ptr< graphics::DisplayConfigurationPolicy > const &)
 
std::shared_ptr
< graphics::PlatformIPCPackage
get_ipc_package ()
 Gets the IPC package for the platform. More...
 
std::shared_ptr
< graphics::InternalClient
create_internal_client ()
 Creates the in-process client support object. More...
 
void fill_ipc_package (std::shared_ptr< graphics::BufferIPCPacker > const &, std::shared_ptr< graphics::Buffer > const &) const
 
- Public Member Functions inherited from mir::graphics::Platform
 Platform ()=default
 
 Platform (const Platform &p)=delete
 
Platformoperator= (const Platform &p)=delete
 
virtual ~Platform ()
 
virtual std::shared_ptr
< GraphicBufferAllocator
create_buffer_allocator (std::shared_ptr< BufferInitializer > const &buffer_initializer)=0
 Creates the buffer allocator subsystem. More...
 
virtual std::shared_ptr< Displaycreate_display (std::shared_ptr< DisplayConfigurationPolicy > const &initial_conf_policy)=0
 Creates the display subsystem. More...
 
virtual void fill_ipc_package (std::shared_ptr< BufferIPCPacker > const &packer, std::shared_ptr< graphics::Buffer > const &buffer) const =0
 Fills the IPC package for a buffer. More...
 

Member Function Documentation

std::shared_ptr<graphics::GraphicBufferAllocator> mir::test::doubles::NullPlatform::create_buffer_allocator ( const std::shared_ptr< graphics::BufferInitializer > &  )
inline
std::shared_ptr<graphics::Display> mir::test::doubles::NullPlatform::create_display ( std::shared_ptr< graphics::DisplayConfigurationPolicy > const &  )
inline
std::shared_ptr<graphics::InternalClient> mir::test::doubles::NullPlatform::create_internal_client ( )
inlinevirtual

Creates the in-process client support object.

Implements mir::graphics::Platform.

void mir::test::doubles::NullPlatform::fill_ipc_package ( std::shared_ptr< graphics::BufferIPCPacker > const &  ,
std::shared_ptr< graphics::Buffer > const &   
) const
inline
std::shared_ptr<graphics::PlatformIPCPackage> mir::test::doubles::NullPlatform::get_ipc_package ( )
inlinevirtual

Gets the IPC package for the platform.

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

Implements mir::graphics::Platform.


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

Copyright © 2012,2013 Canonical Ltd.
Generated on Wed Oct 30 18:52:19 UTC 2013