Salome HOME
[Code coverage ParametersPlugin]: Unit tests for parameter remove and for error treating
[modules/shaper.git] / src / ParametersPlugin / ParametersPlugin_Plugin.h
index d82198f60ed0db673ba03da83f1d0f8cc9e7c157..1dd0dff3f10449a7e8bfa248c4cb0849c644b9fc 100644 (file)
@@ -1,23 +1,48 @@
-// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+// Copyright (C) 2014-2017  CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.salome-platform.org/ or
+// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+//
 
 #ifndef PARAMETERSPLUGIN_PLUGIN_H_
 #define PARAMETERSPLUGIN_PLUGIN_H_
 
 #include <ParametersPlugin.h>
+#include <ParametersPlugin_EvalListener.h>
+
 #include <ModelAPI_Plugin.h>
 #include <ModelAPI_Feature.h>
 
-/**\class ParametersPlugin_Plugin
- * TODO: Add documentation
+/**
+ * \class ParametersPlugin_Plugin
+ * \ingroup Plugins
+ * \brief The main class for management of parameter evaluation operations as plugin.
  */
-class PARAMETERSPLUGIN_EXPORT ParametersPlugin_Plugin : public ModelAPI_Plugin
+class ParametersPlugin_Plugin : public ModelAPI_Plugin
 {
  public:
   /// Creates the feature object of this plugin by the feature string ID
-  virtual FeaturePtr createFeature(std::string theFeatureID);
+  PARAMETERSPLUGIN_EXPORT virtual FeaturePtr createFeature(std::string theFeatureID);
 
  public:
   ParametersPlugin_Plugin();
+
+ private:
+  std::shared_ptr<ParametersPlugin_EvalListener> myEvalListener;
 };
 
 #endif