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