23 #ifndef _RECEIVERFACTORY_HXX_
24 #define _RECEIVERFACTORY_HXX_
28 #include <SALOMEconfig.h>
29 #include CORBA_SERVER_HEADER(SALOME_Comm)
39 static double *getValue(SALOME::SenderDouble_ptr sender,
long &size);
40 static int *getValue(SALOME::SenderInt_ptr sender,
long &size);
42 static double *getValueOneShot(SALOME::SenderDouble_ptr sender,
long &size);
43 static int *getValueOneShot(SALOME::SenderInt_ptr sender,
long &size);
52 char *data(
unsigned long& size);
55 void fetchOneShot(
unsigned long size);
56 void fetchByChunks(
unsigned long size);
58 static constexpr
unsigned long CHUNK_SIZE = 2000000000;
61 SALOME::SenderByte_var
_obj;
#define COMMUNICATION_EXPORT
Definition: SALOME_Communication.hxx:37
This class internally builds a receiver associated with the sender given.
Definition: ReceiverFactory.hxx:37
Definition: ReceiverFactory.hxx:49
SALOME::SenderByte_var _obj
Definition: ReceiverFactory.hxx:61
std::unique_ptr< SALOME::vectorOfByte > _data_one_shot
Definition: ReceiverFactory.hxx:60
std::unique_ptr< char[]> _data_for_split_case
Definition: ReceiverFactory.hxx:59