fw4spl
fwActivities/include/fwActivities/builder/ActivitySeries.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2018.
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 #pragma once
8 
9 #include "fwActivities/config.hpp"
10 #include "fwActivities/IBuilder.hpp"
11 
12 #include <fwCore/base.hpp>
13 
14 #include <fwRuntime/ConfigurationElement.hpp>
15 
16 namespace fwActivities
17 {
18 namespace builder
19 {
20 
24 class FWACTIVITIES_CLASS_API ActivitySeries : public ::fwActivities::IBuilder
25 {
26 public:
28  (()),
29  ::fwActivities::builder::factory::New< ActivitySeries > )
30 
31  typedef std::string RegistryKeyType;
32 
34  FWACTIVITIES_API ActivitySeries(::fwActivities::IBuilder::Key key);
35 
37  FWACTIVITIES_API virtual ~ActivitySeries();
38 
47  FWACTIVITIES_API virtual ::fwMedData::ActivitySeries::sptr buildData(
48  const ::fwActivities::registry::ActivityInfo& activityInfo,
49  const CSPTR(::fwData::Vector)& currentSelection ) const override;
50 };
51 
52 } // namespace builder
53 } // namespace fwActivities
#define CSPTR(_cls_)
Contains fwAtomsFilter::registry details.
Defines the default builder for the data ActivitySeries.
Namespace containing medical data.
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.
STL namespace.
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.
Namespace containing activities data and builder.
Contains the representation of the data objects used in the framework.
Base class for all fwActivities builder&#39;s classes.
Definition: IBuilder.hpp:29