fw4spl
ActionRegistrar.cpp
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 #include <utility>
8 
9 #include <fwTools/fwID.hpp>
10 #include <fwServices/macros.hpp>
11 
12 #include "fwGui/GuiRegistry.hpp"
13 #include "fwGui/registrar/ActionRegistrar.hpp"
14 
15 namespace fwGui
16 {
17 namespace registrar
18 {
19 
20 //-----------------------------------------------------------------------------
21 
22 ActionRegistrar::ActionRegistrar(const std::string &sid) : m_sid(sid)
23 {
24 }
25 
26 //-----------------------------------------------------------------------------
27 
29 {
30 }
31 
32 //-----------------------------------------------------------------------------
33 
35 {
37 }
38 
39 //-----------------------------------------------------------------------------
40 
42 {
44 }
45 
46 //-----------------------------------------------------------------------------
47 
49 {
51 }
52 
53 //-----------------------------------------------------------------------------
54 
56 {
58 }
59 
60 //-----------------------------------------------------------------------------
61 
63 {
65 }
66 
67 //-----------------------------------------------------------------------------
68 
69 } // namespace registrar
70 } //namespace fwGui
FWGUI_API ActionRegistrar(const std::string &sid)
Constructor.
The namespace fwGui contains the base interface for IHM services.
Definition: SJobBar.hpp:23
static FWGUI_API void actionServiceSetExecutable(std::string actionSid, bool isExecutable)
Method called when the action service is executable or not. Call parent service actionServiceSetExecu...
FWGUI_API void actionServiceStopping()
Method called when the action service is stopping.
FWGUI_API void actionServiceSetActive(bool isActive)
Method called when the action service is activated or not.
static FWGUI_API void actionServiceStopping(std::string actionSid)
Method called when the action service is stopping. Call parent service actionServiceStopping() method...
FWGUI_API void actionServiceStarting()
Method called when the action service is starting.
static FWGUI_API void actionServiceSetActive(std::string actionSid, bool isActive)
Method called when the action service is activated or not. Call parent service actionServiceSetActive...
FWGUI_API void actionServiceSetVisible(bool isVisible)
Method called when the action service is visible or not.
virtual FWGUI_API ~ActionRegistrar()
Destructor. Do nothing.
static FWGUI_API void actionServiceSetVisible(std::string actionSid, bool isVisible)
Method called when the action service is visible or not. Call parent service actionServiceSetVisible(...
std::string m_sid
Main service ID associate with this ActionRegistrar.
static FWGUI_API void actionServiceStarting(std::string actionSid)
Method called when the action service is starting. Call parent service actionServiceStarting() method...
FWGUI_API void actionServiceSetExecutable(bool isExecutable)
Method called when the action service is executable or not.