1 // SUPERV Supervision : contains the implementation of interfaces of SuperVision described in SUPERV.idl
3 // Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License.
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 // See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
24 // File : StreamGraph_Impl.cxx
25 // Author : Jean Rahuel
31 #include "StreamGraph_Impl.hxx"
33 StreamGraph_Impl::StreamGraph_Impl( CORBA::ORB_ptr orb ,
34 PortableServer::POA_ptr poa ,
35 PortableServer::ObjectId * contId ,
36 const char *instanceName ,
37 const char *interfaceName ,
38 const char *aDataFlowName ) :
39 Graph_Impl(orb, poa, contId, instanceName, interfaceName, aDataFlowName , SUPERV::DataStreamGraph ) {
40 // MESSAGE("StreamGraph_Impl::StreamGraph_Impl activate object instanceName("
41 // << instanceName << ") interfaceName(" << interfaceName << ") --> "
42 // << hex << (void *) this << dec )
43 beginService( "StreamGraph_Impl::StreamGraph_Impl" );
45 _id = _poa->activate_object(_thisObj);
46 _Orb = CORBA::ORB::_duplicate(orb);
50 endService( "StreamGraph_Impl::StreamGraph_Impl" );
53 StreamGraph_Impl::StreamGraph_Impl() {
56 StreamGraph_Impl::~StreamGraph_Impl() {
57 beginService( "StreamGraph_Impl::~StreamGraph_Impl" );
58 endService( "StreamGraph_Impl::~StreamGraph_Impl" );
61 void StreamGraph_Impl::destroy() {
62 beginService( "StreamGraph_Impl::destroy" );
63 _poa->deactivate_object(*_id) ;
64 CORBA::release(_poa) ;
66 _thisObj->_remove_ref();
67 endService( "StreamGraph_Impl::destroy" );
70 SUPERV::StreamGraph_ptr StreamGraph_Impl::StreamCopy() {
71 beginService( "StreamGraph_Impl::StreamCopy" );
72 StreamGraph_Impl * myStreamGraph ;
73 myStreamGraph = new StreamGraph_Impl( _Orb , _Poa, _ContId,
74 instanceName() , interfaceName() ,
75 DataFlowEditor()->Graph()->Name() ) ;
76 PortableServer::ObjectId * id = myStreamGraph->getId() ;
77 CORBA::Object_var obj = _poa->id_to_reference(*id);
78 SUPERV::StreamGraph_var iobject ;
79 iobject = SUPERV::StreamGraph::_narrow(obj) ;
80 GraphBase::SGraph * aSGraph = GetGraph() ;
81 myStreamGraph->LoadGraph( aSGraph ) ;
82 endService( "StreamGraph_Impl::StreamCopy" );
83 return SUPERV::StreamGraph::_duplicate(iobject) ;
86 SUPERV::StreamLink_ptr StreamGraph_Impl::StreamLink( SUPERV::StreamPort_ptr OutStreamPort ,
87 SUPERV::StreamPort_ptr InStreamPort ) {
88 beginService( "StreamGraph_Impl::StreamLink" );
89 SUPERV::StreamLink_var iobject = SUPERV::StreamLink::_nil() ;
90 if ( DataFlowEditor()->IsEditing() && !DataFlowEditor()->IsReadOnly() &&
91 OutStreamPort->IsDataStream() && InStreamPort->IsDataStream() ) {
92 GraphBase::InPort * anInPort = DataFlowEditor()->GetNode( InStreamPort->Node()->Name() )->ComputingNode()->GetChangeInPort( InStreamPort->Name() ) ;
93 GraphBase::OutPort * anOutPort = DataFlowEditor()->GetNode( OutStreamPort->Node()->Name() )->ComputingNode()->GetChangeOutPort( OutStreamPort->Name() ) ;
94 if ( CORBA::is_nil( anOutPort->InPortObjRef( anInPort ) ) ) {
95 const char * DataFlowOutNodeName = OutStreamPort->Node()->Name() ;
96 GraphEditor::InNode * DataFlowOutNode = DataFlowEditor()->GetNode( DataFlowOutNodeName ) ;
97 const char * DataFlowInNodeName = InStreamPort->Node()->Name() ;
98 GraphEditor::InNode * DataFlowInNode = DataFlowEditor()->GetNode( DataFlowInNodeName ) ;
99 if ( DataFlowOutNode && DataFlowInNode ) {
101 StreamLink_Impl * myStreamLink = new StreamLink_Impl( _Orb , _Poa , _ContId ,
102 instanceName() , interfaceName() ,
105 InStreamPort->Name() ,
107 OutStreamPort->Name() ,
110 PortableServer::ObjectId * id = myStreamLink->getId() ;
111 CORBA::Object_var obj = _poa->id_to_reference(*id);
112 iobject = SUPERV::StreamLink::_narrow(obj) ;
113 anOutPort->AddInPortObjRef( anInPort , SUPERV::StreamLink::_duplicate(iobject) ) ;
118 iobject = SUPERV::StreamLink::_narrow( anOutPort->InPortObjRef( anInPort ) ) ;
121 endService( "StreamGraph_Impl::StreamLink" );
122 return SUPERV::StreamLink::_duplicate(iobject) ;
125 SUPERV::ListOfStreamLinks * StreamGraph_Impl::GStreamLinks() {
126 return StreamLinks( NULL , NULL ) ;
129 SUPERV::ListOfStreamLinks * StreamGraph_Impl::StreamLinks( GraphBase::ComputingNode * theNode ,
130 const char * anInputParam ) {
132 SUPERV::ListOfStreamLinks_var RetVal = new SUPERV::ListOfStreamLinks ;
133 int i , j , countlink ;
135 for ( i = 0 ; i < DataFlowEditor()->Graph()->GraphNodesSize() ; i++ ) {
136 GraphEditor::InNode * aNode = NULL ;
137 aNode = (GraphEditor::InNode * ) DataFlowEditor()->Graph()->GraphNodes( i )->GetInNode() ;
138 bool ToProcess = false ;
139 if ( theNode == NULL ) {
143 if ( !strcmp( theNode->Name() , aNode->Name() ) ) {
144 if ( !theNode->IsEndSwitchNode() ) {
148 else if ( theNode->IsEndSwitchNode() ) {
153 for ( j = 0 ; j < aNode->GetNodeInPortsSize() ; j++ ) {
154 GraphBase::InPort * anInPort = NULL ;
155 anInPort = aNode->GetChangeNodeInPort( j ) ;
156 if ( anInputParam == NULL ||
157 !strcmp( anInPort->PortName() , anInputParam ) ) {
158 GraphBase::OutPort * anOutPort = NULL ;
159 anOutPort = anInPort->GetOutPort() ;
160 if ( anOutPort && anOutPort->IsDataStream() ) {
161 if ( strcmp( anOutPort->NodeName() , Name() ) ) {
162 MESSAGE("StreamGraph_Impl::StreamLinks " << anOutPort->NodeName() << "("
163 << anOutPort->PortName() << ") --> " << aNode->Name() << "("
164 << anInPort->PortName() << ")" ) ;
165 if ( theNode == NULL ||
166 ( theNode != NULL && !theNode->IsEndSwitchNode() &&
167 !strcmp( theNode->Name() , aNode->Name() ) ) ) {
168 if ( anInPort->IsLoop() || anOutPort->IsLoop() ||
169 ( aNode->IsEndLoopNode() && !strcmp( aNode->CoupledNode()->Name() ,
170 anOutPort->NodeName() ) ) ) {
171 MESSAGE( "StreamLink " << anOutPort->NodeName() << "("
172 << anOutPort->PortName() << ") --> " << aNode->Name() << "("
173 << anInPort->PortName() << ")" << " ignored" ) ;
175 else if ( CORBA::is_nil( anOutPort->InPortObjRef( anInPort ) ) ) {
177 beginService( "StreamGraph_Impl::StreamLinks" );
180 GraphEditor::InNode * anOutNode = NULL ;
181 anOutNode = (GraphEditor::InNode * ) DataFlowEditor()->Graph()->GetChangeGraphNode( anOutPort->NodeName() )->GetInNode() ;
184 StreamLink_Impl * myStreamLink = new StreamLink_Impl(
185 _Orb , _Poa , _ContId ,
186 instanceName() , interfaceName() ,
189 anInPort->PortName() ,
191 anOutPort->PortName() ,
194 PortableServer::ObjectId * id = myStreamLink->getId() ;
195 CORBA::Object_var obj = _poa->id_to_reference(*id);
196 SUPERV::StreamLink_var iobject ;
197 iobject = SUPERV::StreamLink::_narrow(obj) ;
198 RetVal->length( countlink + 1 ) ;
199 RetVal[ countlink++ ] = SUPERV::StreamLink::_duplicate( iobject ) ;
200 anOutPort->AddInPortObjRef( anInPort , SUPERV::StreamLink::_duplicate( iobject ) ) ;
201 MESSAGE( "Link" << countlink-1 << " "
202 << RetVal[countlink-1]->OutStreamPort()->Node()->Name() << "("
203 << RetVal[countlink-1]->OutStreamPort()->Name() << ") --> "
204 << RetVal[countlink-1]->InStreamPort()->Node()->Name() << "("
205 << RetVal[countlink-1]->InStreamPort()->Name() << ")" ) ;
210 RetVal->length( countlink + 1 ) ;
211 RetVal[ countlink++ ] = SUPERV::StreamLink::_duplicate( SUPERV::StreamLink::_narrow( anOutPort->InPortObjRef( anInPort ) ) ) ;
212 MESSAGE( "Link" << countlink-1 << " "
213 << RetVal[countlink-1]->OutStreamPort()->Node()->Name() << "("
214 << RetVal[countlink-1]->OutStreamPort()->Name() << ") --> "
215 << RetVal[countlink-1]->InStreamPort()->Node()->Name() << "("
216 << RetVal[countlink-1]->InStreamPort()->Name() << ")" ) ;
224 for ( j = 0 ; j < aNode->GetNodeOutPortsSize() ; j++ ) {
225 GraphBase::OutPort * anOutPort = aNode->GetChangeNodeOutPort( j ) ;
227 for ( k = 0 ; k < anOutPort->InPortsSize() ; k++ ) {
228 GraphBase::InPort * anInPort = anOutPort->ChangeInPorts( k ) ;
229 GraphEditor::InNode * toNode = (GraphEditor::InNode * ) DataFlowEditor()->Graph()->GetChangeGraphNode( anInPort->NodeName() )->GetInNode() ;
230 if ( theNode == NULL ||
231 !strcmp( theNode->Name() , aNode->Name() ) ) {
232 if ( anInPort->IsDataStream() ) {
233 if ( theNode || ( toNode->IsEndSwitchNode() && !aNode->IsSwitchNode() ) ) {
234 if ( anInputParam == NULL ||
235 !strcmp( anInPort->PortName() , anInputParam ) ) {
236 MESSAGE( "StreamLink " << anOutPort->NodeName() << "("
237 << anOutPort->PortName() << ") --> " << toNode->Name() << "("
238 << anInPort->PortName() << ")" ) ;
239 MESSAGE( " IOR " << DataFlowEditor()->ObjectToString( anOutPort->InPortObjRef( anInPort ) ) ) ;
240 if ( anInPort->IsLoop() || anOutPort->IsLoop() ||
241 ( toNode->IsEndLoopNode() && !strcmp( toNode->CoupledNode()->Name() ,
242 anOutPort->NodeName() ) ) ) {
243 MESSAGE( "StreamLink " << anOutPort->NodeName() << "("
244 << anOutPort->PortName() << ") --> " << toNode->Name() << "("
245 << anInPort->PortName() << ")" << " ignored" ) ;
247 else if ( CORBA::is_nil( anOutPort->InPortObjRef( anInPort ) ) ) {
249 beginService( "Graph_Impl::StreamLinks" );
253 StreamLink_Impl * myStreamLink = new StreamLink_Impl(
254 _Orb , _Poa , _ContId ,
255 instanceName() , interfaceName() ,
258 anInPort->PortName() ,
260 anOutPort->PortName() ,
263 PortableServer::ObjectId * id = myStreamLink->getId() ;
264 CORBA::Object_var obj = _poa->id_to_reference(*id);
265 SUPERV::StreamLink_var iobject ;
266 iobject = SUPERV::StreamLink::_narrow(obj) ;
267 RetVal->length( countlink + 1 ) ;
268 RetVal[ countlink++ ] = SUPERV::StreamLink::_duplicate( iobject ) ;
269 anOutPort->AddInPortObjRef( anInPort , SUPERV::StreamLink::_duplicate( iobject ) ) ;
270 MESSAGE( "Link" << countlink-1 << " "
271 << RetVal[countlink-1]->OutStreamPort()->Node()->Name() << "("
272 << RetVal[countlink-1]->OutStreamPort()->Name() << ") --> "
273 << RetVal[countlink-1]->InStreamPort()->Node()->Name() << "("
274 << RetVal[countlink-1]->InStreamPort()->Name() << ")" ) ;
278 RetVal->length( countlink + 1 ) ;
279 RetVal[ countlink++ ] = SUPERV::StreamLink::_duplicate( SUPERV::StreamLink::_narrow( anOutPort->InPortObjRef( anInPort ) ) ) ;
280 MESSAGE( "Link" << countlink-1 << " "
281 << RetVal[countlink-1]->OutStreamPort()->Node()->Name() << "("
282 << RetVal[countlink-1]->OutStreamPort()->Name() << ") --> "
283 << RetVal[countlink-1]->InStreamPort()->Node()->Name() << "("
284 << RetVal[countlink-1]->InStreamPort()->Name() << ")" ) ;
288 MESSAGE( "StreamLink " << anOutPort->NodeName() << "("
289 << anOutPort->PortName() << ") --> " << toNode->Name() << "("
290 << anInPort->PortName() << ")" << " skipped" ) ;
299 const char * NodeName = "" ;
300 const char * InputParamName = "" ;
302 NodeName = theNode->Name() ;
304 if ( anInputParam ) {
305 InputParamName = anInputParam ;
307 MESSAGE( RetVal->length() << " StreamLinks of Node " << NodeName << " and of InPort " << InputParamName ) ;
308 for ( i = 0 ; i < (int ) RetVal->length() ; i++ ) {
309 MESSAGE( "Link" << i << " " << RetVal[i]->OutStreamPort()->Node()->Name() << "("
310 << RetVal[i]->OutStreamPort()->Name() << ") --> "
311 << RetVal[i]->InStreamPort()->Node()->Name() << "("
312 << RetVal[i]->InStreamPort()->Name() << ")" ) ;
316 endService( "StreamGraph_Impl::StreamLinks" );
318 return ( RetVal._retn() ) ;
321 bool StreamGraph_Impl::SetStreamParams( const long Timeout ,
322 const SUPERV::KindOfDataStreamTrace DataStreamTrace ,
323 const double DeltaTime ) {
324 return DataFlowEditor()->StreamGraph()->SetStreamParams( Timeout , DataStreamTrace , DeltaTime ) ;
327 void StreamGraph_Impl::StreamParams( long & Timeout ,
328 SUPERV::KindOfDataStreamTrace & DataStreamTrace ,
329 double & DeltaTime ) {
330 DataFlowEditor()->StreamGraph()->StreamParams( Timeout , DataStreamTrace , DeltaTime ) ;
333 long StreamGraph_Impl::SubStreamGraphsNumber() {
334 // beginService( "StreamGraph_Impl::StreamGraphsNumber" );
336 if ( DataFlowEditor()->IsExecutable() ) {
337 RetVal = DataFlowEditor()->SubStreamGraphsNumber() ;
339 // endService( "StreamGraph_Impl::SubStreamGraphsNumber" );
343 SUPERV::ListOfNodes * StreamGraph_Impl::SubStreamGraphsNodes( const long aSubStreamGraphNumber ) {
344 beginService( "StreamGraph_Impl::SubStreamGraphsNodes" );
345 SUPERV::ListOfNodes_var RetVal = new SUPERV::ListOfNodes ;
346 if ( DataFlowEditor()->IsEditing() ) {
347 SUPERV::ListOfNodes * aGraphNodes = Nodes() ;
350 for ( i = 0 ; i < (int ) aGraphNodes->CNodes.length() ; i++ ) {
351 SUPERV::CNode_var aNode = (aGraphNodes->CNodes)[ i ] ;
352 if ( aNode->SubStreamGraph() == aSubStreamGraphNumber ) {
353 RetVal = SetNode( RetVal , DataFlowEditor()->Graph()->GetChangeGraphNode( aNode->Name() ) ) ;
357 for ( i = 0 ; i < (int ) aGraphNodes->FNodes.length() ; i++ ) {
358 SUPERV::FNode_var aNode = (aGraphNodes->FNodes)[ i ] ;
359 if ( aNode->SubStreamGraph() == aSubStreamGraphNumber ) {
360 RetVal = SetNode( RetVal , DataFlowEditor()->Graph()->GetChangeGraphNode( aNode->Name() ) ) ;
364 for ( i = 0 ; i < (int ) aGraphNodes->INodes.length() ; i++ ) {
365 SUPERV::INode_var aNode = (aGraphNodes->INodes)[ i ] ;
366 if ( aNode->SubStreamGraph() == aSubStreamGraphNumber ) {
367 RetVal = SetNode( RetVal , DataFlowEditor()->Graph()->GetChangeGraphNode( aNode->Name() ) ) ;
371 for ( i = 0 ; i < (int ) aGraphNodes->GNodes.length() ; i++ ) {
372 SUPERV::GNode_var aNode = (aGraphNodes->GNodes)[ i ] ;
373 if ( aNode->SubStreamGraph() == aSubStreamGraphNumber ) {
374 RetVal = SetNode( RetVal , DataFlowEditor()->Graph()->GetChangeGraphNode( aNode->Name() ) ) ;
378 for ( i = 0 ; i < (int ) aGraphNodes->LNodes.length() ; i++ ) {
379 SUPERV::LNode_var aNode = (aGraphNodes->LNodes)[ i ] ;
380 if ( aNode->SubStreamGraph() == aSubStreamGraphNumber ) {
381 RetVal = SetNode( RetVal , DataFlowEditor()->Graph()->GetChangeGraphNode( aNode->Name() ) ) ;
385 for ( i = 0 ; i < (int ) aGraphNodes->ELNodes.length() ; i++ ) {
386 SUPERV::ELNode_var aNode = (aGraphNodes->ELNodes)[ i ] ;
387 if ( aNode->SubStreamGraph() == aSubStreamGraphNumber ) {
388 RetVal = SetNode( RetVal , DataFlowEditor()->Graph()->GetChangeGraphNode( aNode->Name() ) ) ;
392 for ( i = 0 ; i < (int ) aGraphNodes->SNodes.length() ; i++ ) {
393 SUPERV::SNode_var aNode = (aGraphNodes->SNodes)[ i ] ;
394 if ( aNode->SubStreamGraph() == aSubStreamGraphNumber ) {
395 RetVal = SetNode( RetVal , DataFlowEditor()->Graph()->GetChangeGraphNode( aNode->Name() ) ) ;
399 for ( i = 0 ; i < (int ) aGraphNodes->ESNodes.length() ; i++ ) {
400 SUPERV::ESNode_var aNode = (aGraphNodes->ESNodes)[ i ] ;
401 if ( aNode->SubStreamGraph() == aSubStreamGraphNumber ) {
402 RetVal = SetNode( RetVal , DataFlowEditor()->Graph()->GetChangeGraphNode( aNode->Name() ) ) ;
406 endService( "StreamGraph_Impl::SubStreamGraphsNodes" );
407 return ( RetVal._retn() ) ;
410 SUPERV::Graph_ptr StreamGraph_Impl::ToFlowGraph() {
411 SUPERV::Graph_var iobject = SUPERV::Graph::_nil() ;
412 beginService( "StreamGraph_Impl::ToFlowGraph" );
413 // Graph_Impl * myFlowGraph = new Graph_Impl( _Orb , _Poa , _ContId ,
414 // instanceName() , interfaceName() ) ;
415 // PortableServer::ObjectId * id = myFlowGraph->getId() ;
416 // CORBA::Object_var obj = _poa->id_to_reference(*id);
417 if ( !CORBA::is_nil( DataFlowEditor()->StreamGraph()->ObjRef() ) ) {
418 iobject = SUPERV::Graph::_narrow( DataFlowEditor()->StreamGraph()->ObjRef() ) ;
420 endService( "StreamGraph_Impl::ToFlowGraph" );
421 return SUPERV::Graph::_duplicate( iobject ) ;
424 bool StreamGraph_Impl::StreamMerge(const SUPERV::StreamGraph_ptr aStreamGraph ) {
425 beginService( "StreamGraph_Impl::StreamMerge" );
426 map< string , int > aMapOfNodes ;
427 bool RetVal = Merge( aStreamGraph , aMapOfNodes ) ;
429 SUPERV::ListOfStreamLinks * aGraphLinks = aStreamGraph->GStreamLinks() ;
430 SUPERV::ListOfStreamPorts * aGraphPorts = aStreamGraph->StreamPorts() ;
431 cout << "Graph_Impl::Merge " << aGraphLinks->length() << " links " << aGraphPorts->length() << " GraphPorts"
434 for ( i = 0 ; i < (int ) aGraphLinks->length() ; i++ ) {
435 SUPERV::StreamLink_var aLink = (*aGraphLinks)[ i ] ;
436 SUPERV::StreamPort_var OutPort = aLink->OutStreamPort() ;
437 SUPERV::StreamPort_var InPort = aLink->InStreamPort() ;
438 string * aLinkFromNodeName = new string( OutPort->Node()->Name() ) ;
439 string * aLinkToNodeName = new string( InPort->Node()->Name() ) ;
440 cout << "Graph_Impl::Merge " << aLinkFromNodeName << "(" << OutPort->Name() << ") ---> "
441 << aLinkToNodeName << "(" << InPort->Name() << ")" << endl ;
442 RetVal = DataFlowEditor()->AddLink( DataFlowEditor()->Graph()->GetGraphNode( aMapOfNodes[ aLinkFromNodeName->c_str() ] )->Name() ,
444 DataFlowEditor()->Graph()->GetGraphNode( aMapOfNodes[ aLinkToNodeName->c_str() ] )->Name() ,
446 cout << "Graph_Impl::Merge " << aLinkFromNodeName << "(" << OutPort->Name() << ") ---> "
447 << aLinkToNodeName << "(" << InPort->Name() << ") RetVal" << RetVal << endl ;
450 for ( j = 1 ; j <= aLink->CoordsSize() ; j++ ) {
452 RetVal = aLink->Coords( j , X , Y ) ;
455 RetVal = DataFlowEditor()->AddLinkCoord( DataFlowEditor()->Graph()->GetGraphNode( aMapOfNodes[ aLinkFromNodeName->c_str() ] )->Name() ,
457 DataFlowEditor()->Graph()->GetGraphNode( aMapOfNodes[ aLinkToNodeName->c_str() ] )->Name() ,
465 delete aLinkFromNodeName ;
466 delete aLinkToNodeName ;
472 for ( i = 0 ; i < (int ) aGraphPorts->length() ; i++ ) {
473 SUPERV::StreamPort_var aPort = (*aGraphPorts)[ i ] ;
474 if ( !aPort->IsGate() ) {
475 MESSAGE( "Graph_Impl::Merge " << i << ". " << aPort->Node()->Name() << " " << aPort->Name() ) ;
476 char * aPortName = aPort->Name() ;
477 char * aNodeName = new char[ strlen( aPortName ) + 1 ] ;
478 strcpy( aNodeName , aPortName ) ;
479 char * thePortName = strchr( aNodeName , '\\' ) ;
480 thePortName[ 0 ] = '\0' ;
481 bool hasinput = aStreamGraph->Node( aNodeName )->Port( thePortName + 1 )->HasInput() ;
482 // cout << "Graph_Impl::Merge " << " aNodeName " << aNodeName << " aPort " << thePortName + 1
483 // << " HasInput " << hasinput << endl ;
485 RetVal = DataFlowEditor()->AddInputData( DataFlowEditor()->StreamGraph()->GetGraphNode( aMapOfNodes[ aNodeName ] )->Name() ,
487 *(aPort->ToAny()) ) ;
489 delete [] aNodeName ;
497 endService( "StreamGraph_Impl::StreamMerge" );