Version: 9.16.0
Param_Double_Port_uses_i.hxx
Go to the documentation of this file.
1// Copyright (C) 2007-2026 CEA, EDF, OPEN CASCADE
2//
3// This library is free software; you can redistribute it and/or
4// modify it under the terms of the GNU Lesser General Public
5// License as published by the Free Software Foundation; either
6// version 2.1 of the License, or (at your option) any later version.
7//
8// This library is distributed in the hope that it will be useful,
9// but WITHOUT ANY WARRANTY; without even the implied warranty of
10// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11// Lesser General Public License for more details.
12//
13// You should have received a copy of the GNU Lesser General Public
14// License along with this library; if not, write to the Free Software
15// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16//
17// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18//
19
20// File : param_double_port_uses.hxx
21// Author : André RIBES (EDF)
22// Module : KERNEL
23//
24#ifndef _PARAM_DOUBLE_PORT_USES_HXX_
25#define _PARAM_DOUBLE_PORT_USES_HXX_
26
27#include "SALOME_ParamPortsPaCO_Ports_Param_Double_Port_client.hxx"
28
29#include "ParallelDSC_i.hxx"
30#include "PortProperties_i.hxx"
31
32#include <paco_direct_comScheduling.h>
33#include <GaBro.h>
34#include <BasicBC.h>
35
37{
38 public :
40 std::string port_name,
41 CORBA::ORB_ptr orb);
43
44 // Port local init methods
45 virtual void add_port_to_component();
46 virtual void start_port();
47 void configure_port_method_put(int totalNbElt);
48
49 // Port methods
50 void put(const Ports::Param_Double_Port::seq_double & param_data);
51 void get_results(Ports::Param_Double_Port::seq_double_out param_results);
52
53 private :
54 CORBA::ORB_var _orb;
55 std::string _port_name;
57 Ports::Param_Double_Port_var _proxy_port;
59 Ports::PortProperties_var _fake_prop_ref;
60 Ports::PaCO_Param_Double_Port * _provides_port;
61};
62#endif
63
Definition: ParallelDSC_i.hxx:40
Definition: Param_Double_Port_uses_i.hxx:37
PortProperties_i * _fake_properties
Definition: Param_Double_Port_uses_i.hxx:58
CORBA::ORB_var _orb
Definition: Param_Double_Port_uses_i.hxx:54
void configure_port_method_put(int totalNbElt)
Definition: Param_Double_Port_uses_i.cxx:95
Ports::PaCO_Param_Double_Port * _provides_port
Definition: Param_Double_Port_uses_i.hxx:60
std::string _port_name
Definition: Param_Double_Port_uses_i.hxx:55
Ports::Param_Double_Port_var _proxy_port
Definition: Param_Double_Port_uses_i.hxx:57
void put(const Ports::Param_Double_Port::seq_double &param_data)
Definition: Param_Double_Port_uses_i.cxx:104
virtual ~Param_Double_Port_uses_i()
Definition: Param_Double_Port_uses_i.cxx:45
Engines_ParallelDSC_i * _par_compo
Definition: Param_Double_Port_uses_i.hxx:56
Ports::PortProperties_var _fake_prop_ref
Definition: Param_Double_Port_uses_i.hxx:59
virtual void add_port_to_component()
Definition: Param_Double_Port_uses_i.cxx:55
void get_results(Ports::Param_Double_Port::seq_double_out param_results)
Definition: Param_Double_Port_uses_i.cxx:110
Param_Double_Port_uses_i(Engines_ParallelDSC_i *par_compo, std::string port_name, CORBA::ORB_ptr orb)
Definition: Param_Double_Port_uses_i.cxx:26
virtual void start_port()
Definition: Param_Double_Port_uses_i.cxx:63
This class implements the interface Ports::PortProperties.
Definition: PortProperties_i.hxx:40
sequence< double > seq_double
Definition: SALOME_ParamPorts.idl:36
orb
Definition: salome.py:122