fw4spl
core/fwDataIO/src/fwDataIO/reader/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 "fwDataIO/reader/registry/detail.hpp"
10 
11 
12 namespace fwDataIO
13 {
14 namespace reader
15 {
16 
17 namespace registry
18 {
19 
21 
22 SPTR(Type) get()
23 {
24  typedef ::fwCore::util::LazyInstantiator< Type, FwDataIOReaderRegistryInstantiatorTag > InstantiatorType;
25  return InstantiatorType::getInstance();
26 }
27 
28 } // namespace registry
29 
30 } // namespace reader
31 
32 } // namespace fwDataIO
33 
34 
#define SPTR(_cls_)
Contains fwAtomsFilter::registry details.
This namespace fwDataIO contains reader and writer for several framework&#39;s data.
FactoryRegistry is a class used to store factories and create instance object with these factories...