DeletePorts() ;
RetVal = DataFlowEditor()->RemoveNode( Name() ) ;
if ( RetVal ) {
- RetVal = DataFlowEditor()->UnValid() ;
+ DataFlowEditor()->UnValid() ;
}
}
endService( "CNode_Impl::Delete" );
hasinput = DataFlowEditor()->HasInput( anInPort->PortName() ) ;
}
if ( hasinput ) {
- const CORBA::Any * anAny = anInPort->GetOutPort()->Value() ;
+//JR 30.03.2005 const CORBA::Any * anAny = anInPort->GetOutPort()->Value() ;
+ const CORBA::Any anAny = anInPort->GetOutPort()->Value() ;
myPort = new Port_Impl( _Orb , _Poa , _ContId ,
instanceName() , interfaceName() ,
DataFlowEditor() ,
// ServiceParameterName ,
(GraphBase::Port * ) anInPort ,
true ,
- anAny ) ;
+ &anAny ) ;
}
else {
myPort = new Port_Impl( _Orb , _Poa , _ContId ,
beginService( "CNode_Impl::Port" );
begin = false ;
}
- const CORBA::Any * anAny = anOutPort->Value() ;
+//JR 30.03.2005 const CORBA::Any * anAny = anOutPort->Value() ;
+ const CORBA::Any anAny = anOutPort->Value() ;
myPort = new Port_Impl( _Orb , _Poa , _ContId ,
instanceName() , interfaceName() ,
DataFlowEditor() ,
// ServiceParameterName ,
(GraphBase::Port * ) anOutPort ,
false ,
- anAny ) ;
+ &anAny ) ;
PortableServer::ObjectId * id = myPort->getId() ;
CORBA::Object_var obj = _poa->id_to_reference(*id);
iobject = SUPERV::Port::_narrow(obj) ;
if ( anOutPort && !anOutPort->IsDataStream() ) {
Outobject = anOutPort->ObjRef() ;
if ( CORBA::is_nil( Outobject ) ) {
- const CORBA::Any * anAny = anOutPort->Value() ;
+//JR 30.03.2005 const CORBA::Any * anAny = anOutPort->Value() ;
+ const CORBA::Any anAny = anOutPort->Value() ;
myOutPort = new Port_Impl( _Orb , _Poa , _ContId ,
instanceName() , interfaceName() ,
DataFlowEditor() ,
DataFlowNode() ,
(GraphBase::Port * ) anOutPort ,
false ,
- anAny ) ;
+ &anAny ) ;
if ( myOutPort ) {
PortableServer::ObjectId * id = myOutPort->getId() ;
CORBA::Object_var obj = _poa->id_to_reference(*id) ;
if ( anOutPort && anOutPort->IsDataStream() ) {
Outobject = SUPERV::StreamPort::_narrow( anOutPort->ObjRef() ) ;
if ( CORBA::is_nil( Outobject ) ) {
- const CORBA::Any * anAny = anOutPort->Value() ;
+//JR 30.03.2005 const CORBA::Any * anAny = anOutPort->Value() ;
+ const CORBA::Any anAny = anOutPort->Value() ;
myOutStreamPort = new StreamPort_Impl( _Orb , _Poa , _ContId ,
instanceName() , interfaceName() ,
DataFlowEditor() ,
DataFlowNode() ,
(GraphBase::Port * ) anOutPort ,
false ,
- anAny ) ;
+ &anAny ) ;
if ( myOutStreamPort ) {
PortableServer::ObjectId * id = myOutStreamPort->getId() ;
CORBA::Object_var obj = _poa->id_to_reference(*id) ;
// << "/" << anInPort->IsNotConnected() ) ;
Port_Impl * myPort ;
if ( DataFlowNode()->HasInput( anInPort->PortName() ) ) {
- const CORBA::Any * anAny = anInPort->GetOutPort()->Value() ;
+//JR 30.03.2005 const CORBA::Any * anAny = anInPort->GetOutPort()->Value() ;
+ const CORBA::Any anAny = anInPort->GetOutPort()->Value() ;
myPort = new Port_Impl( _Orb , _Poa , _ContId ,
instanceName() , interfaceName() ,
DataFlowEditor() ,
DataFlowNode() ,
(GraphBase::Port * ) anInPort ,
true ,
- anAny ) ;
+ &anAny ) ;
}
else {
myPort = new Port_Impl( _Orb , _Poa , _ContId ,
}
else if ( CORBA::is_nil( anOutPort->ObjRef() ) ) {
// MESSAGE( "OutPort " << i << " " << anOutPort->PortName() << " of Node " << Name() ) ;
- const CORBA::Any * anAny = anOutPort->Value() ;
+//JR 30.03.2005 const CORBA::Any * anAny = anOutPort->Value() ;
+ const CORBA::Any anAny = anOutPort->Value() ;
Port_Impl * myPort = new Port_Impl( _Orb , _Poa , _ContId ,
instanceName() , interfaceName() ,
DataFlowEditor() ,
DataFlowNode() ,
(GraphBase::Port * ) anOutPort ,
false ,
- anAny ) ;
+ &anAny ) ;
PortableServer::ObjectId * id = myPort->getId() ;
CORBA::Object_var obj = _poa->id_to_reference(*id);
SUPERV::Port_var iobject ;
}
Port_Impl * myPort ;
if ( anOutPort->IsDataConnected() ) {
- const CORBA::Any * anAny = anOutPort->Value() ;
+//JR 30.03.2005 const CORBA::Any * anAny = anOutPort->Value() ;
+ const CORBA::Any anAny = anOutPort->Value() ;
myPort = new Port_Impl( _Orb , _Poa , _ContId ,
instanceName() , interfaceName() ,
DataFlowEditor() ,
DataFlowNode() ,
(GraphBase::Port * ) anOutPort ,
true ,
- anAny ) ;
+ &anAny ) ;
}
else {
myPort = new Port_Impl( _Orb , _Poa , _ContId ,
}
Port_Impl * myPort ;
if ( anInPort->IsDataConnected() ) {
- const CORBA::Any * anAny = anInPort->GetOutPort()->Value() ;
+//JR 30.03.2005 const CORBA::Any * anAny = anInPort->GetOutPort()->Value() ;
+ const CORBA::Any anAny = anInPort->GetOutPort()->Value() ;
myPort = new Port_Impl( _Orb , _Poa , _ContId ,
instanceName() , interfaceName() ,
DataFlowEditor() ,
DataFlowNode() ,
(GraphBase::Port * ) anInPort ,
false ,
- anAny ) ;
+ &anAny ) ;
}
else {
myPort = new Port_Impl( _Orb , _Poa , _ContId ,
<< "/" << anInPort->IsNotConnected() ) ;
StreamPort_Impl * myStreamPort ;
if ( DataFlowNode()->HasInput( anInPort->PortName() ) ) {
- const CORBA::Any * anAny = anInPort->GetOutPort()->Value() ;
+//JR 30.03.2005 const CORBA::Any * anAny = anInPort->GetOutPort()->Value() ;
+ const CORBA::Any anAny = anInPort->GetOutPort()->Value() ;
myStreamPort = new StreamPort_Impl( _Orb , _Poa , _ContId ,
instanceName() , interfaceName() ,
DataFlowEditor() ,
DataFlowNode() ,
(GraphBase::Port * ) anInPort ,
true ,
- anAny ) ;
+ &anAny ) ;
}
else {
myStreamPort = new StreamPort_Impl( _Orb , _Poa , _ContId ,
}
else if ( CORBA::is_nil( anOutPort->ObjRef() ) ) {
MESSAGE( "OutStreamPort " << i << " " << anOutPort->PortName() << " of Node " << Name() ) ;
- const CORBA::Any * anAny = anOutPort->Value() ;
+//JR 30.03.2005 const CORBA::Any * anAny = anOutPort->Value() ;
+ const CORBA::Any anAny = anOutPort->Value() ;
StreamPort_Impl * myStreamPort = new StreamPort_Impl( _Orb , _Poa , _ContId ,
instanceName() , interfaceName() ,
DataFlowEditor() ,
DataFlowNode() ,
(GraphBase::Port * ) anOutPort ,
false ,
- anAny ) ;
+ &anAny ) ;
PortableServer::ObjectId * id = myStreamPort->getId() ;
CORBA::Object_var obj = _poa->id_to_reference(*id);
SUPERV::StreamPort_var iobject ;
}
StreamPort_Impl * myStreamPort ;
if ( anOutPort->IsDataConnected() ) {
- const CORBA::Any * anAny = anOutPort->Value() ;
+//JR 30.03.2005 const CORBA::Any * anAny = anOutPort->Value() ;
+ const CORBA::Any anAny = anOutPort->Value() ;
myStreamPort = new StreamPort_Impl( _Orb , _Poa , _ContId ,
instanceName() , interfaceName() ,
DataFlowEditor() ,
DataFlowNode() ,
(GraphBase::Port * ) anOutPort ,
true ,
- anAny ) ;
+ &anAny ) ;
}
else {
myStreamPort = new StreamPort_Impl( _Orb , _Poa , _ContId ,
}
StreamPort_Impl * myStreamPort ;
if ( anInPort->IsDataConnected() ) {
- const CORBA::Any * anAny = anInPort->GetOutPort()->Value() ;
+//JR 30.03.2005 const CORBA::Any * anAny = anInPort->GetOutPort()->Value() ;
+ const CORBA::Any anAny = anInPort->GetOutPort()->Value() ;
myStreamPort = new StreamPort_Impl( _Orb , _Poa , _ContId ,
instanceName() , interfaceName() ,
DataFlowEditor() ,
DataFlowNode() ,
(GraphBase::Port * ) anInPort ,
false ,
- anAny ) ;
+ &anAny ) ;
}
else {
myStreamPort = new StreamPort_Impl( _Orb , _Poa , _ContId ,