fw4spl
core/fwAtomsFilter/include/fwAtomsFilter/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 __FWATOMSFILTER_REGISTRY_MACROS_HPP__
8 #define __FWATOMSFILTER_REGISTRY_MACROS_HPP__
9 
10 #include <boost/preprocessor/cat.hpp>
11 
12 #include "fwAtomsFilter/registry/detail.hpp"
13 
14 namespace fwAtomsFilter
15 {
16 
17 namespace registry
18 {
19 
20 #define fwAtomsFilterRegisterMacro( classname, objectKey ) \
21  static ::fwAtomsFilter::IFilter::Registrar< classname > \
22  BOOST_PP_CAT(s__factory__record__object__, __LINE__) ( objectKey );
23 
24 } // namespace registry
25 
26 } // namespace fwAtomsFilter
27 
28 #endif /*__FWATOMSFILTER_REGISTRY_MACROS_HPP__*/
29 
Contains fwAtomsFilter::registry details.