Scroom 0.14-48-ga0fee447
Loading...
Searching...
No Matches
ColormappablePresentationMock Class Reference

#include <presentationinterface.hh>

Inheritance diagram for ColormappablePresentationMock:
Inheritance graph
Collaboration diagram for ColormappablePresentationMock:
Collaboration graph

Public Types

using Ptr = std::shared_ptr< ColormappablePresentationMock >
 
- Public Types inherited from PresentationMock
using Ptr = std::shared_ptr< PresentationMock >
 
- Public Types inherited from PresentationInterface
using Ptr = std::shared_ptr< PresentationInterface >
 
using WeakPtr = std::weak_ptr< PresentationInterface >
 
- Public Types inherited from Viewable
using Ptr = std::shared_ptr< Viewable >
 
using WeakPtr = std::weak_ptr< Viewable >
 
- Public Types inherited from Scroom::Utils::Observable< T >
using Observer = std::shared_ptr< T >
 
using Ptr = std::shared_ptr< Observable< T > >
 
- Public Types inherited from Colormappable
using Ptr = std::shared_ptr< Colormappable >
 
using WeakPtr = std::weak_ptr< Colormappable >
 

Static Public Member Functions

static Ptr create ()
 
- Static Public Member Functions inherited from PresentationMock
static Ptr create ()
 

Additional Inherited Members

- Public Member Functions inherited from PresentationMock
 MOCK_METHOD1 (open, void(ViewInterface::WeakPtr))
 
 MOCK_METHOD1 (close, void(ViewInterface::WeakPtr))
 
 MOCK_METHOD0 (getRect, Scroom::Utils::Rectangle< double >())
 
 MOCK_METHOD4 (redraw, void(ViewInterface::Ptr const &, cairo_t *, Scroom::Utils::Rectangle< double >, int))
 
 MOCK_METHOD2 (getProperty, bool(const std::string &, std::string &))
 
 MOCK_METHOD1 (isPropertyDefined, bool(const std::string &))
 
 MOCK_METHOD0 (getTitle, std::string())
 
 MOCK_CONST_METHOD0 (getContext, Scroom::Utils::Context::ConstPtr())
 
- Public Member Functions inherited from PresentationInterface
virtual Scroom::Utils::Rectangle< double > getRect ()=0
 
virtual void redraw (ViewInterface::Ptr const &vi, cairo_t *cr, Scroom::Utils::Rectangle< double > presentationArea, int zoom)=0
 
virtual bool getProperty (const std::string &name, std::string &value)=0
 
virtual bool isPropertyDefined (const std::string &name)=0
 
virtual std::string getTitle ()=0
 
virtual Scroom::Utils::Context::ConstPtr getContext () const =0
 
- Public Member Functions inherited from Viewable
virtual void open (ViewInterface::WeakPtr vi)=0
 
virtual void close (ViewInterface::WeakPtr vi)=0
 
- Public Member Functions inherited from Scroom::Utils::Observable< T >
 Observable ()
 
 ~Observable () override
 
 Observable (const Observable &)=delete
 
 Observable (Observable &&)=delete
 
Observable operator= (const Observable &)=delete
 
Observable operator= (Observable &&)=delete
 
Scroom::Bookkeeping::Token registerStrongObserver (Observer const &observer)
 
Scroom::Bookkeeping::Token registerObserver (ObserverWeak const &observer)
 
- Public Member Functions inherited from Scroom::Utils::Base
 Base ()=default
 
 Base (const Base &)=delete
 
 Base (Base &&)=delete
 
Baseoperator= (const Base &)=delete
 
Baseoperator= (Base &&)=delete
 
virtual ~Base ()=default
 
template<typename R >
std::shared_ptr< R > shared_from_this ()
 
template<typename R >
std::shared_ptr< R const > shared_from_this () const
 
- Public Member Functions inherited from Colormappable
virtual void setColormap (Colormap::Ptr colormap)=0
 
virtual Colormap::Ptr getOriginalColormap ()=0
 
virtual int getNumberOfColors ()=0
 
virtual Color getMonochromeColor ()=0
 
virtual void setMonochromeColor (const Color &c)=0
 
virtual void setTransparentBackground ()=0
 
virtual void disableTransparentBackground ()=0
 
virtual bool getTransparentBackground ()=0
 
- Protected Member Functions inherited from Scroom::Utils::Observable< T >
std::list< ObservergetObservers ()
 
virtual void observerAdded (Observer const &observer, Scroom::Bookkeeping::Token const &token)
 

Member Typedef Documentation

◆ Ptr

Member Function Documentation

◆ create()

static Ptr ColormappablePresentationMock::create ( )
inlinestatic
42{ return std::make_shared<ColormappablePresentationMock>(); }

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