Version: 6.3.1
Data Structures | Defines | Functions | Variables

src/SMESH_I/SMESH_Gen_i.cxx File Reference

#include <TopExp.hxx>
#include <TopExp_Explorer.hxx>
#include <TopoDS.hxx>
#include <TopoDS_Iterator.hxx>
#include <TopoDS_Compound.hxx>
#include <TopoDS_CompSolid.hxx>
#include <TopoDS_Solid.hxx>
#include <TopoDS_Shell.hxx>
#include <TopoDS_Face.hxx>
#include <TopoDS_Wire.hxx>
#include <TopoDS_Edge.hxx>
#include <TopoDS_Vertex.hxx>
#include <TopoDS_Shape.hxx>
#include <TopTools_MapOfShape.hxx>
#include <TopTools_IndexedMapOfShape.hxx>
#include <TopTools_ListOfShape.hxx>
#include <TopTools_ListIteratorOfListOfShape.hxx>
#include <gp_Pnt.hxx>
#include <BRep_Tool.hxx>
#include <TCollection_AsciiString.hxx>
#include <OSD.hxx>
#include "Utils_CorbaException.hxx"
#include "utilities.h"
#include <fstream>
#include <stdio.h>
#include <dlfcn.h>
#include <HDFOI.hxx>
#include "SMESH_Gen_i.hxx"
#include "SMESH_Mesh_i.hxx"
#include "SMESH_Hypothesis_i.hxx"
#include "SMESH_Algo_i.hxx"
#include "SMESH_Group_i.hxx"
#include "SMESH_PythonDump.hxx"
#include "SMESHDS_Document.hxx"
#include "SMESHDS_Group.hxx"
#include "SMESHDS_GroupOnGeom.hxx"
#include "SMESH_Mesh.hxx"
#include "SMESH_Hypothesis.hxx"
#include "SMESH_Group.hxx"
#include "SMESH_MeshEditor.hxx"
#include "SMDS_EdgePosition.hxx"
#include "SMDS_FacePosition.hxx"
#include "SMDS_PolyhedralVolumeOfNodes.hxx"
#include "SMDS_SetIterator.hxx"
#include "SMDS_SpacePosition.hxx"
#include "SMDS_VertexPosition.hxx"
#include <CORBA_SERVER_HEADER(SMESH_Group)>
#include <CORBA_SERVER_HEADER(SMESH_Filter)>
#include <CORBA_SERVER_HEADER(SMESH_MeshEditor)>
#include "DriverMED_W_SMESHDS_Mesh.h"
#include "DriverMED_R_SMESHDS_Mesh.h"
#include "SALOMEDS_Tool.hxx"
#include "SALOME_NamingService.hxx"
#include "SALOME_LifeCycleCORBA.hxx"
#include "Utils_SINGLETON.hxx"
#include "OpUtil.hxx"
#include <CORBA_CLIENT_HEADER(SALOME_ModuleCatalog)>
#include <CORBA_CLIENT_HEADER(SALOME_Session)>
#include "GEOM_Client.hxx"
#include "Utils_ExceptHandlers.hxx"
#include "memoire.h"
#include "Basics_Utils.hxx"
#include <map>

Go to the source code of this file.

Data Structures

class  PositionCreator
 Creates SMDS_Position according to shape type. More...

Defines

#define LibHandle   void*
#define LoadLib(name)   dlopen( name, RTLD_LAZY )
#define GetProc   dlsym
#define UnLoadLib(handle)   dlclose( handle );
#define NUM_TMP_FILES   2

Functions

PortableServer::ObjectId * SMESHEngine_factory (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, PortableServer::ObjectId *contId, const char *instanceName, const char *interfaceName)
 SMESHEngine_factory.

Variables

static int MYDEBUG = 0
const int nbElemPerDiagonal = 10

Define Documentation

#define GetProc   dlsym

Definition at line 69 of file SMESH_Gen_i.cxx.

Referenced by SMESH_Gen_i.createHypothesis().

#define LibHandle   void*

Definition at line 67 of file SMESH_Gen_i.cxx.

Referenced by SMESH_Gen_i.createHypothesis().

#define LoadLib (   name)    dlopen( name, RTLD_LAZY )

Definition at line 68 of file SMESH_Gen_i.cxx.

Referenced by SMESH_Gen_i.createHypothesis().

#define NUM_TMP_FILES   2

Definition at line 123 of file SMESH_Gen_i.cxx.

Referenced by SMESH_Gen_i.Save().

#define UnLoadLib (   handle)    dlclose( handle );

Definition at line 70 of file SMESH_Gen_i.cxx.

Referenced by SMESH_Gen_i.createHypothesis().


Function Documentation

PortableServer::ObjectId* SMESHEngine_factory ( CORBA::ORB_ptr  orb,
PortableServer::POA_ptr  poa,
PortableServer::ObjectId *  contId,
const char *  instanceName,
const char *  interfaceName 
)

SMESHEngine_factory.

C factory, accessible with dlsym, after dlopen

Definition at line 4802 of file SMESH_Gen_i.cxx.

References MESSAGE, and MYDEBUG.

  {
    if(MYDEBUG) MESSAGE( "PortableServer::ObjectId* SMESHEngine_factory()" );
    if(MYDEBUG) SCRUTE(interfaceName);
    SMESH_Gen_i* aSMESHGen = new SMESH_Gen_i(orb, poa, contId, instanceName, interfaceName);
    return aSMESHGen->getId() ;
  }

Variable Documentation

int MYDEBUG = 0 [static]
const int nbElemPerDiagonal = 10

Definition at line 140 of file SMESH_Gen_i.cxx.

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS