Mir
Public Member Functions | Public Attributes | List of all members
mir_test_framework::PlacementApplyingShell Struct Reference

#include <placement_applying_shell.h>

Inheritance diagram for mir_test_framework::PlacementApplyingShell:
[legend]

Public Member Functions

 PlacementApplyingShell (std::shared_ptr< mir::shell::Shell > wrapped_coordinator, ClientInputRegions const &client_input_regions, ClientPositions const &client_positions)
 
 ~PlacementApplyingShell ()
 
mir::frontend::SurfaceId create_surface (std::shared_ptr< mir::scene::Session > const &session, mir::scene::SurfaceCreationParameters const &params, std::shared_ptr< mir::frontend::EventSink > const &sink) override
 
void modify_surface (std::shared_ptr< mir::scene::Session > const &session, std::shared_ptr< mir::scene::Surface > const &surface, mir::shell::SurfaceSpecification const &modifications) override
 
bool wait_for_modify_surface (std::chrono::seconds timeout)
 

Public Attributes

std::weak_ptr< mir::scene::Surface > latest_surface
 

Constructor & Destructor Documentation

◆ PlacementApplyingShell()

mir_test_framework::PlacementApplyingShell::PlacementApplyingShell ( std::shared_ptr< mir::shell::Shell >  wrapped_coordinator,
ClientInputRegions const &  client_input_regions,
ClientPositions const &  client_positions 
)

◆ ~PlacementApplyingShell()

mir_test_framework::PlacementApplyingShell::~PlacementApplyingShell ( )

Member Function Documentation

◆ create_surface()

mir::frontend::SurfaceId mir_test_framework::PlacementApplyingShell::create_surface ( std::shared_ptr< mir::scene::Session > const &  session,
mir::scene::SurfaceCreationParameters const &  params,
std::shared_ptr< mir::frontend::EventSink > const &  sink 
)
override

◆ modify_surface()

void mir_test_framework::PlacementApplyingShell::modify_surface ( std::shared_ptr< mir::scene::Session > const &  session,
std::shared_ptr< mir::scene::Surface > const &  surface,
mir::shell::SurfaceSpecification const &  modifications 
)
override

◆ wait_for_modify_surface()

bool mir_test_framework::PlacementApplyingShell::wait_for_modify_surface ( std::chrono::seconds  timeout)

Member Data Documentation

◆ latest_surface

std::weak_ptr<mir::scene::Surface> mir_test_framework::PlacementApplyingShell::latest_surface

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

Copyright © 2012-2017 Canonical Ltd.
Generated on Mon Oct 30 19:44:55 UTC 2017