2 #ifndef _VisualizationComponent_HXX_
3 #define _VisualizationComponent_HXX_
5 #include <SALOME_Component.hh>
6 #include "Superv_Component_i.hxx"
8 #include "MPIObject_i.hxx"
13 void * th_Visualize(void * s);
15 int ip; // mpi process id
16 Engines::IORTab* tior;
17 SALOME_MED::ParaMEDCouplingFieldDoubleCorbaInterface_ptr field;
18 const char* path_python_file;
19 } thread_Visualize_struct;
24 class VisualizationComponent_i: public virtual POA_PARAVIS_ORB::VisualizationComponent,
26 public virtual MPIObject_i,
27 public virtual Engines_Component_i
30 VisualizationComponent_i(CORBA::ORB_ptr orb, PortableServer::POA_ptr poa,
31 PortableServer::ObjectId * contId,
32 const char *instanceName, const char *interfaceName,
34 VisualizationComponent_i(CORBA::ORB_ptr orb, PortableServer::POA_ptr poa,
35 Engines::Container_ptr container,
36 const char *instanceName, const char *interfaceName,
38 virtual ~VisualizationComponent_i();
39 void Visualize(SALOME_MED::ParaMEDCouplingFieldDoubleCorbaInterface_ptr field,const char* path_python_file);
44 PortableServer::ObjectId * VisualizationComponentEngine_factory( CORBA::ORB_ptr orb,
45 PortableServer::POA_ptr poa,
46 PortableServer::ObjectId * contId,
47 const char *instanceName,
48 const char *interfaceName);