fw4spl
core/fwAtomsPatch/include/fwAtomsPatch/patcher/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 __FWATOMSPATCH_PATCHER_REGISTRY_MACROS_HPP__
8 #define __FWATOMSPATCH_PATCHER_REGISTRY_MACROS_HPP__
9 
10 #include <boost/preprocessor/cat.hpp>
11 
12 #include "fwAtomsPatch/patcher/registry/detail.hpp"
13 
14 namespace fwAtomsPatch
15 {
16 
17 
18 namespace patcher
19 {
20 
21 namespace registry
22 {
23 
24 #define patcherRegisterMacro( classname, objectKey ) \
25  static ::fwAtomsPatch::patcher::IPatcher::Registrar< classname > \
26  BOOST_PP_CAT(s__factory__record__object__, __LINE__) ( objectKey );
27 
28 } // namespace registry
29 
30 } // namespace pacther
31 
32 } // namespace fwAtomsPatch
33 
34 #endif /*__FWATOMSPATCH_PATCHER_REGISTRY_MACROS_HPP__*/
Contains fwAtomsFilter::registry details.
Contains base functionalities used to transform objects from a version to another.
Definition: Abstract.hpp:16