fw4spl
SDefaultView.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/view/SDefaultView.hpp"
8 
9 #include <fwServices/macros.hpp>
10 
11 #include <fwTools/fwID.hpp>
12 
13 namespace gui
14 {
15 namespace view
16 {
17 
18 fwServicesRegisterMacro( ::fwGui::view::IView, ::gui::view::SDefaultView);
19 
21 {
22 }
23 
24 //-----------------------------------------------------------------------------
25 
27 {
28 }
29 
30 //-----------------------------------------------------------------------------
31 
33 {
34  this->initialize();
35 }
36 
37 //-----------------------------------------------------------------------------
38 
40 {
42  this->create();
43 }
44 
45 //-----------------------------------------------------------------------------
46 
48 {
50  this->destroy();
51 }
52 
53 //-----------------------------------------------------------------------------
54 
55 void SDefaultView::info(std::ostream& _sstream )
56 {
58 }
59 
60 //-----------------------------------------------------------------------------
61 
63 {
65 }
66 
67 //-----------------------------------------------------------------------------
68 
69 }
70 }
Defines the generic layout for application.
#define SLM_TRACE_FUNC()
Trace contextual function signature.
Definition: spyLog.hpp:329
FWGUI_API void destroy()
Stops sub-views and toobar services. Destroys view, sub-views and toolbar containers.
The namespace gui contains the basic services to build the application IHM.
virtual GUI_API ~SDefaultView() noexcept
Destructor. Do nothing.
virtual GUI_API void stopping() override
This method remove the view in the frame.
virtual GUI_API void starting() override
Register a view with defined id.
virtual GUI_API void updating() override
This method is used to update services. Do nothing.
FWGUI_API void create()
Creates view, sub-views and toolbar containers. Manages sub-views and toobar services.
GUI_API SDefaultView() noexcept
Constructor. Do nothing.
Defines the service interface managing a view placed in main frame.
Definition: IView.hpp:23
virtual GUI_API void configuring() override
This method is used to configure the class parameters.
virtual GUI_API void info(std::ostream &_sstream) override
This method gives information about the class. Do nothing.
FWGUI_API void initialize()
Initialize managers.