fw4spl
SDefaultView.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 #pragma once
8 
9 #include "gui/config.hpp"
10 
11 #include <fwGui/view/IView.hpp>
12 
13 #include <fwTools/Failed.hpp>
14 
15 namespace gui
16 {
17 namespace view
18 {
19 
24 class GUI_CLASS_API SDefaultView : public ::fwGui::view::IView
25 {
26 public:
27 
29 
31  GUI_API SDefaultView() noexcept;
32 
34  GUI_API virtual ~SDefaultView() noexcept;
35 
36 protected:
37 
47  GUI_API virtual void configuring() override;
48 
53  GUI_API virtual void starting() override;
54 
59  GUI_API virtual void stopping() override;
60 
64  GUI_API virtual void updating() override;
65 
69  GUI_API virtual void info(std::ostream& _sstream ) override;
71 
72 };
73 
74 } // namespace view
75 } // namespace gui
Defines the generic layout for application.
The namespace gui contains the basic services to build the application IHM.
STL namespace.
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
Defines the service interface managing a view placed in main frame.
Definition: IView.hpp:23