fw4spl
core/fwGui/include/fwGui/registry/detail.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_REGISTRY_DETAIL_HPP__
8 #define __FWGUI_REGISTRY_DETAIL_HPP__
9 
10 #include <string>
11 
12 #include <fwCore/macros.hpp>
13 #include <fwCore/util/FactoryRegistry.hpp>
14 
15 #include "fwGui/config.hpp"
16 
17 namespace fwGui
18 {
19 
20 class GuiBaseObject;
21 
22 namespace registry
23 {
24 
25 typedef std::string KeyType;
26 
27 typedef ::fwCore::util::FactoryRegistry< SPTR(::fwGui::GuiBaseObject) (), KeyType > Type;
28 
29 FWGUI_API SPTR(Type) get();
30 
31 } // namespace registry
32 
33 } // namespace fwGui
34 
35 #endif /* __FWGUI_REGISTRY_DETAIL_HPP__ */
36 
37 
#define SPTR(_cls_)
Contains fwAtomsFilter::registry details.
The namespace fwGui contains the base interface for IHM services.
Definition: SJobBar.hpp:23
This file defines fwCore base macros.