Salome HOME
[bos #32522][EDF] SALOME on Demand. ExtensionBuilder: fixed using hardcoded / in...
[modules/kernel.git] / idl / SALOME_SDS.idl
index 4330f2fb757a0d9ab7ff0bef6522041eb9d58cbf..0553486c16e080a2fcfd5242ed436af3e92a60a6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2022  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 //
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 // Author : Anthony GEAY (EDF R&D)
 
+#ifndef __SALOME_SDS_IDL__
+#define __SALOME_SDS_IDL__
+
 #include "SALOME_GenericObj.idl"
 #include "SALOME_Exception.idl"
+#include "SALOME_CommonTypes.idl"
 
 module SALOME
 {
-  typedef sequence<string> StringVec;
-  typedef sequence<octet> ByteVec;
   typedef sequence<ByteVec> SeqOfByteVec;
   
   interface DataScopeServer;
@@ -85,9 +88,12 @@ module SALOME
     void fetchAndGetAccessOfVar(in string varName, out string access, out ByteVec data) raises (SALOME::SALOME_Exception);
   };
 
+  interface DataScopeServerTransaction;
+  
   interface RequestSwitcherDSM : RequestSwitcherBase
   {
     StringVec listScopes();
+    DataScopeServerTransaction giveADataScopeTransactionCalled(in string scopeName, out boolean isCreated) raises (SALOME::SALOME_Exception);
   };
 
   interface DataScopeServerBase
@@ -100,6 +106,7 @@ module SALOME
     boolean shutdownIfNotHostedByDSM(out DataScopeKiller killer) raises (SALOME::SALOME_Exception);
     ByteVec fetchSerializedContent(in string varName) raises (SALOME::SALOME_Exception);
     SeqOfByteVec getAllKeysOfVarWithTypeDict(in string varName) raises (SALOME::SALOME_Exception);
+    ByteVec getValueOfVarWithTypeDict(in string varName, in ByteVec constKey) raises (SALOME::SALOME_Exception);
     void takeANap(in double napDurationInSec) raises (SALOME::SALOME_Exception);
   };
 
@@ -137,6 +144,7 @@ module SALOME
     void fetchAndGetAccessOfVar(in string varName, out string access, out ByteVec data) raises (SALOME::SALOME_Exception);
     Transaction createRdOnlyVarTransac(in string varName, in ByteVec constValue) raises (SALOME::SALOME_Exception);
     Transaction createRdExtVarTransac(in string varName, in ByteVec constValue) raises (SALOME::SALOME_Exception);
+    Transaction createRdExtVarFreeStyleTransac(in string varName, in ByteVec constValue, in string compareFuncContent) raises (SALOME::SALOME_Exception);
     Transaction createRdExtInitVarTransac(in string varName, in ByteVec constValue) raises (SALOME::SALOME_Exception);
     Transaction createRdWrVarTransac(in string varName, in ByteVec constValue) raises (SALOME::SALOME_Exception);
     Transaction addKeyValueInVarHard(in string varName, in ByteVec keyValue, in ByteVec constValue) raises (SALOME::SALOME_Exception);
@@ -173,3 +181,5 @@ module SALOME
     RequestSwitcherDSM getRequestSwitcher();
   };
 };
+
+#endif