fw4spl
SDefault.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_SDEFAULT_HPP__
8 #define __GUI_ACTION_SDEFAULT_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 
24 class GUI_CLASS_API SDefault : public ::fwGui::IActionSrv
25 {
26 
27 public:
28 
30 
34  GUI_API SDefault() noexcept;
35 
39  GUI_API virtual ~SDefault() noexcept;
40 
41 protected:
42 
47  GUI_API virtual void configuring() override;
48 
49  GUI_API virtual void starting() override;
50 
51  GUI_API virtual void stopping() override;
52 
53  GUI_API virtual void updating() override;
54 
55  GUI_API virtual void info(std::ostream& _sstream ) override;
56 
58 
59 };
60 
61 } // namespace action
62 } // namespace gui
63 
64 #endif /*__GUI_ACTION_SDEFAULT_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.
Defines the default action to have a simple action button.
Definition: SDefault.hpp:24