X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGraphExecutor%2FDataFlowExecutor_OutNode.hxx;h=4746eaf08c196e28efbb33d3b863ed390ee5288b;hb=8b39ee8b88e7f2f381732122b927e8e4fa68e47a;hp=5716375e421469aed9fd977a605f89d34b6f1d16;hpb=787989820026cbd647c7bdb7159beed8e12e4944;p=modules%2Fsuperv.git diff --git a/src/GraphExecutor/DataFlowExecutor_OutNode.hxx b/src/GraphExecutor/DataFlowExecutor_OutNode.hxx index 5716375..4746eaf 100644 --- a/src/GraphExecutor/DataFlowExecutor_OutNode.hxx +++ b/src/GraphExecutor/DataFlowExecutor_OutNode.hxx @@ -53,6 +53,7 @@ namespace GraphExecutor { GraphExecutor::AutomatonState _State ; SUPERV::ControlState _ControlState ; bool _Done ; + bool _NodeAborted ; // asv : 20.01.05 : changes involved with switching to old (HEAD) KERNEL //Engines_Container_i * _SuperVisionContainer ; @@ -115,6 +116,8 @@ namespace GraphExecutor { GraphBase::Graph * Graph() const { return _Graph ; } ; + char * Name() { return Graph()->Name() ; } ; + bool LoadDataFlow( const GraphBase::SGraph * aDataFlow ) ; // bool LoadXml( const char* myFileName ) ; bool LoadInfo( const GraphBase::SNode &aDataFlowInfo ) ; @@ -224,6 +227,13 @@ namespace GraphExecutor { bool Kill() ; bool Stop() ; + void NodeAborted( const char * aNodeName ) { + string aMsg = string( "The node " ) + string( aNodeName ) + " was aborted." ; + Graph()->SetMessages( aMsg.c_str() ) ; + _NodeAborted = true ; } ; + bool IsNodeAborted() { + return _NodeAborted ; } ; + bool IsWaiting() ; bool IsReady() ; bool IsRunning() ;