fw4spl
ActivitySeriesInitData.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/builder/ActivitySeries.hpp"
10 #include "fwActivities/config.hpp"
11 
12 #include <fwCore/base.hpp>
13 
14 #include <fwRuntime/ConfigurationElement.hpp>
15 
16 namespace fwActivities
17 {
18 namespace builder
19 {
20 
25 {
26 public:
28  (()),
29  ::fwActivities::builder::factory::New< ActivitySeriesInitData > )
30 
31  typedef std::string RegistryKeyType;
32 
34  FWACTIVITIES_API ActivitySeriesInitData(::fwActivities::IBuilder::Key key);
35 
37  FWACTIVITIES_API virtual ~ActivitySeriesInitData();
38 
43  FWACTIVITIES_API virtual ::fwMedData::ActivitySeries::sptr buildData(
44  const ::fwActivities::registry::ActivityInfo& activityInfo,
45  const CSPTR(::fwData::Vector)& currentSelection ) const override;
46 };
47 
48 } // namespace builder
49 } // namespace fwActivities
#define CSPTR(_cls_)
Contains fwAtomsFilter::registry details.
Defines the default builder for the data ActivitySeries.
Defines an activity builder which instanciates a new requirement if minOccurs and maxOccurs are set t...
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