fw4spl
core/fwAtomsPatch/src/fwAtomsPatch/patcher/registry/detail.cpp
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 #include <fwCore/util/LazyInstantiator.hpp>
8 
9 #include "fwAtomsPatch/patcher/registry/detail.hpp"
10 
11 
12 namespace fwAtomsPatch
13 {
14 
15 namespace patcher
16 {
17 
18 namespace registry
19 {
20 
22 
23 SPTR(Type) get()
24 {
25  typedef ::fwCore::util::LazyInstantiator< Type, FwDataRegistryInstantiatorTag > InstantiatorType;
26  return InstantiatorType::getInstance();
27 }
28 
29 } // namespace registry
30 
31 } // namespace patcher
32 
33 } // namespace fwAtomsPatch
34 
35 
#define SPTR(_cls_)
Contains fwAtomsFilter::registry details.
Contains base functionalities used to transform objects from a version to another.
Definition: Abstract.hpp:16
FactoryRegistry is a class used to store factories and create instance object with these factories...