fw4spl
Bundles/core/servicesReg/include/servicesReg/Plugin.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2016.
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 __SERVICESREG_PLUGIN_HPP__
8 #define __SERVICESREG_PLUGIN_HPP__
9 
10 #include "servicesReg/config.hpp"
11 
12 #include <fwRuntime/Plugin.hpp>
13 
14 namespace servicesReg
15 {
16 
20 struct SERVICESREG_CLASS_API Plugin : public ::fwRuntime::Plugin
21 {
23  SERVICESREG_API ~Plugin() noexcept;
24 
26  SERVICESREG_API void start();
27 
29  SERVICESREG_API void initialize();
30 
32  SERVICESREG_API void uninitialize();
33 
35  SERVICESREG_API void stop() noexcept;
36 
37 };
38 
39 } // namespace servicesReg
40 
41 #endif // __SERVICESREG_PLUGIN_HPP__
Provides a default plugin implementation.
The namespace servicesReg (registration service) allows to load all the service managment registry...
This class is started when the bundles is loaded.