fw4spl
core/fwData/src/fwData/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 "fwData/registry/detail.hpp"
8 
9 #include <fwCore/util/LazyInstantiator.hpp>
10 
11 namespace fwData
12 {
13 
14 namespace registry
15 {
16 
18 
19 SPTR(Type) get()
20 {
21  typedef ::fwCore::util::LazyInstantiator< Type, FwDataRegistryInstantiatorTag > InstantiatorType;
22  return InstantiatorType::getInstance();
23 }
24 
25 } // namespace registry
26 
27 } // namespace fwData
28 
29 
#define SPTR(_cls_)
Contains fwAtomsFilter::registry details.
FactoryRegistry is a class used to store factories and create instance object with these factories...
Contains the representation of the data objects used in the framework.