fw4spl
core/fwGui/include/fwGui/registry/macros.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_MACROS_HPP__
8 #define __FWGUI_REGISTRY_MACROS_HPP__
9 
10 #include <boost/preprocessor/cat.hpp>
11 
12 #include "fwGui/GuiBaseObject.hpp"
13 #include "fwGui/registry/detail.hpp"
14 
15 namespace fwGui
16 {
17 namespace registry
18 {
19 
20 #define fwGuiRegisterMacro( GuiClassname, GuiFunctorKey ) \
21  static ::fwGui::GuiBaseObject::Registrar< GuiClassname > \
22  BOOST_PP_CAT( s__factory__record__, __LINE__) ( GuiFunctorKey );
23 
24 } // end namespace registry
25 } // end namespace fwGui
26 
27 #endif /*__FWGUI_REGISTRY_MACROS_HPP__*/
Contains fwAtomsFilter::registry details.
The namespace fwGui contains the base interface for IHM services.
Definition: SJobBar.hpp:23