From edf4b347a91cbff4dd7b0b2a4aa341101ae1461b Mon Sep 17 00:00:00 2001 From: ageay Date: Thu, 14 Apr 2005 08:44:44 +0000 Subject: [PATCH] Sender replaced by SenderDouble, SenderInt. --- idl/SALOME_Comm.idl | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/idl/SALOME_Comm.idl b/idl/SALOME_Comm.idl index a01eca1a6..d5a59bb5d 100644 --- a/idl/SALOME_Comm.idl +++ b/idl/SALOME_Comm.idl @@ -20,33 +20,40 @@ module SALOME { interface Sender { TypeOfDataTransmitted getTypeOfDataTransmitted(); - Sender buildOtherWithProtocol(in TypeOfCommunication type); void release(); }; + interface SenderDouble : Sender { + SenderDouble buildOtherWithProtocol(in TypeOfCommunication type); + }; + + interface SenderInt : Sender { + SenderInt buildOtherWithProtocol(in TypeOfCommunication type); + }; + //No compulsory copy between double and CORBA::Double - interface CorbaDoubleNCSender : Sender { + interface CorbaDoubleNCSender : SenderDouble { unsigned long getSize(); vectorOfDouble sendPart(in unsigned long n1,in unsigned long n2); vectorOfDouble send(); }; //Compulsory copy between double and CORBA::Double - interface CorbaDoubleCSender : Sender { + interface CorbaDoubleCSender : SenderDouble { unsigned long getSize(); //unsigned long getSize2(); vectorOfDouble sendPart(in unsigned long n1,in unsigned long n2); }; //No compulsory copy between int and CORBA::Long - interface CorbaLongNCSender : Sender { + interface CorbaLongNCSender : SenderInt { unsigned long getSize(); vectorOfLong sendPart(in unsigned long n1,in unsigned long n2); vectorOfLong send(); }; //Compulsory copy between int and CORBA::Long - interface CorbaLongCSender : Sender { + interface CorbaLongCSender : SenderInt { unsigned long getSize(); vectorOfLong sendPart(in unsigned long n1,in unsigned long n2); }; @@ -63,6 +70,12 @@ module SALOME { void close(in param p); }; + interface MPISenderDouble : SenderDouble,MPISender { + }; + + interface MPISenderInt : SenderInt,MPISender { + }; + interface SocketSender : Sender { typedef struct Parameter { unsigned long lstart; @@ -78,4 +91,9 @@ module SALOME { void send(); }; + interface SocketSenderDouble : SenderDouble,SocketSender { + }; + + interface SocketSenderInt : SenderInt,SocketSender { + }; }; -- 2.39.2