fw4spl
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
core/fwAtomsFilter/src/fwAtomsFilter/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 "fwAtomsFilter/registry/detail.hpp"
10
11
12
namespace
fwAtomsFilter
13
{
14
15
namespace
registry
16
{
17
18
struct
FwDataRegistryInstantiatorTag
{};
19
20
SPTR
(
Type
)
get
()
21
{
22
typedef ::fwCore::util::LazyInstantiator< Type, FwDataRegistryInstantiatorTag > InstantiatorType;
23
return
InstantiatorType::getInstance();
24
}
25
26
}
// namespace registry
27
28
}
// namespace fwAtomsFilter
29
SPTR
#define SPTR(_cls_)
Definition:
core/fwCore/include/fwCore/macros.hpp:71
registry
Contains fwAtomsFilter::registry details.
fwAtomsFilter
Proposes an API to filter atoms.
Definition:
core/fwAtomsFilter/include/fwAtomsFilter/factory/new.hpp:15
fwAtomsFilter::registry::FwDataRegistryInstantiatorTag
Definition:
core/fwAtomsFilter/src/fwAtomsFilter/registry/detail.cpp:18
fwCore::util::FactoryRegistry
FactoryRegistry is a class used to store factories and create instance object with these factories...
Definition:
FactoryRegistry.hpp:95
SrcLib
core
fwAtomsFilter
src
fwAtomsFilter
registry
detail.cpp
Generated on Wed Sep 5 2018 12:47:39 for fw4spl by
1.8.11