fw4spl
core/fwMemory/include/fwMemory/policy/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 __FWMEMORY_POLICY_REGISTRY_MACROS_HPP__
8 #define __FWMEMORY_POLICY_REGISTRY_MACROS_HPP__
9 
10 #include <boost/preprocessor/cat.hpp>
11 
12 #include "fwMemory/IPolicy.hpp"
13 #include "fwMemory/policy/registry/detail.hpp"
14 
15 namespace fwMemory
16 {
17 namespace policy
18 {
19 namespace registry
20 {
21 
22 #define fwMemoryPolicyRegisterMacro( classname ) \
23  static ::fwMemory::IPolicy::Registrar< classname > s__factory__record__ ## __LINE__;
24 
25 } // namespace registry
26 } // namespace policy
27 } // namespace fwMemory
28 
29 #endif /*__FWMEMORY_POLICY_REGISTRY_MACROS_HPP__*/
Contains fwAtomsFilter::registry details.
The namespace fwMemory contains tools to manage memory. Use for dump.
Definition: SReader.hpp:20