fw4spl
EmptyPlugin.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 __FWRUNTIME_EMPTYPLUGIN_HPP__
8 #define __FWRUNTIME_EMPTYPLUGIN_HPP__
9 
10 
11 #include "fwRuntime/config.hpp"
12 #include "fwRuntime/Plugin.hpp"
13 
14 
15 namespace fwRuntime
16 {
17 
18 
32 struct EmptyPlugin : public Plugin
33 {
34 
38  virtual ~EmptyPlugin() noexcept
39  {
40  }
41 
42 
43  // Overrides
44  virtual void start();
45 
46  // Overrides
47  virtual void stop() noexcept;
48 
49 };
50 
51 
52 } // namespace fwRuntime
53 
54 
55 #endif //__FWRUNTIME_EMPTYPLUGIN_HPP__
virtual ~EmptyPlugin() noexcept
Destructor : does nothing.
Definition: EmptyPlugin.hpp:38
virtual void stop() noexcept
Notifies the plugin about its stop.
Definition: EmptyPlugin.cpp:20
virtual void start()
Notifies the plugin about its start.
Definition: EmptyPlugin.cpp:15
The namespace fwRuntime contains classes to manage bundle, configuration element, extension point in ...
Provides a default plugin implementation.
Implements a default plugin for bundles that don't provide a fwRuntime::IPlugin interface implementat...
Definition: EmptyPlugin.hpp:32