fw4spl
Bundles/core/dataReg/include/dataReg/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 __DATAREG_PLUGIN_HPP__
8 #define __DATAREG_PLUGIN_HPP__
9 
10 #include "dataReg/config.hpp"
11 
12 #include <fwRuntime/Plugin.hpp>
13 
14 namespace dataReg
15 {
16 
20 class DATAREG_CLASS_API Plugin : public ::fwRuntime::Plugin
21 {
22 public:
24  DATAREG_API ~Plugin() noexcept;
25 
30  DATAREG_API void start();
31 
33  DATAREG_API void stop() noexcept;
34 
35 private:
38  int m_fwDataCampVersion;
39  int m_fwMedDataCampVersion;
40 };
41 
42 } // namespace dataReg
43 
44 #endif //__DATAREG_PLUGIN_HPP__
The namespace dataReg (data registration) contains classes which allow to parse the xml configuration...
Provides a default plugin implementation.
This class is started when the bundles is loaded.