fw4spl
SDefaultFrame.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_FRAME_SDEFAULTFRAME_HPP__
8 #define __GUI_FRAME_SDEFAULTFRAME_HPP__
9 
10 #include "gui/config.hpp"
11 
12 #include <fwGui/IFrameSrv.hpp>
13 
14 #include <fwTools/Failed.hpp>
15 
16 namespace gui
17 {
18 namespace frame
19 {
20 
24 class GUI_CLASS_API SDefaultFrame : public ::fwGui::IFrameSrv
25 {
26 
27 public:
28 
30 
32  GUI_API SDefaultFrame() noexcept;
33 
35  GUI_API virtual ~SDefaultFrame() noexcept;
36 
37 protected:
38 
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 frame
75 } // namespace gui
76 
77 #endif /*__GUI_FRAME_SDEFAULTFRAME_HPP__*/
Defines the default frame for standard application.
The namespace gui contains the basic services to build the application IHM.
STL namespace.
Defines the service interface managing a frame.
Definition: IFrameSrv.hpp:68
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.