- SMESH_Hypothesis* CreateHypothesis(const char* anHyp, int studyId)
- throw (SALOME_Exception);
- SMESH_Mesh* Init(int studyId, const TopoDS_Shape& aShape)
- throw (SALOME_Exception);
- bool Compute(::SMESH_Mesh& aMesh, const TopoDS_Shape& aShape)
- throw (SALOME_Exception);
- StudyContextStruct* GetStudyContext(int studyId);
+// SMESH_Hypothesis *CreateHypothesis(const char *anHyp, int studyId)
+// throw(SALOME_Exception);
+ SMESH_Mesh* CreateMesh(int studyId)
+ throw(SALOME_Exception);
+ bool Compute(::SMESH_Mesh & aMesh, const TopoDS_Shape & aShape);
+
+ bool CheckAlgoState(SMESH_Mesh& aMesh, const TopoDS_Shape& aShape);
+ // notify on bad state of attached algos, return false
+ // if Compute() would fail because of some algo bad state
+