fw4spl
SDoNothing.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2018.
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 __GUI_ACTION_SDONOTHING_HPP__
8 #define __GUI_ACTION_SDONOTHING_HPP__
9 
10 #include "gui/config.hpp"
11 
12 #include <fwGui/IActionSrv.hpp>
13 
14 #include <fwServices/IService.hpp>
15 
16 namespace gui
17 {
18 namespace action
19 {
20 
25 class GUI_CLASS_API SDoNothing : public ::fwGui::IActionSrv
26 {
27 
28 public:
29 
31 
35  GUI_API SDoNothing() noexcept;
36 
40  GUI_API virtual ~SDoNothing() noexcept;
41 
42 protected:
43 
51  GUI_API virtual void configuring() override;
52 
53  GUI_API virtual void starting() override;
54 
55  GUI_API virtual void stopping() override;
56 
60  GUI_API virtual void updating() override;
61 
65  GUI_API virtual void info(std::ostream& _sstream ) override;
66 
68 
69 };
70 
71 } // namespace action
72 } // namespace gui
73 
74 #endif /*__GUI_ACTION_SDONOTHING_HPP__*/
The namespace gui contains the basic services to build the application IHM.
STL namespace.
Defines the service interface managing the menu items.
Definition: IActionSrv.hpp:24
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
This action does nothing.
Definition: SDoNothing.hpp:25