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