]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/Workspace.cxx
...
[cpPlugins.git] / lib / cpPlugins / Interface / Workspace.cxx
index 022f9faa0babc181feed2ff42cce0468cb5cbcd2..67eaf0a677b3937809c3f5431fc9023a68aea909 100644 (file)
@@ -292,58 +292,6 @@ GetExposedOutputPorts( ) const
   return( this->m_ExposedOutputPorts );
 }
 
-// -------------------------------------------------------------------------
-/* TODO
-cpPlugins::Interface::Workspace::
-TData* cpPlugins::Interface::Workspace::
-GetOutput( const std::string& name )
-{
-  auto port = this->m_ExposedOutputPorts.find( name );
-  if( port != this->m_ExposedOutputPorts.end( ) )
-  {
-    TFilter* f = this->GetFilter( port->second.first );
-    if( f != NULL )
-      return( f->GetOutput< TData >( port->second.second ) );
-    else
-      return( NULL );
-  }
-  else
-    return( NULL );
-}
-
-// -------------------------------------------------------------------------
-const cpPlugins::Interface::Workspace::
-TData* cpPlugins::Interface::Workspace::
-GetOutput( const std::string& name ) const
-{
-  auto port = this->m_ExposedOutputPorts.find( name );
-  if( port != this->m_ExposedOutputPorts.end( ) )
-  {
-    const TFilter* f = this->GetFilter( port->second.first );
-    if( f != NULL )
-      return( f->GetOutput< TData >( port->second.second ) );
-    else
-      return( NULL );
-  }
-  else
-    return( NULL );
-}
-
-// -------------------------------------------------------------------------
-void cpPlugins::Interface::Workspace::
-ClearInputPorts( )
-{
-  this->m_ExposedInputPorts.clear( );
-}
-
-// -------------------------------------------------------------------------
-void cpPlugins::Interface::Workspace::
-ClearOutputPorts( )
-{
-  this->m_ExposedOutputPorts.clear( );
-}
-*/
-
 // -------------------------------------------------------------------------
 std::string cpPlugins::Interface::Workspace::
 Execute( QWidget* p )