fw4spl
core/fwAtomConversion/include/fwAtomConversion/mapper/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 __FWATOMCONVERSION_MAPPER_REGISTRY_DETAIL_HPP__
8 #define __FWATOMCONVERSION_MAPPER_REGISTRY_DETAIL_HPP__
9 
10 #include <string>
11 
12 #include <fwCore/macros.hpp>
13 #include <fwCore/util/FactoryRegistry.hpp>
14 
15 #include "fwAtomConversion/config.hpp"
16 
17 namespace fwAtomConversion
18 {
19 namespace mapper
20 {
21 
22 class Base;
23 
24 namespace registry
25 {
26 
27 typedef std::string KeyType;
28 
29 typedef ::fwCore::util::FactoryRegistry< SPTR(::fwAtomConversion::mapper::Base)(), KeyType > Type;
30 
31 FWATOMCONVERSION_API SPTR(Type) get();
32 
33 } // namespace mapper
34 } // namespace registry
35 } // namespace fwAtomConversion
36 
37 #endif /* __FWATOMCONVERSION_MAPPER_REGISTRY_DETAIL_HPP__ */
38 
39 
#define SPTR(_cls_)
Contains fwAtomsFilter::registry details.
This namespace contains the necessary class for fwData <-> fwAtoms conversion.
This file defines fwCore base macros.
FactoryRegistry is a class used to store factories and create instance object with these factories...