fw4spl
Bundles/io/ioITK/include/ioITK/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 #ifndef __IOITK_PLUGIN_HPP__
8 #define __IOITK_PLUGIN_HPP__
9 
10 #include <fwRuntime/Plugin.hpp>
11 
12 namespace ioITK
13 {
14 
19 struct Plugin : public ::fwRuntime::Plugin
20 {
24  ~Plugin() noexcept;
25 
26  // Overrides
27  void start();
28 
29  // Overrides
30  void stop() noexcept;
31 
32 };
33 
34 } // namespace ioITK
35 
36 #endif //__IOITK_PLUGIN_HPP__
This class is started when the bundles is loaded.
Provides a default plugin implementation.
void start()
Notifies the plugin about its start.
void stop() noexcept
Notifies the plugin about its stop.
The namespace ioITK contains services for reader, writer and helper for itk image.