Mir
Public Member Functions | Protected Member Functions | List of all members
mir::input::TouchspotController Class Reference

Receives touchspot events out of the input stack and manages appearance of touchspot renderables for visualization. Touchspot visualization is disabled by default and must be enabled through a call to ::enable. More...

#include <touchspot_controller.h>

Inheritance diagram for mir::input::TouchspotController:
[legend]

Public Member Functions

 TouchspotController (std::shared_ptr< graphics::GraphicBufferAllocator > const &allocator, std::shared_ptr< input::Scene > const &scene)
 
virtual ~TouchspotController ()=default
 
void enable () override
 
void disable () override
 
void visualize_touches (std::vector< Spot > const &touches) override
 
- Public Member Functions inherited from mir::input::TouchVisualizer
virtual ~TouchVisualizer ()=default
 

Protected Member Functions

 TouchspotController (TouchspotController const &)=delete
 
TouchspotControlleroperator= (TouchspotController const &)=delete
 
- Protected Member Functions inherited from mir::input::TouchVisualizer
 TouchVisualizer ()=default
 
 TouchVisualizer (const TouchVisualizer &)=delete
 
TouchVisualizeroperator= (const TouchVisualizer &)=delete
 

Detailed Description

Receives touchspot events out of the input stack and manages appearance of touchspot renderables for visualization. Touchspot visualization is disabled by default and must be enabled through a call to ::enable.

Constructor & Destructor Documentation

mir::input::TouchspotController::TouchspotController ( std::shared_ptr< graphics::GraphicBufferAllocator > const &  allocator,
std::shared_ptr< input::Scene > const &  scene 
)
virtual mir::input::TouchspotController::~TouchspotController ( )
virtualdefault
mir::input::TouchspotController::TouchspotController ( TouchspotController const &  )
protecteddelete

Member Function Documentation

void mir::input::TouchspotController::disable ( )
overridevirtual
void mir::input::TouchspotController::enable ( void  )
overridevirtual
TouchspotController& mir::input::TouchspotController::operator= ( TouchspotController const &  )
protecteddelete
void mir::input::TouchspotController::visualize_touches ( std::vector< Spot > const &  touches)
overridevirtual

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

Copyright © 2012-2015 Canonical Ltd.
Generated on Thu Oct 8 16:20:16 UTC 2015