]> SALOME platform Git repositories - modules/yacs.git/blobdiff - src/engine/Test/ComponentInstanceTest.hxx
Salome HOME
Modification of API of ComponentInstance::load to give information of which node...
[modules/yacs.git] / src / engine / Test / ComponentInstanceTest.hxx
index de03d9c1f065325d8a882864f9c35d086477da43..503867f2d203463f9298561d31d390de2ba60d36 100644 (file)
@@ -31,9 +31,9 @@ namespace YACS
     public:
       ComponentInstanceTest1(const ComponentInstanceTest1& other);
       ComponentInstanceTest1(const std::string& name);
-      void load();
-      void unload();
-      bool isLoaded();
+      void load(ServiceNode *askingNode);
+      void unload(ServiceNode *askingNode);
+      bool isLoaded(ServiceNode *askingNode);
       std::string getKind() const;
       ServiceNode* createNode(const std::string& name);
       ComponentInstance *clone() const;
@@ -46,9 +46,9 @@ namespace YACS
     public:
       ComponentInstanceTest2(const ComponentInstanceTest2& other);
       ComponentInstanceTest2(const std::string& name);
-      void load();
-      void unload();
-      bool isLoaded();
+      void load(ServiceNode *askingNode);
+      void unload(ServiceNode *askingNode);
+      bool isLoaded(ServiceNode *askingNode);
       std::string getKind() const;
       ServiceNode* createNode(const std::string& name);
       ComponentInstance *clone() const;