Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef _SMESH_Client_HeaderFile
00029 #define _SMESH_Client_HeaderFile
00030
00031 #include <SALOMEconfig.h>
00032 #include CORBA_SERVER_HEADER(SMESH_Gen)
00033 #include CORBA_SERVER_HEADER(SMESH_Mesh)
00034
00035 #ifdef WNT
00036 # if defined SMESHCLIENT_EXPORTS || defined SMESHClient_EXPORTS
00037 # define SMESHCLIENT_EXPORT __declspec( dllexport )
00038 # else
00039 # define SMESHCLIENT_EXPORT __declspec( dllimport )
00040 # endif
00041 #else
00042 # define SMESHCLIENT_EXPORT
00043 #endif
00044
00045 class SMESHDS_Mesh;
00046 class SMDS_Mesh;
00047
00048
00049
00050
00051
00052 class SMESHCLIENT_EXPORT SMESH_Client
00053 {
00054 public:
00055 static
00056 SMESH::SMESH_Gen_var
00057 GetSMESHGen(CORBA::ORB_ptr theORB,
00058 CORBA::Boolean& theIsEmbeddedMode);
00059
00060 SMESH_Client(CORBA::ORB_ptr theORB,
00061 SMESH::SMESH_Mesh_ptr theMesh);
00062 ~SMESH_Client();
00063
00064 bool
00065 Update(bool theIsClear);
00066
00067 SMDS_Mesh*
00068 GetMesh() const;
00069
00070 SMDS_Mesh*
00071 operator->() const;
00072
00073 SMESH::SMESH_Mesh_ptr
00074 GetMeshServer();
00075
00076 protected:
00077 SMESH::SMESH_Mesh_var myMeshServer;
00078 SMESHDS_Mesh* mySMESHDSMesh;
00079 SMDS_Mesh* mySMDSMesh;
00080 };
00081
00082
00083 #endif