23 #ifndef _SALOME_COMM_I_HXX_
24 #define _SALOME_COMM_I_HXX_
32 #include <SALOMEconfig.h>
33 #include CORBA_SERVER_HEADER(SALOME_Comm)
56 SALOME_Sender_i(
const void *tabToSend,
long lgrTabToSend,
int sizeOf,
bool ownTabToSend=
false);
58 const void *getData(
long &size)
const;
59 int getSizeOf()
const;
60 void setOwnerShip(
bool own);
96 CORBA::ULong getSize();
109 CORBA::ULong getSize();
121 CORBA::ULong getSize();
134 CORBA::ULong getSize();
146 static unsigned long _tag1;
147 static unsigned long _tag2;
160 omni_thread *_newThr;
164 SALOME_MPISender_i(
const void *tabToSend,
long lgrTabToSend,
int sizeOf,
bool ownTabToSend=
false);
165 ~SALOME_MPISender_i();
170 static void* myThread(
void *
args);
175 public SALOME_MPISender_i
178 SALOME_MPISenderDouble_i(
const double *tabToSend,
long lgrTabToSend,
bool ownTabToSend=
false);
183 public SALOME_MPISender_i
186 SALOME_MPISenderInt_i(
const int *tabToSend,
long lgrTabToSend,
bool ownTabToSend=
false);
202 std::string _IPAddress;
204 omni_thread *_newThr;
209 SALOME_SocketSender_i(
const void *tabToSend,
long lgrTabToSend,
int sizeOf,
bool ownTabToSend=
false);
210 ~SALOME_SocketSender_i();
218 static void* myThread(
void *
args);
219 std::string inetAddress();
224 public SALOME_SocketSender_i
227 SALOME_SocketSenderDouble_i(
const double *tabToSend,
long lgrTabToSend,
bool ownTabToSend=
false);
232 public SALOME_SocketSender_i
235 SALOME_SocketSenderInt_i(
const int *tabToSend,
long lgrTabToSend,
bool ownTabToSend=
false);
#define COMMUNICATION_EXPORT
Definition: SALOME_Communication.hxx:37
Servant class for CORBA sender for double* when copy of array _tabToSend is required,...
Definition: SALOME_Comm_i.hxx:105
Servant class for CORBA sender for double* when no copy of array _tabToSend is required,...
Definition: SALOME_Comm_i.hxx:92
Servant class for CORBA sender for int* when copy of array _tabToSend is required,...
Definition: SALOME_Comm_i.hxx:130
Servant class for CORBA sender for int* when no copy of array _tabToSend is required,...
Definition: SALOME_Comm_i.hxx:117
Definition: SALOME_Comm_i.hxx:68
SALOME::TypeOfDataTransmitted getTypeOfDataTransmitted()
Definition: SALOME_Comm_i.hxx:71
Definition: SALOME_Comm_i.hxx:79
SALOME::TypeOfDataTransmitted getTypeOfDataTransmitted()
Definition: SALOME_Comm_i.hxx:82
Generic servant class for senders that factorizes all the common methods and attributes necessary to ...
Definition: SALOME_Comm_i.hxx:43
bool _ownTabToSend
Indicates if _tabToSend has to be deallocated.
Definition: SALOME_Comm_i.hxx:54
virtual ~SALOME_Sender_i()
Definition: SALOME_Comm_i.hxx:63
long _lgrTabToSend
Length of the generic array to transmit.
Definition: SALOME_Comm_i.hxx:48
const void * _tabToSend
Pointer to the generic array to transmit.
Definition: SALOME_Comm_i.hxx:46
int _sizeOf
it represents the sizeof() of each component of the generic array: Practically in terms of bytes the ...
Definition: SALOME_Comm_i.hxx:52
bool getOwnerShip() const
Definition: SALOME_Comm_i.hxx:61
sequence< long > vectorOfLong
Definition: SALOME_Comm.idl:42
TypeOfCommunication
Definition: SALOME_Comm.idl:38
TypeOfDataTransmitted
Definition: SALOME_Comm.idl:36
sequence< double > vectorOfDouble
Definition: SALOME_Comm.idl:40
args
Definition: pythfilter.py:547
Definition: SALOME_Comm.idl:95
Definition: SALOME_Comm.idl:113