Scroom 0.14-48-ga0fee447
Loading...
Searching...
No Matches
colormapplugin.hh
Go to the documentation of this file.
1/*
2 * Scroom - Generic viewer for 2D data
3 * Copyright (C) 2009-2026 Kees-Jan Dijkzeul
4 *
5 * SPDX-License-Identifier: LGPL-2.1
6 */
7
8#pragma once
9
10#include <list>
11#include <string>
12
13#include <scroom/logger.hh>
17#include <scroom/utilities.hh>
18
20{
26 , virtual public Scroom::Utils::Base
27 {
28 public:
29 using Ptr = std::shared_ptr<ColormapPlugin>;
30
31 private:
32 std::list<PresentationInterface::WeakPtr> presentations;
34
35 private:
36 ColormapPlugin() = default;
37
38 public:
39 static Ptr create();
40
41 public:
42 std::string getPluginName() override;
43 std::string getPluginVersion() override;
45
47 void presentationDeleted() override;
48 };
49
50} // namespace Scroom::ColormapImpl
Definition plugininformationinterface.hh:18
std::shared_ptr< PresentationInterface > Ptr
Definition presentationinterface.hh:73
Definition scroominterface.hh:80
std::shared_ptr< ScroomPluginInterface > Ptr
Definition scroominterface.hh:101
Definition colormapplugin.hh:27
void presentationAdded(PresentationInterface::Ptr p) override
Definition colormapplugin.cc:34
std::shared_ptr< ColormapPlugin > Ptr
Definition colormapplugin.hh:29
void registerCapabilities(ScroomPluginInterface::Ptr host) override
Definition colormapplugin.cc:29
Scroom::Logger logger
Definition colormapplugin.hh:33
std::list< PresentationInterface::WeakPtr > presentations
Definition colormapplugin.hh:32
static Ptr create()
Definition colormapplugin.cc:23
std::string getPluginName() override
Definition colormapplugin.cc:25
std::string getPluginVersion() override
Definition colormapplugin.cc:27
void presentationDeleted() override
Definition colormapplugin.cc:44
Definition logger.hh:49
Definition utilities.hh:34
PresentationInterfaceStub::Ptr const p
Definition determine-size-test.cc:172
Definition colormapplugin.cc:22