-// Copyright (C) 2006-2012 CEA/DEN, EDF R&D
+// Copyright (C) 2006-2016 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.
+// 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
SalomePythonComponent(const SalomePythonComponent& other);
std::string getPlacementId() const;
virtual ~SalomePythonComponent();
- virtual void load();
- virtual void unload();
- virtual bool isLoaded();
+ virtual void load(Task *askingNode);
+ virtual void unload(Task *askingNode);
+ virtual bool isLoaded(Task *askingNode) const;
virtual std::string getKind() const;
virtual ComponentInstance* clone() const;
+ virtual ComponentInstance* cloneAlways() const;
virtual std::string getFileRepr() const;
virtual ServiceNode *createNode(const std::string &name);
//! The specific method that justified SalomePythonComponent class.
- std::string getStringValueToExportInInterp() const;
+ std::string getStringValueToExportInInterp(const Task *askingNode) const;
public:
unsigned _cntForRepr;
static unsigned _cntForReprS;