fw4spl
AppInfo.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2016.
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 __FWSERVICES_REGISTRY_APPINFO_HPP__
8 #define __FWSERVICES_REGISTRY_APPINFO_HPP__
9 
10 #include "fwServices/config.hpp"
11 
12 #include <fwCore/BaseObject.hpp>
13 #include <fwRuntime/ConfigurationElement.hpp>
14 
15 #include <map>
16 
17 namespace fwServices
18 {
19 
20 namespace registry
21 {
22 
24 typedef std::map< std::string, std::string > FieldAdaptorType;
25 
28 class FWSERVICES_CLASS_API AppInfo : public ::fwCore::BaseObject
29 {
30 public:
31 
33 
36  {
37  }
38 
40  virtual ~AppInfo()
41  {
42  }
43 
44  std::string group;
45  std::string desc;
46  typedef std::map< std::string, std::string > ParametersType;
47  ParametersType parameters;
48  ::fwRuntime::ConfigurationElement::csptr config;
49  std::string bundleId;
50  std::string bundleVersion;
51 };
52 
53 } // namespace registry
54 
55 } // namespace fwServices
56 
57 #endif // __FWSERVICES_REGISTRY_APPINFO_HPP__
virtual ~AppInfo()
Destructor, do nothing.
Definition: AppInfo.hpp:40
Contains fwAtomsFilter::registry details.
Base class for all FW4SPL&#39;s classes.
Definition: BaseObject.hpp:22
AppInfo()
Constructor, do nothing.
Definition: AppInfo.hpp:35
std::string bundleVersion
Bundle version (used to start the bundle when the appConfig is launched)
Definition: AppInfo.hpp:50
Namespace fwServices is dedicated to (mimic) the dynamic affectation of methods to (pure data) object...
std::map< std::string, std::string > FieldAdaptorType
Associations of <pattern, value>.
Definition: AppInfo.hpp:24
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.
std::string bundleId
Bundle identifier (used to start the bundle when the appConfig is launched)
Definition: AppInfo.hpp:49