fw4spl
core/fwAtomsPatch/src/fwAtomsPatch/patcher/factory/new.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 "fwAtomsPatch/patcher/factory/new.hpp"
8 
9 #include "fwAtomsPatch/patcher/IPatcher.hpp"
10 
11 namespace fwAtomsPatch
12 {
13 
14 namespace patcher
15 {
16 
17 namespace factory
18 {
19 
20 SPTR(::fwAtomsPatch::patcher::IPatcher) New( const ::fwAtomsPatch::patcher::registry::KeyType & classname )
21 {
22  return ::fwAtomsPatch::patcher::registry::get()->create(classname);
23 }
24 
25 } // namespace factory
26 
27 } // namespace patcher
28 
29 } // namespace fwAtomsPatch
30 
31 
#define SPTR(_cls_)
Contains fwAtomsFilter::registry details.
Contains base functionalities used to transform objects from a version to another.
Definition: Abstract.hpp:16
Contains fwAtomsFilter::factory utilities.
Base class of all patchers.
Definition: IPatcher.hpp:40