1 #ifndef _DATAFLOWEXECUTOR_DATAFLOW_LXX
2 #define _DATAFLOWEXECUTOR_DATAFLOW_LXX
4 #include "DataFlowExecutor_OutNode.hxx"
6 inline bool GraphExecutor::DataFlow::LoadDataFlow(
7 const GraphBase::SGraph &aDataFlow ) {
8 return GraphExecutor::OutNode::LoadDataFlow( aDataFlow ) ;
11 inline bool GraphExecutor::DataFlow::LoadXml( const char* myFileName ) {
12 return GraphExecutor::OutNode::LoadXml( myFileName ) ;
15 inline const SALOME_ModuleCatalog::Service * GraphExecutor::DataFlow::NodeService(
16 const char * aNodeName ) {
17 if ( GetGraphNode( aNodeName ) )
18 return GetGraphNode( aNodeName )->GetService() ;
22 inline bool GraphExecutor::DataFlow::ChangeInputData( const char* ToNodeName ,
23 const char* ToParameterName ,
24 const CORBA::Any aValue ) {
27 return GraphBase::Graph::ChangeInputData( ToNodeName , ToParameterName ,
31 inline bool GraphExecutor::DataFlow::AddInputSharedData(const char* ToNodeName1 ,
32 const char* ToParameterName1 ,
33 const char* ToNodeName2 ,
34 const char* ToParameterName2 ) {
37 return GraphExecutor::OutNode::AddInputData( ToNodeName1 ,
41 // aKindOfPortValue ) ;
44 inline bool GraphExecutor::DataFlow::IsValid() {
45 return GraphExecutor::OutNode::IsValid() ;
48 inline bool GraphExecutor::DataFlow::IsExecutable() {
49 return GraphExecutor::OutNode::IsExecutable() ;
52 inline bool GraphExecutor::DataFlow::Run( const bool AndSuspend ) {
53 return GraphExecutor::OutNode::Run( AndSuspend ) ;
55 inline bool GraphExecutor::DataFlow::Run( const char * aNodeName ,
56 const char * AtNodeName ,
57 const bool AndSuspend ) {
58 return GraphExecutor::OutNode::Run( aNodeName , AtNodeName , AndSuspend ) ;
61 inline long GraphExecutor::DataFlow::LastLevelDone() {
62 return GraphExecutor::OutNode::LastLevelDone() ;
65 inline long GraphExecutor::DataFlow::Threads() {
66 return GraphExecutor::OutNode::Threads() ;
69 inline bool GraphExecutor::DataFlow::Event( char ** aNodeName ,
70 SUPERV::GraphEvent & anEvent ,
71 SUPERV::GraphState & aState ,
73 return GraphExecutor::OutNode::Event( aNodeName , anEvent , aState , WithWait ) ;
75 inline bool GraphExecutor::DataFlow::EventW( char ** aNodeName ,
76 SUPERV::GraphEvent & anEvent ,
77 SUPERV::GraphState & aState ) {
78 return GraphExecutor::OutNode::EventW( aNodeName , anEvent , aState ) ;
81 inline SUPERV::GraphState GraphExecutor::DataFlow::State() {
82 return GraphExecutor::OutNode::State() ;
85 inline SUPERV::GraphState GraphExecutor::DataFlow::State(
86 const char * aNodeName ) {
87 return GraphExecutor::OutNode::State( aNodeName ) ;
90 inline SUPERV::GraphState GraphExecutor::DataFlow::State(
91 const char * aNodeName ,
92 const char * anOutServiceParameterName ) {
93 return GraphExecutor::OutNode::State( aNodeName ,
94 anOutServiceParameterName ) ;
97 inline long GraphExecutor::DataFlow::Thread() {
98 return GraphExecutor::OutNode::ThreadNo() ;
100 inline long GraphExecutor::DataFlow::Thread( const char * aNodeName ) {
101 return GraphExecutor::OutNode::Thread( aNodeName ) ;
104 inline SUPERV::AutomatonState GraphExecutor::DataFlow::AutomatonState() {
105 return GraphExecutor::OutNode::AutomatonState() ;
108 inline SUPERV::AutomatonState GraphExecutor::DataFlow::AutomatonState(
109 const char * aNodeName ) {
110 return GraphExecutor::OutNode::AutomatonState( aNodeName ) ;
113 inline SUPERV::ControlState GraphExecutor::DataFlow::ControlState() {
114 return GraphExecutor::OutNode::ControlState() ;
117 inline SUPERV::ControlState GraphExecutor::DataFlow::ControlState(
118 const char * aNodeName ) {
119 return GraphExecutor::OutNode::ControlState( aNodeName ) ;
122 inline void GraphExecutor::DataFlow::ControlClear() {
123 return GraphExecutor::OutNode::ControlClear() ;
126 inline void GraphExecutor::DataFlow::ControlClear(
127 const char * aNodeName ) {
128 return GraphExecutor::OutNode::ControlClear( aNodeName ) ;
131 inline bool GraphExecutor::DataFlow::IsWaiting() {
132 return GraphExecutor::OutNode::IsWaiting() ;
134 inline bool GraphExecutor::DataFlow::IsReady() {
135 return GraphExecutor::OutNode::IsReady() ;
137 inline bool GraphExecutor::DataFlow::IsRunning() {
138 return GraphExecutor::OutNode::IsRunning() ;
140 inline bool GraphExecutor::DataFlow::IsDone() {
141 return GraphExecutor::OutNode::IsDone() ;
143 inline bool GraphExecutor::DataFlow::IsSuspended() {
144 return GraphExecutor::OutNode::IsSuspended() ;
147 inline bool GraphExecutor::DataFlow::IsWaiting(const char * aNodeName ) {
148 return GraphExecutor::OutNode::IsWaiting( aNodeName ) ;
150 inline bool GraphExecutor::DataFlow::IsReady(const char * aNodeName ) {
151 return GraphExecutor::OutNode::IsReady( aNodeName ) ;
153 inline bool GraphExecutor::DataFlow::IsRunning(const char * aNodeName ) {
154 return GraphExecutor::OutNode::IsRunning( aNodeName ) ;
156 inline bool GraphExecutor::DataFlow::IsDone(const char * aNodeName ) {
157 return GraphExecutor::OutNode::IsDone( aNodeName ) ;
159 inline bool GraphExecutor::DataFlow::IsSuspended(const char * aNodeName ) {
160 return GraphExecutor::OutNode::IsSuspended( aNodeName ) ;
163 inline bool GraphExecutor::DataFlow::IsDone(
164 const char * aNodeName ,
165 const char * anOutServiceParameterName ) {
166 return GraphExecutor::OutNode::IsDone( aNodeName ,
167 anOutServiceParameterName ) ;
170 inline bool GraphExecutor::DataFlow::ReadyWait() {
171 return GraphExecutor::OutNode::ReadyWait() ;
173 inline bool GraphExecutor::DataFlow::RunningWait() {
174 return GraphExecutor::OutNode::RunningWait() ;
176 inline bool GraphExecutor::DataFlow::DoneWait() {
177 return GraphExecutor::OutNode::DoneWait() ;
179 inline bool GraphExecutor::DataFlow::SuspendedWait() {
180 return GraphExecutor::OutNode::SuspendedWait() ;
183 inline bool GraphExecutor::DataFlow::ReadyWait(const char * aNodeName ) {
184 return GraphExecutor::OutNode::ReadyWait( aNodeName ) ;
186 inline bool GraphExecutor::DataFlow::RunningWait(const char * aNodeName ) {
187 return GraphExecutor::OutNode::RunningWait( aNodeName ) ;
189 inline bool GraphExecutor::DataFlow::DoneWait(const char * aNodeName ) {
190 return GraphExecutor::OutNode::DoneWait( aNodeName ) ;
192 inline bool GraphExecutor::DataFlow::SuspendedWait(const char * aNodeName ) {
193 return GraphExecutor::OutNode::SuspendedWait( aNodeName ) ;
196 inline const CORBA::Any *GraphExecutor::DataFlow::GetInData(
197 const char * ToNodeName ,
198 const char * ToParameterName ) {
199 return GraphExecutor::OutNode::GetInData( ToNodeName ,
202 inline const CORBA::Any *GraphExecutor::DataFlow::GetOutData(
203 const char * FromNodeName ,
204 const char * FromParameterName ) {
205 return GraphExecutor::OutNode::GetOutData( FromNodeName ,
206 FromParameterName ) ;