fw4spl
visu/fwRenderVTK/src/fwRenderVTK/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 "fwRenderVTK/registry/detail.hpp"
10 
11 
12 namespace fwRenderVTK
13 {
14 
15 namespace registry
16 {
17 
19 
20 SPTR(Type) get()
21 {
22  typedef ::fwCore::util::LazyInstantiator< Type, FwRenderVTKRegistryInstantiatorTag > InstantiatorType;
23  return InstantiatorType::getInstance();
24 }
25 
26 } // namespace registry
27 
28 } // namespace fwRenderVTK
29 
30 
#define SPTR(_cls_)
Contains fwAtomsFilter::registry details.
FactoryRegistry is a class used to store factories and create instance object with these factories...
The namespace fwRenderVTK contains classes for rendering with VTK.