fw4spl
Bundles/visu/visuVTKVRAdaptor/include/visuVTKVRAdaptor/Plugin.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2017.
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 #ifndef __VISUVTKVRADAPTOR_PLUGIN_HPP__
8 #define __VISUVTKVRADAPTOR_PLUGIN_HPP__
9 
10 #include "visuVTKVRAdaptor/config.hpp"
11 
12 #include <fwRuntime/Plugin.hpp>
13 
14 namespace visuVTKVRAdaptor
15 {
16 
20 struct Plugin : public ::fwRuntime::Plugin
21 {
25  ~Plugin() noexcept;
26 
27  // Overrides
28  void start();
29 
30  // Overrides
31  void stop() noexcept;
32 
33 };
34 
35 } // namespace visuVTK
36 
37 #endif // __VISUVTKVRADAPTOR_PLUGIN_HPP__
This class is started when the bundles is loaded.
Provides a default plugin implementation.
void stop() noexcept
Notifies the plugin about its stop.