Salome HOME
Moved some functionality to VTKViewer_Utilities.h
[modules/kernel.git] / src / Communication / ReceiverFactory.hxx
1 #ifndef _RECEIVERFACTORY_HXX_
2 #define _RECEIVERFACTORY_HXX_
3
4 #include <SALOMEconfig.h>
5 #include CORBA_SERVER_HEADER(SALOME_Comm)
6 #include "MultiCommException.hxx"
7
8 /*!
9   This class internally builds a receiver associated with the sender given. It also performs transfert completely and clean up the objects.
10   This is the only class used client side of an array.
11  */
12 class ReceiverFactory
13 {
14 public:
15   static void *getValue(SALOME::Sender_ptr sender,long &size)throw(MultiCommException);
16 private:
17   static void *getValueOneShot(SALOME::Sender_ptr sender,long &size)throw(MultiCommException);
18 };
19
20 #endif
21