\see Engines_ParallelDSC_i::add_parallel_provides_proxy_port
*/
void set_paco_proxy(in Object ref,
- in string provides_port_name);
+ in string provides_port_name,
+ in Ports::PortProperties port_prop);
/*!
The SUPERV module call this method before starting the service. Thus the service
CORBA::Boolean
Engines_ParallelDSC_i::add_parallel_provides_proxy_port(const CORBA::Object_ptr ref,
- const char * provides_port_name)
+ const char * provides_port_name,
+ Ports::PortProperties_ptr port_prop)
{
assert(provides_port_name);
CORBA::Boolean rtn_bool = false;
CORBA::Object_ptr _comp_proxy = _orb->string_to_object(_ior.c_str());
Engines::Parallel_DSC_var real_comp_proxy = Engines::Parallel_DSC::_narrow(_comp_proxy);
- real_comp_proxy->set_paco_proxy(ref, provides_port_name);
+ real_comp_proxy->set_paco_proxy(ref, provides_port_name, port_prop);
rtn_bool = true;
return rtn_bool;
}
virtual ~Engines_ParallelDSC_i();
- virtual CORBA::Boolean init_service(const char* service_name) {return true;};
+ //virtual CORBA::Boolean init_service(const char* service_name) {return true;}
/*!
* \see Engines::DSC::add_provides_port
* \return true if the proxy is correctly added.
*/
virtual CORBA::Boolean add_parallel_provides_proxy_port(const CORBA::Object_ptr ref,
- const char * provides_port_name);
+ const char * provides_port_name,
+ Ports::PortProperties_ptr port_prop);
/*!
* This method by the nodes that do not add the proxy to wait is reference.
using namespace std;
-#ifdef DEBUG_PARALLEL
+#ifdef _DEBUG_
#include <signal.h>
void handler(int t) {
{
INFOS("Launching a parallel container node");
-#ifdef DEBUG_PARALLEL
+#ifdef _DEBUG_
signal(SIGSEGV, handler);
#endif
if (parallelLib == "Dummy")
{
//command = "gdb --args ";
+ //command = "valgrind --tool=memcheck --log-file=val_log ";
//command += real_exe_name;
+
command = real_exe_name;
+
command += " " + _NS->ContainerName(rtn);
command += " " + parallelLib;
command += " " + hostname;
{
command = "/usr/X11R6/bin/xterm -e \"export LD_LIBRARY_PATH=$LD_LIBRARY_PATH; export PATH=$PATH; "
+ command + " \" &";
+ //command = "/usr/X11R6/bin/xterm -e \"export LD_LIBRARY_PATH=$LD_LIBRARY_PATH; export PATH=$PATH; "
+ // + command + "; cat \" &";
}
return command;