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

#include <mock_frontend_surface.h>

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

Public Member Functions

 MockFrontendSurface ()
 
 ~MockFrontendSurface () noexcept
 
 MOCK_METHOD0 (destroy, void())
 
 MOCK_METHOD0 (force_requests_to_complete, void())
 
 MOCK_METHOD0 (advance_client_buffer, std::shared_ptr< graphics::Buffer >())
 
 MOCK_CONST_METHOD0 (size, geometry::Size())
 
 MOCK_CONST_METHOD0 (pixel_format, geometry::PixelFormat())
 
 MOCK_CONST_METHOD0 (supports_input, bool())
 
 MOCK_CONST_METHOD0 (client_input_fd, int())
 
 MOCK_METHOD2 (configure, int(MirSurfaceAttrib, int))
 
- Public Member Functions inherited from mir::frontend::ClientTrackingSurface
 ClientTrackingSurface ()
 
virtual ~ClientTrackingSurface ()=default
 
virtual std::shared_ptr
< graphics::Buffer
advance_client_buffer (bool &need_full_ipc) override
 Submit the current client buffer, return the next client buffer. More...
 
virtual std::shared_ptr
< graphics::Buffer
advance_client_buffer ()=0
 
- Public Member Functions inherited from mir::frontend::Surface
virtual ~Surface ()
 
virtual void force_requests_to_complete ()=0
 
virtual geometry::Size size () const =0
 
virtual geometry::PixelFormat pixel_format () const =0
 
virtual bool supports_input () const =0
 
virtual int client_input_fd () const =0
 
virtual int configure (MirSurfaceAttrib attrib, int value)=0
 

Additional Inherited Members

- Protected Member Functions inherited from mir::frontend::Surface
 Surface ()=default
 
 Surface (Surface const &)=delete
 
Surfaceoperator= (Surface const &)=delete
 

Constructor & Destructor Documentation

mir::test::doubles::MockFrontendSurface::MockFrontendSurface ( )
inline
mir::test::doubles::MockFrontendSurface::~MockFrontendSurface ( )
inlinenoexcept

Member Function Documentation

mir::test::doubles::MockFrontendSurface::MOCK_CONST_METHOD0 ( size  ,
geometry::  Size() 
)
mir::test::doubles::MockFrontendSurface::MOCK_CONST_METHOD0 ( pixel_format  ,
geometry::  PixelFormat() 
)
mir::test::doubles::MockFrontendSurface::MOCK_CONST_METHOD0 ( supports_input  ,
bool()   
)
mir::test::doubles::MockFrontendSurface::MOCK_CONST_METHOD0 ( client_input_fd  ,
int()   
)
mir::test::doubles::MockFrontendSurface::MOCK_METHOD0 ( destroy  ,
void()   
)
mir::test::doubles::MockFrontendSurface::MOCK_METHOD0 ( force_requests_to_complete  ,
void()   
)
mir::test::doubles::MockFrontendSurface::MOCK_METHOD0 ( advance_client_buffer  ,
std::shared_ptr< graphics::Buffer () 
)
mir::test::doubles::MockFrontendSurface::MOCK_METHOD2 ( configure  ,
int(MirSurfaceAttrib, int)   
)

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

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