mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 17:00:34 +05:00
Rename Engines::Component to Engines::EngineComponent
This commit is contained in:
parent
b9918993a1
commit
b21fc186af
@ -19,10 +19,9 @@
|
|||||||
//
|
//
|
||||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||||
//
|
//
|
||||||
|
|
||||||
// File : SMESH_Gen.idl
|
// File : SMESH_Gen.idl
|
||||||
// Author : Paul RASCLE, EDF
|
// Author : Paul RASCLE, EDF
|
||||||
//
|
|
||||||
#ifndef _SMESH_GEN_IDL_
|
#ifndef _SMESH_GEN_IDL_
|
||||||
#define _SMESH_GEN_IDL_
|
#define _SMESH_GEN_IDL_
|
||||||
|
|
||||||
@ -111,7 +110,7 @@ module SMESH
|
|||||||
typedef sequence<ComputeError> compute_error_array;
|
typedef sequence<ComputeError> compute_error_array;
|
||||||
|
|
||||||
|
|
||||||
interface SMESH_Gen : Engines::Component, SALOMEDS::Driver
|
interface SMESH_Gen : Engines::EngineComponent, SALOMEDS::Driver
|
||||||
{
|
{
|
||||||
//GEOM::GEOM_Gen SetGeomEngine( in string containerLoc );
|
//GEOM::GEOM_Gen SetGeomEngine( in string containerLoc );
|
||||||
void SetGeomEngine( in GEOM::GEOM_Gen geomcompo );
|
void SetGeomEngine( in GEOM::GEOM_Gen geomcompo );
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
//
|
//
|
||||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||||
//
|
|
||||||
|
|
||||||
// ---
|
// ---
|
||||||
// File : GeomSelectionTools.cxx
|
// File : GeomSelectionTools.cxx
|
||||||
@ -219,7 +218,7 @@ TopAbs_ShapeEnum GeomSelectionTools::entryToShapeType(std::string entry){
|
|||||||
SalomeApp_Application* anApp = GetSalomeApplication();
|
SalomeApp_Application* anApp = GetSalomeApplication();
|
||||||
if (anApp) {
|
if (anApp) {
|
||||||
// MESSAGE("Got Application");
|
// MESSAGE("Got Application");
|
||||||
Engines::Component_var component = anApp->lcc()->FindOrLoad_Component( "FactoryServer","GEOM" );
|
Engines::EngineComponent_var component = anApp->lcc()->FindOrLoad_Component( "FactoryServer","GEOM" );
|
||||||
GEOM::GEOM_Gen_var _geomEngine = GEOM::GEOM_Gen::_narrow(component);
|
GEOM::GEOM_Gen_var _geomEngine = GEOM::GEOM_Gen::_narrow(component);
|
||||||
// MESSAGE("Got GEOM engine");
|
// MESSAGE("Got GEOM engine");
|
||||||
// if the Geom Object is a group
|
// if the Geom Object is a group
|
||||||
@ -340,4 +339,3 @@ QString PluginUtils::PrintDoubleValue( double theValue, int thePrecision )
|
|||||||
|
|
||||||
return aRes == "-0" ? QString( "0" ) : aRes + aResExp;
|
return aRes == "-0" ? QString( "0" ) : aRes + aResExp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,12 +19,11 @@
|
|||||||
//
|
//
|
||||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||||
//
|
//
|
||||||
|
|
||||||
// SMESH SMESHClient : tool to update client mesh structure by mesh from server
|
// SMESH SMESHClient : tool to update client mesh structure by mesh from server
|
||||||
// File : SMESH_Client.cxx
|
// File : SMESH_Client.cxx
|
||||||
// Author : Pavel TELKOV
|
// Author : Pavel TELKOV
|
||||||
// Module : SMESH
|
// Module : SMESH
|
||||||
//
|
|
||||||
#include "SMESH_Client.hxx"
|
#include "SMESH_Client.hxx"
|
||||||
#include "SMESH_Mesh.hxx"
|
#include "SMESH_Mesh.hxx"
|
||||||
|
|
||||||
@ -610,7 +609,7 @@ SMESH_Client::GetSMESHGen(CORBA::ORB_ptr theORB,
|
|||||||
|
|
||||||
SALOME_NamingService aNamingService(theORB);
|
SALOME_NamingService aNamingService(theORB);
|
||||||
SALOME_LifeCycleCORBA aLifeCycleCORBA(&aNamingService);
|
SALOME_LifeCycleCORBA aLifeCycleCORBA(&aNamingService);
|
||||||
Engines::Component_var aComponent = aLifeCycleCORBA.FindOrLoad_Component("FactoryServer","SMESH");
|
Engines::EngineComponent_var aComponent = aLifeCycleCORBA.FindOrLoad_Component("FactoryServer","SMESH");
|
||||||
aMeshGen = SMESH::SMESH_Gen::_narrow(aComponent);
|
aMeshGen = SMESH::SMESH_Gen::_narrow(aComponent);
|
||||||
|
|
||||||
std::string aClientHostName = Kernel_Utils::GetHostname();
|
std::string aClientHostName = Kernel_Utils::GetHostname();
|
||||||
|
@ -19,12 +19,11 @@
|
|||||||
//
|
//
|
||||||
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||||
//
|
//
|
||||||
|
|
||||||
// SMESH SMESH_I : idl implementation based on 'SMESH' unit's calsses
|
// SMESH SMESH_I : idl implementation based on 'SMESH' unit's calsses
|
||||||
// File : SMESH_Gen_i.cxx
|
// File : SMESH_Gen_i.cxx
|
||||||
// Author : Paul RASCLE, EDF
|
// Author : Paul RASCLE, EDF
|
||||||
// Module : SMESH
|
// Module : SMESH
|
||||||
//
|
|
||||||
#include <TopExp.hxx>
|
#include <TopExp.hxx>
|
||||||
#include <TopExp_Explorer.hxx>
|
#include <TopExp_Explorer.hxx>
|
||||||
#include <TopoDS.hxx>
|
#include <TopoDS.hxx>
|
||||||
@ -237,7 +236,7 @@ GEOM::GEOM_Gen_ptr SMESH_Gen_i::GetGeomEngine() {
|
|||||||
//CCRT return aGeomEngine._retn();
|
//CCRT return aGeomEngine._retn();
|
||||||
if(CORBA::is_nil(myGeomGen))
|
if(CORBA::is_nil(myGeomGen))
|
||||||
{
|
{
|
||||||
Engines::Component_ptr temp=GetLCC()->FindOrLoad_Component("FactoryServer","GEOM");
|
Engines::EngineComponent_ptr temp=GetLCC()->FindOrLoad_Component("FactoryServer","GEOM");
|
||||||
myGeomGen=GEOM::GEOM_Gen::_narrow(temp);
|
myGeomGen=GEOM::GEOM_Gen::_narrow(temp);
|
||||||
}
|
}
|
||||||
return myGeomGen;
|
return myGeomGen;
|
||||||
|
Loading…
Reference in New Issue
Block a user