X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2FCppComponent.hxx;h=bce106eda5bdb0ac63c04b0400f9726eb6877c10;hb=255150e4eec79294bbd06c7c464f309b4a264960;hp=b02a8e468948a8c3d4156cd7a61a4cabd1399d4b;hpb=8b48ce4efcf57bfe6abefe5319c8f1c3f57d5f08;p=modules%2Fyacs.git diff --git a/src/runtime/CppComponent.hxx b/src/runtime/CppComponent.hxx index b02a8e468..bce106eda 100644 --- a/src/runtime/CppComponent.hxx +++ b/src/runtime/CppComponent.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2006-2014 CEA/DEN, EDF R&D +// Copyright (C) 2006-2023 CEA, EDF // // 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(ServiceNode *askingNode); - virtual void unload(ServiceNode *askingNode); - virtual bool isLoaded(ServiceNode *askingNode); + 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: