00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef _PARAM_DOUBLE_PORT_USES_HXX_
00025 #define _PARAM_DOUBLE_PORT_USES_HXX_
00026
00027 #include "SALOME_ParamPortsPaCO_Ports_Param_Double_Port_client.hxx"
00028
00029 #include "ParallelDSC_i.hxx"
00030 #include "PortProperties_i.hxx"
00031
00032 #include <paco_direct_comScheduling.h>
00033 #include <GaBro.h>
00034 #include <BasicBC.h>
00035
00036 class Param_Double_Port_uses_i
00037 {
00038 public :
00039 Param_Double_Port_uses_i(Engines_ParallelDSC_i * par_compo,
00040 std::string port_name,
00041 CORBA::ORB_ptr orb);
00042 virtual ~Param_Double_Port_uses_i();
00043
00044
00045 virtual void add_port_to_component();
00046 virtual void start_port();
00047 void configure_port_method_put(int totalNbElt);
00048
00049
00050 void put(const Ports::Param_Double_Port::seq_double & param_data);
00051 void get_results(Ports::Param_Double_Port::seq_double_out param_results);
00052
00053 private :
00054 CORBA::ORB_var _orb;
00055 std::string _port_name;
00056 Engines_ParallelDSC_i * _par_compo;
00057 Ports::Param_Double_Port_var _proxy_port;
00058 PortProperties_i * _fake_properties;
00059 Ports::PortProperties_var _fake_prop_ref;
00060 Ports::PaCO_Param_Double_Port * _provides_port;
00061 };
00062 #endif
00063