fw4spl
Bundles/visu/scene2D/include/scene2D/Plugin.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2015.
3  * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4  * published by the Free Software Foundation.
5  * ****** END LICENSE BLOCK ****** */
6 
7 
8 #ifndef __SCENE2D_PLUGIN_HPP__
9 #define __SCENE2D_PLUGIN_HPP__
10 
11 
12 #include <fwRuntime/Plugin.hpp>
13 
14 
15 namespace scene2D
16 {
21 struct Plugin : public ::fwRuntime::Plugin
22 {
23 
27  ~Plugin() noexcept;
28 
29  // Overrides
30  void start();
31 
32  // Overrides
33  void stop() noexcept;
34 
35 };
36 
37 
38 } // namespace scene2D
39 
40 
41 #endif //__SCENE2D_PLUGIN_HPP__
This class is started when the bundles is loaded.
void stop() noexcept
Notifies the plugin about its stop.
This bundles contains data and services used to display a 2D Qt scene.
Provides a default plugin implementation.
void start()
Notifies the plugin about its start.