]> SALOME platform Git repositories - modules/yacs.git/blobdiff - src/runtime/SalomePythonComponent.hxx
Salome HOME
Ready to update Executor to take into account of the new type of containers.
[modules/yacs.git] / src / runtime / SalomePythonComponent.hxx
index d7701c383a3378d14e9c2cecb17cad34ed10c19c..58bf7287a0dd25e46c3dccf3a92d264d4f8f7605 100644 (file)
@@ -33,15 +33,15 @@ namespace YACS
       SalomePythonComponent(const SalomePythonComponent& other);
       std::string getPlacementId() const;
       virtual ~SalomePythonComponent();
-      virtual void load(ServiceNode *askingNode);
-      virtual void unload(ServiceNode *askingNode);
-      virtual bool isLoaded(ServiceNode *askingNode);
+      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 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;