else {
_InputValue = _DataFlowEditor->HasInput( _ParameterName ) ;
}
- if ( _InputValue && _DataFlowEditor->IsEditing() ) {
+ GraphExecutor::DataFlow * _DataFlowExecutor = _DataFlowEditor->Executor() ;
+ if ( _DataFlowExecutor ) {
+ anAny = new CORBA::Any( * _DataFlowExecutor->GetInData( name ,
+ _ParameterName ) ) ;
+ }
+ else if ( _InputValue ) {
anAny = new CORBA::Any( * _DataFlowEditor->GetInData( name ,
_ParameterName ) ) ;
}
else {
- GraphExecutor::DataFlow * _DataFlowExecutor = _DataFlowEditor->Executor() ;
- if ( _DataFlowExecutor ) {
- anAny = new CORBA::Any( * _DataFlowExecutor->GetInData( name ,
- _ParameterName ) ) ;
- }
- else {
- anAny = new CORBA::Any( *_Any ) ;
- }
+ anAny = new CORBA::Any( *_Any ) ;
}
}
else {
- if ( _InputValue && _DataFlowEditor->IsEditing() ) {
- anAny = new CORBA::Any( * _DataFlowEditor->GetOutData( name ,
- _ParameterName ) ) ;
+ GraphExecutor::DataFlow * _DataFlowExecutor = _DataFlowEditor->Executor() ;
+ if ( _DataFlowExecutor ) {
+ anAny = new CORBA::Any( * _DataFlowExecutor->GetOutData( name ,
+ _ParameterName ) ) ;
}
else {
- GraphExecutor::DataFlow * _DataFlowExecutor = _DataFlowEditor->Executor() ;
- if ( _DataFlowExecutor ) {
- anAny = new CORBA::Any( * _DataFlowExecutor->GetOutData( name ,
- _ParameterName ) ) ;
- }
- else {
- anAny = new CORBA::Any( *_Any ) ;
- }
+ anAny = new CORBA::Any( *_Any ) ;
}
}
}
char * Value_Impl::ToString() {
// beginService( "Value_Impl::ToString" );
CORBA::Any anAny = *ToAny() ;
-// cout << "Value_Impl::ToString " << _DataFlowNode->Name() << " "
-// << _ParameterName << " " ;
if ( _DataFlowEditor ) {
char * name ;
if ( _DataFlowNode ) {
else {
name = _DataFlowEditor->Graph()->Name() ;
}
+// cout << "Value_Impl::ToString " << name << " " << _ParameterName << " " ;
if ( _InputPort ) {
if ( _DataFlowNode ) {
_InputValue = _DataFlowNode->HasInput( _ParameterName ) ;
else {
_InputValue = _DataFlowEditor->HasInput( _ParameterName ) ;
}
- if ( _InputValue && _DataFlowEditor->IsEditing() ) {
+ GraphExecutor::DataFlow * _DataFlowExecutor = _DataFlowEditor->Executor() ;
+ if ( _DataFlowExecutor ) {
+// cout << "_DataFlowExecutor->GetInData" << endl ;
+ anAny = * _DataFlowExecutor->GetInData( name ,
+ _ParameterName ) ;
+ }
+ else if ( _InputValue ) {
+// cout << "_DataFlowEditor->GetInData _DataFlowNode " << _DataFlowNode
+// << " _InputValue " << _InputValue << endl ;
anAny = * _DataFlowEditor->GetInData( name ,
_ParameterName ) ;
}
else {
- GraphExecutor::DataFlow * _DataFlowExecutor = _DataFlowEditor->Executor() ;
- if ( _DataFlowExecutor ) {
- anAny = * _DataFlowExecutor->GetInData( name ,
- _ParameterName ) ;
- }
+ anAny = *_Any ;
}
}
else {
- if ( _InputValue && _DataFlowEditor->IsEditing() ) {
- anAny = * _DataFlowEditor->GetOutData( name ,
- _ParameterName ) ;
+ GraphExecutor::DataFlow * _DataFlowExecutor = _DataFlowEditor->Executor() ;
+ if ( _DataFlowExecutor ) {
+ anAny = * _DataFlowExecutor->GetOutData( name ,
+ _ParameterName ) ;
}
else {
- GraphExecutor::DataFlow * _DataFlowExecutor = _DataFlowEditor->Executor() ;
- if ( _DataFlowExecutor ) {
- anAny = * _DataFlowExecutor->GetOutData( name ,
- _ParameterName ) ;
- }
+ anAny = *_Any ;
}
}
}