Salome HOME
ConnectionManager in no corba mode.
[modules/yacs.git] / src / runtime / CppComponent.hxx
index 56cfa1ff691ca5f94ccb7120ff25adbad80e85d7..eaef90df433cae9563b22de13878fd2f85979406 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2014  CEA/DEN, EDF R&D
+// Copyright (C) 2006-2021  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
@@ -52,15 +52,17 @@ namespace YACS
         virtual ~CppComponent();
 
         void run(const char * service, int nbIn, int nbOut,
-                         Any ** argIn, Any ** argOut) throw (YACS::Exception);
+                         Any ** argIn, Any ** argOut);
 
         static const char KIND[];
         virtual std::string getKind() const;
-        virtual void load();
-        virtual void unload();
-        virtual bool isLoaded();
+        virtual std::string getKindForNode() const;
+        virtual void load(Task *askingNode);
+        virtual void unload(Task *askingNode);
+        virtual bool isLoaded(Task *askingNode) const;
         virtual ServiceNode* createNode(const std::string& name);
         virtual YACS::ENGINE::ComponentInstance* clone() const;
+        virtual YACS::ENGINE::ComponentInstance* cloneAlways() const;
         
       protected: