Scroom  0.14
example.hh
Go to the documentation of this file.
1 /*
2  * Scroom - Generic viewer for 2D data
3  * Copyright (C) 2009-2022 Kees-Jan Dijkzeul
4  *
5  * SPDX-License-Identifier: LGPL-2.1
6  */
7 
8 #pragma once
9 
10 #include <boost/shared_ptr.hpp>
11 
14 #include <scroom/utilities.hh>
15 
16 class Example
19  , virtual public Scroom::Utils::Base
20 {
21 public:
22  using Ptr = boost::shared_ptr<Example>;
23 
24 private:
25  Example() = default;
26 
27 public:
28  static Ptr create();
29 
30 public:
31  std::string getPluginName() override;
32  std::string getPluginVersion() override;
34 
36 };
example.hh
presentationinterface.hh
utilities.hh
plugininformationinterface.hh
Example::getPluginVersion
std::string getPluginVersion() override
Definition: example.cc:21
NewPresentationInterface
Definition: scroominterface.hh:35
PluginInformationInterface::Ptr
boost::shared_ptr< PluginInformationInterface > Ptr
Definition: plugininformationinterface.hh:20
Example::Ptr
boost::shared_ptr< Example > Ptr
Definition: example.hh:22
Example::Example
Example()=default
PresentationInterface::Ptr
boost::shared_ptr< PresentationInterface > Ptr
Definition: presentationinterface.hh:74
examplepresentation.hh
Scroom::Utils::Base
Definition: utilities.hh:30
Example::createNew
PresentationInterface::Ptr createNew() override
Definition: example.cc:28
Example::getPluginName
std::string getPluginName() override
Definition: example.cc:19
Example
Definition: example.hh:16
Example::create
static Ptr create()
Definition: example.cc:17
PluginInformationInterface
Definition: plugininformationinterface.hh:17
ExamplePresentation
Definition: examplepresentation.hh:18
Example::registerCapabilities
void registerCapabilities(ScroomPluginInterface::Ptr host) override
Definition: example.cc:23
ScroomPluginInterface::Ptr
boost::shared_ptr< ScroomPluginInterface > Ptr
Definition: scroominterface.hh:102