fw4spl
core/fwAtomsFilter/src/fwAtomsFilter/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 "fwAtomsFilter/factory/new.hpp"
8 
9 #include "fwAtomsFilter/IFilter.hpp"
10 
11 namespace fwAtomsFilter
12 {
13 
14 namespace factory
15 {
16 
17 SPTR(::fwAtomsFilter::IFilter) New( const ::fwAtomsFilter::registry::KeyType & classname )
18 {
19  return ::fwAtomsFilter::registry::get()->create(classname);
20 }
21 
22 } // namespace factory
23 
24 } // namespace fwAtomsFilter
25 
#define SPTR(_cls_)
Contains fwAtomsFilter::registry details.
Contains fwAtomsFilter::factory utilities.
Removes atom attributes which are not managed by a context.