fw4spl
core/fwAtomsPatch/include/fwAtomsPatch/patcher/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 __FWATOMSPATCH_PATCHER_REGISTRY_DETAIL_HPP__
8 #define __FWATOMSPATCH_PATCHER_REGISTRY_DETAIL_HPP__
9 
10 #include <string>
11 
12 #include <fwCore/macros.hpp>
13 #include <fwCore/util/FactoryRegistry.hpp>
14 
15 #include "fwAtomsPatch/config.hpp"
16 
17 namespace fwAtomsPatch
18 {
19 
20 namespace patcher
21 {
22 
23 class IPatcher;
24 
25 namespace registry
26 {
27 
28 typedef std::string KeyType;
29 
30 typedef ::fwCore::util::FactoryRegistry< SPTR(::fwAtomsPatch::patcher::IPatcher) (), KeyType > Type;
31 
32 FWATOMSPATCH_API SPTR(Type) get();
33 
34 } // namespace registry
35 
36 } // namespace patcher
37 
38 } // namespace fwAtomsPatch
39 
40 #endif /* __FWATOMSPATCH_PATCHER_REGISTRY_DETAIL_HPP__ */
41 
42 
#define SPTR(_cls_)
Contains fwAtomsFilter::registry details.
This file defines fwCore base macros.
Contains base functionalities used to transform objects from a version to another.
Definition: Abstract.hpp:16