X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2FSalomePythonComponent.hxx;h=49c32ba2fd1255f836f313b09f0c7d3180fa5b7c;hb=e3255204c864201f5bc1aa040d4273ed2f44e8cd;hp=ce25157d53722c696670de1893a6ad8e77a8e7e2;hpb=c81be9b5e74b26e207bd6efd0ccf68418ac536a3;p=modules%2Fyacs.git diff --git a/src/runtime/SalomePythonComponent.hxx b/src/runtime/SalomePythonComponent.hxx index ce25157d5..49c32ba2f 100644 --- a/src/runtime/SalomePythonComponent.hxx +++ b/src/runtime/SalomePythonComponent.hxx @@ -1,9 +1,9 @@ -// 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 @@ -33,15 +33,16 @@ namespace YACS 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;