Blue Brain BioExplorer
ExtensionPlugin.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2015-2024, EPFL/Blue Brain Project
3
*
4
* The Blue Brain BioExplorer is a tool for scientists to extract and analyse
5
* scientific data from visualization
6
*
7
* This file is part of Blue Brain BioExplorer <https://github.com/BlueBrain/BioExplorer>
8
*
9
* This library is free software; you can redistribute it and/or modify it under
10
* the terms of the GNU Lesser General Public License version 3.0 as published
11
* by the Free Software Foundation.
12
*
13
* This library is distributed in the hope that it will be useful, but WITHOUT
14
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
16
* details.
17
*
18
* You should have received a copy of the GNU Lesser General Public License
19
* along with this library; if not, write to the Free Software Foundation, Inc.,
20
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21
*/
22
23
#pragma once
24
25
#include <
platform/core/common/Types.h
>
26
27
namespace
core
28
{
29
class
Engine;
30
49
class
ExtensionPlugin
50
{
51
public
:
52
virtual
~ExtensionPlugin
() =
default
;
53
57
virtual
void
init
() {}
62
virtual
void
preRender
() {}
64
virtual
void
postRender
() {}
65
66
protected
:
67
PluginAPI
*
_api
{
nullptr
};
68
friend
class
PluginManager
;
69
};
70
}
// namespace core
core::ExtensionPlugin
Definition:
ExtensionPlugin.h:50
core::ExtensionPlugin::postRender
virtual void postRender()
Definition:
ExtensionPlugin.h:64
core::ExtensionPlugin::_api
PluginAPI * _api
Definition:
ExtensionPlugin.h:67
core::ExtensionPlugin::preRender
virtual void preRender()
Definition:
ExtensionPlugin.h:62
core::ExtensionPlugin::~ExtensionPlugin
virtual ~ExtensionPlugin()=default
core::ExtensionPlugin::init
virtual void init()
Definition:
ExtensionPlugin.h:57
core::PluginAPI
Definition:
Plugin.h:32
core::PluginManager
Definition:
PluginManager.h:37
core
Definition:
BaseWindow.cpp:53
Types.h
platform
core
pluginapi
ExtensionPlugin.h
Generated by
1.9.1