Salome HOME
Adding comments
[modules/smesh.git] / src / SMESH / SMESH_MeshLocker.cxx
index b90fb05293d20d921d1323df90959cba9f25a1df..d04ce9248bfaa1ac9f9019ed6daf0f2163d320a5 100644 (file)
 
 #include "SMESH_Mesh.hxx"
 
+/*
+ * When instanced will run the command Lock from a SMESH_Mesh
+ */
 SMESH_MeshLocker::SMESH_MeshLocker(SMESH_Mesh * aMesh) : _myMesh(aMesh)
 {
   _myMesh->Lock();
 }
 
+/*
+ * When freed will run the command Unlock from the SMESH_Mesh associated
+ */
 SMESH_MeshLocker::~SMESH_MeshLocker()
 {
   _myMesh->Unlock();