fw4spl
core/fwActivities/include/fwActivities/builder/registry/detail.hpp
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 #ifndef __FWACTIVITIES_BUILDER_REGISTRY_DETAIL_HPP__
8 #define __FWACTIVITIES_BUILDER_REGISTRY_DETAIL_HPP__
9 
10 #include <string>
11 
12 #include <fwCore/macros.hpp>
13 #include <fwCore/util/FactoryRegistry.hpp>
14 
15 #include "fwActivities/config.hpp"
16 
17 namespace fwActivities
18 {
19 
20 class IBuilder;
21 
22 namespace builder
23 {
24 namespace registry
25 {
26 
27 typedef std::string KeyType;
28 
29 typedef ::fwCore::util::FactoryRegistry< SPTR(::fwActivities::IBuilder) (), KeyType > Type;
30 
31 FWACTIVITIES_API SPTR(Type) get();
32 
33 } // namespace registry
34 } // namespace builder
35 } // namespace fwActivities
36 
37 #endif /* __FWACTIVITIES_BUILDER_REGISTRY_DETAIL_HPP__ */
38 
39 
#define SPTR(_cls_)
Contains fwAtomsFilter::registry details.
This file defines fwCore base macros.
FactoryRegistry is a class used to store factories and create instance object with these factories...
Namespace containing activities data and builder.