|
Mir
|
DeclarativePlacementStrategy is a test utility server component for specifying a static list of surface geometries and relative depths. Used, for example, in input tests where it is necessary to set up scenarios depending on multiple surfaces geometry and stacking. More...
#include <declarative_placement_strategy.h>

Public Member Functions | |
| DeclarativePlacementStrategy (std::shared_ptr< mir::shell::PlacementStrategy > const &default_strategy, SurfaceGeometries const &positions_by_name, SurfaceDepths const &depths_by_name) | |
| virtual | ~DeclarativePlacementStrategy ()=default |
| mir::shell::SurfaceCreationParameters | place (mir::shell::Session const &session, mir::shell::SurfaceCreationParameters const &request_parameters) override |
Public Member Functions inherited from mir::shell::PlacementStrategy | |
| virtual | ~PlacementStrategy () |
Protected Member Functions | |
| DeclarativePlacementStrategy (const DeclarativePlacementStrategy &)=delete | |
| DeclarativePlacementStrategy & | operator= (const DeclarativePlacementStrategy &)=delete |
Protected Member Functions inherited from mir::shell::PlacementStrategy | |
| PlacementStrategy ()=default | |
| PlacementStrategy (PlacementStrategy const &)=delete | |
| PlacementStrategy & | operator= (PlacementStrategy const &)=delete |
DeclarativePlacementStrategy is a test utility server component for specifying a static list of surface geometries and relative depths. Used, for example, in input tests where it is necessary to set up scenarios depending on multiple surfaces geometry and stacking.
| mir_test_framework::DeclarativePlacementStrategy::DeclarativePlacementStrategy | ( | std::shared_ptr< mir::shell::PlacementStrategy > const & | default_strategy, |
| SurfaceGeometries const & | positions_by_name, | ||
| SurfaceDepths const & | depths_by_name | ||
| ) |
|
virtualdefault |
|
protecteddelete |
|
protecteddelete |
|
overridevirtual |
Implements mir::shell::PlacementStrategy.
Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Apr 11 21:14:53 UTC 2014