fw4spl
SBooleanSlotCaller.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 __GUI_ACTION_SBOOLEANSLOTCALLER_HPP__
8 #define __GUI_ACTION_SBOOLEANSLOTCALLER_HPP__
9 
10 #include "gui/action/SSlotCaller.hpp"
11 #include "gui/config.hpp"
12 
13 #include <fwCom/Slots.hpp>
14 
15 #include <fwGui/IActionSrv.hpp>
16 
17 #include <fwServices/IService.hpp>
18 
19 #include <vector>
20 
21 namespace gui
22 {
23 namespace action
24 {
25 
34 class GUI_CLASS_API SBooleanSlotCaller : public ::gui::action::SSlotCaller
35 {
36 
37 public:
38 
40 
44  GUI_API SBooleanSlotCaller() noexcept;
45 
49  GUI_API virtual ~SBooleanSlotCaller() noexcept;
50 
51 protected:
52 
56  GUI_API void updating() override;
57 
58 };
59 
60 } // namespace action
61 } // namespace gui
62 
63 #endif /*__GUI_ACTION_SBOOLEANSLOTCALLER_HPP__*/
Run a slot given by HasSlot id and slot key.
Definition: SSlotCaller.hpp:38
The namespace gui contains the basic services to build the application IHM.
Defines the service interface managing the menu items.
Definition: IActionSrv.hpp:24
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
This action runs a slot given by HasSlot id and slot key with a boolean in paramter representing the ...