#include <surface_stack.h>
mir::surfaces::SurfaceStack::SurfaceStack |
( |
std::shared_ptr< SurfaceFactory > const & |
surface_factory, |
|
|
std::shared_ptr< InputRegistrar > const & |
input_registrar |
|
) |
| |
|
explicit |
virtual mir::surfaces::SurfaceStack::~SurfaceStack |
( |
) | |
|
|
inlinevirtualnoexcept |
void mir::surfaces::SurfaceStack::destroy_surface |
( |
std::weak_ptr< Surface > const & |
surface) | |
|
|
virtual |
void mir::surfaces::SurfaceStack::for_each |
( |
std::function< void(std::shared_ptr< input::InputChannel > const &)> const & |
callback) | |
|
void mir::surfaces::SurfaceStack::lock |
( |
) | |
|
|
virtual |
void mir::surfaces::SurfaceStack::raise |
( |
std::weak_ptr< Surface > const & |
surface) | |
|
|
virtual |
void mir::surfaces::SurfaceStack::set_change_callback |
( |
std::function< void()> const & |
f) | |
|
|
virtual |
Sets a callback to be called whenever the state of the Scene changes.
The supplied callback should not directly or indirectly (e.g., by changing a property of a Renderable) change the state of the Scene, otherwise a deadlock may occur.
Implements mir::compositor::Scene.
void mir::surfaces::SurfaceStack::unlock |
( |
) | |
|
|
virtual |
The documentation for this class was generated from the following files:
Copyright © 2012,2013 Canonical Ltd.
Generated on Tue Oct 15 00:23:28 UTC 2013