fw4spl
SDefaultToolBar.cpp
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 #include "gui/aspect/SDefaultToolBar.hpp"
8 
9 #include <fwServices/macros.hpp>
10 
11 fwServicesRegisterMacro( ::fwGui::IToolBarSrv, ::gui::aspect::SDefaultToolBar );
12 
13 namespace gui
14 {
15 
16 namespace aspect
17 {
18 
20 {
21 }
22 
23 //-----------------------------------------------------------------------------
24 
26 {
27 }
28 
29 //-----------------------------------------------------------------------------
30 
32 {
34  this->create();
35 }
36 
37 //-----------------------------------------------------------------------------
38 
40 {
42  this->destroy();
43 }
44 
45 //-----------------------------------------------------------------------------
46 
48 {
50  this->initialize();
51 }
52 
53 //-----------------------------------------------------------------------------
54 
56 {
58 }
59 
60 //-----------------------------------------------------------------------------
61 
62 void SDefaultToolBar::info( std::ostream& _sstream )
63 {
65 }
66 
67 }
68 
69 }
Defines the service interface managing the toolBar.
Definition: IToolBarSrv.hpp:22
virtual GUI_API ~SDefaultToolBar() noexcept
Destructor. Do nothing.
#define SLM_TRACE_FUNC()
Trace contextual function signature.
Definition: spyLog.hpp:329
The namespace gui contains the basic services to build the application IHM.
Defines the default toolbar for standard application.
FWGUI_API void create()
Create the layout and start the managed services.
Definition: IToolBarSrv.cpp:78
GUI_API SDefaultToolBar() noexcept
Constructor. Do nothing.
virtual GUI_API void configuring() override
Configuring method allows to create a toolBar with several actions.
FWGUI_API void destroy()
Destroy the layout and stop the managed services.
Definition: IToolBarSrv.cpp:98
virtual GUI_API void starting() override
This method create a new ToolBar in frame.
FWGUI_API void initialize()
Initialize the layout and registry managers.
Definition: IToolBarSrv.cpp:37
virtual GUI_API void updating() override
This method is used to update services. Do nothing.
virtual GUI_API void stopping() override
This method remove the tools situated in the ToolBar.
virtual GUI_API void info(std::ostream &_sstream) override
This method is used to give information about the service. Do nothing.