X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchSolver%2FSketchSolver_ConstraintMulti.h;h=d077aab7e43fea658a389463a901c8df8e98c5e2;hb=97c06c5cd9fc736f9b5a1dacde369a9d7b5be703;hp=969b4ae0d6f2ac5abc0d2424aef20ca854b4813a;hpb=fe3678a85238df2b57ea18b341003ebef176e287;p=modules%2Fshaper.git diff --git a/src/SketchSolver/SketchSolver_ConstraintMulti.h b/src/SketchSolver/SketchSolver_ConstraintMulti.h index 969b4ae0d..d077aab7e 100644 --- a/src/SketchSolver/SketchSolver_ConstraintMulti.h +++ b/src/SketchSolver/SketchSolver_ConstraintMulti.h @@ -1,8 +1,21 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D - -// File: SketchSolver_ConstraintMulti.h -// Created: 2 Sep 2015 -// Author: Artem ZHIDKOV +// Copyright (C) 2014-2019 CEA/DEN, EDF R&D +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// #ifndef SketchSolver_ConstraintMulti_H_ #define SketchSolver_ConstraintMulti_H_ @@ -25,7 +38,8 @@ public: myNumberOfCopies(0), myIsFullValue(false), myAdjusted(false), - myIsEventsBlocked(false) + myIsEventsBlocked(false), + myIsProcessingNotify(false) {} /// \brief Update constraint @@ -78,10 +92,12 @@ protected: bool myAdjusted; ///< the constraint is already adjusted (to not do it several times) - /// list of features and their copies to find whether some of them are disappeared - std::set myFeatures; + /// lists of original features and their copies to find whether some of them are disappeared + std::set myOriginalFeatures; + std::set myCopiedFeatures; bool myIsEventsBlocked; + bool myIsProcessingNotify; ///< the notification is already processing }; #endif