fw4spl
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
17
struct
FwDataRegistryInstantiatorTag
{};
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
SPTR
#define SPTR(_cls_)
Definition:
core/fwCore/include/fwCore/macros.hpp:71
registry
Contains fwAtomsFilter::registry details.
fwCore::util::FactoryRegistry
FactoryRegistry is a class used to store factories and create instance object with these factories...
Definition:
FactoryRegistry.hpp:95
fwData
Contains the representation of the data objects used in the framework.
Definition:
SSliceIndexDicomEditor.hpp:27
fwData::registry::FwDataRegistryInstantiatorTag
Definition:
core/fwData/src/fwData/registry/detail.cpp:17
SrcLib
core
fwData
src
fwData
registry
detail.cpp
Generated on Wed Sep 5 2018 12:47:39 for fw4spl by
1.8.11