Salome HOME
PR: merge branch CCAR_br1
[modules/yacs.git] / src / MPIContainer / MPIContainer_i.hxx
1 #ifndef _SALOME_PCONTAINER_
2 #define _SALOME_PCONTAINER_ 
3
4 #include <SALOMEconfig.h>
5 #include CORBA_SERVER_HEADER(MPIContainer)
6 #include "SALOME_Container_i.hxx"
7 #include "SALOME_NamingService.hxx"
8 #include "Utils_SINGLETON.hxx"
9 #include "OpUtil.hxx"
10 #include "MPIObject_i.hxx"
11
12 class MPIContainer_i : public POA_Engines::MPIContainer,
13                      public Engines_Container_i,
14                      public MPIObject_i
15 {
16
17  public:
18   // Constructor
19   MPIContainer_i( int nbproc, int numproc,
20                   CORBA::ORB_ptr orb,
21                   PortableServer::POA_ptr poa,
22                   char * containerName);
23   // Destructor
24   ~MPIContainer_i();
25
26   // Load a component
27   Engines::Component_ptr load_impl(const char* nameToRegister,
28                                    const char* componentName);
29
30   // Unload a component
31   void remove_impl(Engines::Component_ptr component_i);
32   void finalize_removal();
33
34 };
35 #endif