Mir
Public Member Functions | Protected Attributes | List of all members
mir::shell::SurfaceStackWrapper Class Reference

#include <surface_stack_wrapper.h>

Inheritance diagram for mir::shell::SurfaceStackWrapper:
[legend]

Public Member Functions

 SurfaceStackWrapper (std::shared_ptr< SurfaceStack > const &wrapped)
 
void add_surface (std::shared_ptr< scene::Surface > const &, input::InputReceptionMode new_mode) override
 
void raise (std::weak_ptr< scene::Surface > const &surface) override
 
void raise (SurfaceSet const &surfaces) override
 
void remove_surface (std::weak_ptr< scene::Surface > const &surface) override
 
auto surface_at (geometry::Point) const -> std::shared_ptr< scene::Surface > override
 

Protected Attributes

std::shared_ptr< SurfaceStack > const wrapped
 

Additional Inherited Members

- Public Types inherited from mir::shell::SurfaceStack
using SurfaceSet = std::set< std::weak_ptr< scene::Surface >, std::owner_less< std::weak_ptr< scene::Surface >>>
 
- Protected Member Functions inherited from mir::shell::SurfaceStack
 SurfaceStack ()=default
 
virtual ~SurfaceStack ()=default
 
 SurfaceStack (SurfaceStack const &)=delete
 
SurfaceStackoperator= (SurfaceStack const &)=delete
 

Constructor & Destructor Documentation

mir::shell::SurfaceStackWrapper::SurfaceStackWrapper ( std::shared_ptr< SurfaceStack > const &  wrapped)
explicit

Member Function Documentation

void mir::shell::SurfaceStackWrapper::add_surface ( std::shared_ptr< scene::Surface > const &  ,
input::InputReceptionMode  new_mode 
)
overridevirtual
void mir::shell::SurfaceStackWrapper::raise ( std::weak_ptr< scene::Surface > const &  surface)
overridevirtual
void mir::shell::SurfaceStackWrapper::raise ( SurfaceSet const &  surfaces)
overridevirtual
void mir::shell::SurfaceStackWrapper::remove_surface ( std::weak_ptr< scene::Surface > const &  surface)
overridevirtual
auto mir::shell::SurfaceStackWrapper::surface_at ( geometry::Point  ) const -> std::shared_ptr< scene::Surface >
overridevirtual

Member Data Documentation

std::shared_ptr<SurfaceStack> const mir::shell::SurfaceStackWrapper::wrapped
protected

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

Copyright © 2012-2016 Canonical Ltd.
Generated on Mon Jun 5 13:49:26 UTC 2017