Salome HOME
fb59d9e8c75e427370db814864fcd763dbc6781c
[modules/kernel.git] / src / MPIContainer / MPIObject_i.hxx
1 #ifndef _SALOME_POBJECT_I_H_
2 #define _SALOME_POBJECT_I_H_ 
3
4 #include <SALOMEconfig.h>
5 #include CORBA_SERVER_HEADER(MPIObject)
6
7 class MPIObject_i: public POA_Engines::MPIObject
8 {
9  public:
10   MPIObject_i();
11   MPIObject_i(int nbproc, int numproc);
12   ~MPIObject_i();
13     
14   Engines::IORTab* tior();
15   void tior(const Engines::IORTab& ior);
16
17  protected:
18   // Numero du processus
19   int _numproc;
20   // Nombre de processus
21   int _nbproc;
22   // IOR des objets paralleles sur tous les process mpi
23   Engines::IORTab* _tior;
24   // Echange des IOR de l'objet entre process
25   void BCastIOR(CORBA::ORB_ptr orb,Engines::MPIObject_var pobj,bool amiCont);
26 } ;
27
28 #endif