<resources>
<machine protocol="r" nbOfNodes="1" mode="i" OS="LINUX" CPUFreqMHz="2992" memInMB="1024" preReqFilePath="/home/secher/SALOME2_INSTALL/KERNEL_INSTALL/salome.sh" nbOfProcPerNode="1" alias="is111790" hostname="is111790" >
<modules modulePath="/home/secher/SALOME2_INSTALL/KERNEL_INSTALL" moduleName="KERNEL" />
- <modules modulePath="/export/home/LGLS/Products/MED_2.2.2" moduleName="MED" /> <modules modulePath="/export/home/LGLS/Products/GEOM_2.2.2" moduleName="GEOM" /> <modules modulePath="/export/home/LGLS/Products/SMESH_2.2.2" moduleName="SMESH" /> <modules modulePath="/export/home/LGLS/Products/SUPERV_2.2.2" moduleName="SUPERV" /> <modules modulePath="/export/home/LGLS/Products/VISU_2.2.2" moduleName="VISU" /> <modules modulePath="/home/secher/SALOME2_INSTALL/MYCOMPO_INSTALL" moduleName="MYCOMPO" /> <modules modulePath="/home/secher/SALOME2_INSTALL/MYMPICOMPO_INSTALL" moduleName="MYMPICOMPO" /> </machine>
+ <modules modulePath="/export/home/LGLS/Products/MED_2.2.2" moduleName="MED" /> <modules modulePath="/export/home/LGLS/Products/GEOM_2.2.2" moduleName="GEOM" /> <modules modulePath="/export/home/LGLS/Products/SMESH_2.2.2" moduleName="SMESH" /> <modules modulePath="/export/home/LGLS/Products/SUPERV_2.2.2" moduleName="SUPERV" /> <modules modulePath="/export/home/LGLS/Products/VISU_2.2.2" moduleName="VISU" /> <modules modulePath="/home/secher/SALOME2_INSTALL/MYCOMPO_INSTALL" moduleName="MYCOMPO" /> <modules modulePath="/home/secher/SALOME2_INSTALL/MYMPICOMPO_INSTALL" moduleName="MYMPICOMPO" /> <modules modulePath="/home/secher/SALOME2_INSTALL/MYNPCOMPO_INSTALL" moduleName="MYNPCOMPO" /> </machine>
<machine protocol="r" nbOfNodes="1" mode="i" OS="LINUX" CPUFreqMHz="2992" memInMB="1024" preReqFilePath="/home/secher/SALOME2_INSTALL/KERNEL_INSTALL/salome.sh" nbOfProcPerNode="1" alias="is111915" hostname="is111915" >
<modules modulePath="/home/secher/SALOME2_INSTALL/KERNEL_INSTALL" moduleName="KERNEL" />
- <modules modulePath="/export/home/LGLS/Products/MED_2.2.2" moduleName="MED" /> <modules modulePath="/export/home/LGLS/Products/GEOM_2.2.2" moduleName="GEOM" /> <modules modulePath="/export/home/LGLS/Products/SMESH_2.2.2" moduleName="SMESH" /> <modules modulePath="/export/home/LGLS/Products/SUPERV_2.2.2" moduleName="SUPERV" /> <modules modulePath="/export/home/LGLS/Products/VISU_2.2.2" moduleName="VISU" /> <modules modulePath="/home/secher/SALOME2_INSTALL/MYCOMPO_INSTALL" moduleName="MYCOMPO" /> <modules modulePath="/home/secher/SALOME2_INSTALL/MYMPICOMPO_INSTALL" moduleName="MYMPICOMPO" /> </machine>
+ <modules modulePath="/export/home/LGLS/Products/MED_2.2.2" moduleName="MED" /> <modules modulePath="/export/home/LGLS/Products/GEOM_2.2.2" moduleName="GEOM" /> <modules modulePath="/export/home/LGLS/Products/SMESH_2.2.2" moduleName="SMESH" /> <modules modulePath="/export/home/LGLS/Products/SUPERV_2.2.2" moduleName="SUPERV" /> <modules modulePath="/export/home/LGLS/Products/VISU_2.2.2" moduleName="VISU" /> <modules modulePath="/home/secher/SALOME2_INSTALL/MYCOMPO_INSTALL" moduleName="MYCOMPO" /> <modules modulePath="/home/secher/SALOME2_INSTALL/MYMPICOMPO_INSTALL" moduleName="MYMPICOMPO" /> <modules modulePath="/home/secher/SALOME2_INSTALL/MYNPCOMPO_INSTALL" moduleName="MYNPCOMPO" /> </machine>
<machine protocol="r" nbOfNodes="1" mode="i" OS="LINUX" CPUFreqMHz="2992" memInMB="1024" preReqFilePath="/home/secher/SALOME2_INSTALL/KERNEL_INSTALL/salome.sh" nbOfProcPerNode="1" alias="is111918" hostname="is111918" >
<modules modulePath="/home/secher/SALOME2_INSTALL/KERNEL_INSTALL" moduleName="KERNEL" />
- <modules modulePath="/export/home/LGLS/Products/MED_2.2.2" moduleName="MED" /> <modules modulePath="/export/home/LGLS/Products/GEOM_2.2.2" moduleName="GEOM" /> <modules modulePath="/export/home/LGLS/Products/SMESH_2.2.2" moduleName="SMESH" /> <modules modulePath="/export/home/LGLS/Products/SUPERV_2.2.2" moduleName="SUPERV" /> <modules modulePath="/export/home/LGLS/Products/VISU_2.2.2" moduleName="VISU" /> <modules modulePath="/home/secher/SALOME2_INSTALL/MYCOMPO_INSTALL" moduleName="MYCOMPO" /> <modules modulePath="/home/secher/SALOME2_INSTALL/MYMPICOMPO_INSTALL" moduleName="MYMPICOMPO" /> </machine>
+ <modules modulePath="/export/home/LGLS/Products/MED_2.2.2" moduleName="MED" /> <modules modulePath="/export/home/LGLS/Products/GEOM_2.2.2" moduleName="GEOM" /> <modules modulePath="/export/home/LGLS/Products/SMESH_2.2.2" moduleName="SMESH" /> <modules modulePath="/export/home/LGLS/Products/SUPERV_2.2.2" moduleName="SUPERV" /> <modules modulePath="/export/home/LGLS/Products/VISU_2.2.2" moduleName="VISU" /> <modules modulePath="/home/secher/SALOME2_INSTALL/MYCOMPO_INSTALL" moduleName="MYCOMPO" /> <modules modulePath="/home/secher/SALOME2_INSTALL/MYMPICOMPO_INSTALL" moduleName="MYMPICOMPO" /> <modules modulePath="/home/secher/SALOME2_INSTALL/MYNPCOMPO_INSTALL" moduleName="MYNPCOMPO" /> </machine>
<machine protocol="r" nbOfNodes="1" mode="i" OS="LINUX" CPUFreqMHz="2992" memInMB="1024" preReqFilePath="/home/secher/SALOME2_INSTALL/KERNEL_INSTALL/salome.sh" nbOfProcPerNode="1" alias="is111996" hostname="is111996" >
<modules modulePath="/home/secher/SALOME2_INSTALL/KERNEL_INSTALL" moduleName="KERNEL" />
- <modules modulePath="/export/home/LGLS/Products/MED_2.2.2" moduleName="MED" /> <modules modulePath="/export/home/LGLS/Products/GEOM_2.2.2" moduleName="GEOM" /> <modules modulePath="/export/home/LGLS/Products/SMESH_2.2.2" moduleName="SMESH" /> <modules modulePath="/export/home/LGLS/Products/SUPERV_2.2.2" moduleName="SUPERV" /> <modules modulePath="/export/home/LGLS/Products/VISU_2.2.2" moduleName="VISU" /> <modules modulePath="/home/secher/SALOME2_INSTALL/MYCOMPO_INSTALL" moduleName="MYCOMPO" /> <modules modulePath="/home/secher/SALOME2_INSTALL/MYMPICOMPO_INSTALL" moduleName="MYMPICOMPO" /> </machine>
+ <modules modulePath="/export/home/LGLS/Products/MED_2.2.2" moduleName="MED" /> <modules modulePath="/export/home/LGLS/Products/GEOM_2.2.2" moduleName="GEOM" /> <modules modulePath="/export/home/LGLS/Products/SMESH_2.2.2" moduleName="SMESH" /> <modules modulePath="/export/home/LGLS/Products/SUPERV_2.2.2" moduleName="SUPERV" /> <modules modulePath="/export/home/LGLS/Products/VISU_2.2.2" moduleName="VISU" /> <modules modulePath="/home/secher/SALOME2_INSTALL/MYCOMPO_INSTALL" moduleName="MYCOMPO" /> <modules modulePath="/home/secher/SALOME2_INSTALL/MYMPICOMPO_INSTALL" moduleName="MYMPICOMPO" /> <modules modulePath="/home/secher/SALOME2_INSTALL/MYNPCOMPO_INSTALL" moduleName="MYNPCOMPO" /> </machine>
</resources>
Engines::Container_ptr Engines_Component_i::GetContainerRef()
{
- MESSAGE("Engines_Component_i::GetContainerRef");
CORBA::Object_ptr o = _poa->id_to_reference(*_contId) ;
return Engines::Container::_narrow(o);
}
+Engines_Container_i *Engines_Component_i::GetContainerPtr()
+{
+ return dynamic_cast<Engines_Container_i*>(_poa->id_to_servant(*_contId)) ;
+}
+
PortableServer::ObjectId * Engines_Component_i::getId()
{
// MESSAGE("PortableServer::ObjectId * Engines_Component_i::getId()");
#include "NOTIFICATION.hxx"
class RegistryConnexion;
+class Engines_Container_i;
class Engines_Component_i: public virtual POA_Engines::Component,
public virtual PortableServer::RefCountServantBase
void ping();
Engines::Container_ptr GetContainerRef();
+ Engines_Container_i *GetContainerPtr();
PortableServer::ObjectId * getId();
void setProperties(const Engines::FieldsDict& dico);
CORBA::Long getPID();
static bool isPythonContainer(const char* ContainerName);
+ int getArgc() { return _argc; }
+ char **getArgv() { return _argv; }
+
protected:
SALOME_NamingService *_NS ;
{
string base(OS);
for(map<string, ParserResourcesType>::const_iterator iter=_resourcesList.begin();iter!=_resourcesList.end();iter++)
+ {
if((*iter).second.OS==base)
- hosts.push_back((*iter).first);
+ hosts.push_back((*iter).first);
+ }
}
//Warning need an updated parsed list : _resourcesList
void SALOME_ResourcesManager::KeepOnlyResourcesWithModule(vector<string>& hosts,const char *moduleName) const throw(SALOME_Exception)
{
- for(vector<string>::iterator iter=hosts.begin();iter!=hosts.end();iter++)
+ for(vector<string>::iterator iter=hosts.begin();iter!=hosts.end();)
{
MapOfParserResourcesType::const_iterator it=_resourcesList.find(*iter);
const map<string,string>& mapOfModulesOfCurrentHost=(((*it).second).ModulesPath);
if(mapOfModulesOfCurrentHost.find(moduleName)==mapOfModulesOfCurrentHost.end())
- {
- hosts.erase(iter);
- }
+ hosts.erase(iter);
+ else
+ iter++;
}
}