Salome HOME
Join modifications from branch BR_PR_V320b1
[modules/kernel.git] / src / Communication / SALOME_Matrix_i.hxx
1 #ifndef __SALOME_MATRIX_I_HXX__
2 #define __SALOME_MATRIX_I_HXX__
3
4 #include <string>
5 #include <SALOMEconfig.h>
6 #include CORBA_SERVER_HEADER(SALOME_Comm)
7 #include "SALOMEMultiComm.hxx"
8
9 class SALOME_Matrix_i : public virtual POA_SALOME::Matrix,
10                         public PortableServer::RefCountServantBase {
11 private:
12   const double *_tabToSend;
13   int _nbOfRow;
14   int _nbOfColumn;
15   bool _ownTabToSend;
16   SALOMEMultiComm _type;
17 protected:
18   ~SALOME_Matrix_i();
19 public:
20   SALOME_Matrix_i(const SALOMEMultiComm& multiCommunicator,const double *tabToSend,int nbOfRow,int nbOfColumn,bool ownTabToSend=false);
21   SALOME::SenderDouble_ptr getData();
22   CORBA::Long getSizeOfColumn();
23   void release();
24 };
25
26 #endif