Back to index

salome-smesh  6.5.0
Defines | Functions | Variables
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 <dlfcn.h>
#include "SMESH_Gen_i.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 "SMESHDS_Document.hxx"
#include "SMESHDS_Group.hxx"
#include "SMESHDS_GroupOnGeom.hxx"
#include "SMESH_Algo_i.hxx"
#include "SMESH_File.hxx"
#include "SMESH_Group.hxx"
#include "SMESH_Group_i.hxx"
#include "SMESH_Hypothesis.hxx"
#include "SMESH_Hypothesis_i.hxx"
#include "SMESH_Mesh.hxx"
#include "SMESH_MeshEditor.hxx"
#include "SMESH_Mesh_i.hxx"
#include "SMESH_PreMeshInfo.hxx"
#include "SMESH_PythonDump.hxx"
#include "DriverMED_W_SMESHDS_Mesh.h"
#include "DriverMED_R_SMESHDS_Mesh.h"
#include "memoire.h"
#include <GEOM_Client.hxx>
#include <Basics_Utils.hxx>
#include <HDFOI.hxx>
#include <OpUtil.hxx>
#include <SALOMEDS_Tool.hxx>
#include <SALOME_Container_i.hxx>
#include <SALOME_LifeCycleCORBA.hxx>
#include <SALOME_NamingService.hxx>
#include <Utils_CorbaException.hxx>
#include <Utils_ExceptHandlers.hxx>
#include <Utils_SINGLETON.hxx>
#include <utilities.h>
#include <map>
#include <fstream>
#include <cstdio>

Go to the source code of this file.

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

SMESH_I_EXPORT
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 63 of file SMESH_Gen_i.cxx.

#define LibHandle   void*

Definition at line 61 of file SMESH_Gen_i.cxx.

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

Definition at line 62 of file SMESH_Gen_i.cxx.

#define NUM_TMP_FILES   2

Definition at line 126 of file SMESH_Gen_i.cxx.

#define UnLoadLib (   handle)    dlclose( handle );

Definition at line 64 of file SMESH_Gen_i.cxx.


Function Documentation

SMESH_I_EXPORT 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 4858 of file SMESH_Gen_i.cxx.

  {
    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]

Definition at line 131 of file SMESH_Gen_i.cxx.

const int nbElemPerDiagonal = 10

Definition at line 143 of file SMESH_Gen_i.cxx.