Mir
Public Types | Public Member Functions | Protected Member Functions | List of all members
mir::shell::SurfaceStack Class Referenceabstract

#include <surface_stack.h>

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

Public Types

using SurfaceSet = std::set< std::weak_ptr< scene::Surface >, std::owner_less< std::weak_ptr< scene::Surface >>>
 

Public Member Functions

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

Protected Member Functions

 SurfaceStack ()=default
 
virtual ~SurfaceStack ()=default
 
 SurfaceStack (SurfaceStack const &)=delete
 
SurfaceStackoperator= (SurfaceStack const &)=delete
 

Member Typedef Documentation

§ SurfaceSet

using mir::shell::SurfaceStack::SurfaceSet = std::set<std::weak_ptr<scene::Surface>, std::owner_less<std::weak_ptr<scene::Surface>>>

Constructor & Destructor Documentation

§ SurfaceStack() [1/2]

mir::shell::SurfaceStack::SurfaceStack ( )
protecteddefault

§ ~SurfaceStack()

virtual mir::shell::SurfaceStack::~SurfaceStack ( )
protectedvirtualdefault

§ SurfaceStack() [2/2]

mir::shell::SurfaceStack::SurfaceStack ( SurfaceStack const &  )
protecteddelete

Member Function Documentation

§ add_surface()

virtual void mir::shell::SurfaceStack::add_surface ( std::shared_ptr< scene::Surface > const &  ,
input::InputReceptionMode  new_mode 
)
pure virtual

§ operator=()

SurfaceStack& mir::shell::SurfaceStack::operator= ( SurfaceStack const &  )
protecteddelete

§ raise() [1/2]

virtual void mir::shell::SurfaceStack::raise ( std::weak_ptr< scene::Surface > const &  surface)
pure virtual

§ raise() [2/2]

virtual void mir::shell::SurfaceStack::raise ( SurfaceSet const &  surfaces)
pure virtual

§ remove_surface()

virtual void mir::shell::SurfaceStack::remove_surface ( std::weak_ptr< scene::Surface > const &  surface)
pure virtual

§ surface_at()

virtual auto mir::shell::SurfaceStack::surface_at ( geometry::Point  ) const -> std::shared_ptr< scene::Surface >
pure virtual

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

Copyright © 2012-2016 Canonical Ltd.
Generated on Sat Dec 3 12:48:59 UTC 2016