fw4spl
include/fwGui/Application.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2015.
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 __FWGUI_APPLICATION_HPP__
8 #define __FWGUI_APPLICATION_HPP__
9 
10 #include <fwCore/base.hpp>
11 
12 #include "fwGui/IApplication.hpp"
13 #include "fwGui/config.hpp"
14 
15 namespace fwGui
16 {
17 
25 class FWGUI_CLASS_API Application : public ::fwGui::IApplication
26 {
27 
28 public:
29 
31 
32  FWGUI_API static Application::sptr getDefault();
33 
34 protected:
35 
37  FWGUI_API static Application::sptr factory();
38 
39  Application()
40  {
41  }
42  virtual ~Application()
43  {
44  }
45 
46 
47 };
48 
49 } // namespace fwGui
50 
51 #endif /*__FWGUI_APPLICATION_HPP__*/
52 
53 
The namespace fwGui contains the base interface for IHM services.
Definition: SJobBar.hpp:23
Contains fwAtomsFilter::factory utilities.
static FWGUI_API Application::sptr factory()
Application factory, returning the registered instance of Application. Manage a Singleton.
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.
Gives access to the underlayed application part.
Defines the application manipulation API.