]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/Workspace.h
...
[cpPlugins.git] / lib / cpPlugins / Interface / Workspace.h
index c11d1554b5071939cf37dd2fcac61b522483f579..919233f40fb0e4a60630bef7c23c7cba559ec8c3 100644 (file)
@@ -60,7 +60,7 @@ namespace cpPlugins
         const std::string& output_name,
         const std::string& input_name
         );
-      bool Connect( const std::string& i, const std::string& o );
+      bool Connect( TData* input_object, const std::string& input_name );
       TParameters* GetParameters( const std::string& name );
       const TParameters* GetParameters( const std::string& name ) const;
       TFilter* GetFilter( const std::string& name );
@@ -77,6 +77,8 @@ namespace cpPlugins
         const std::string& name,
         const std::string& filter, const std::string& filter_output
         );
+      TData* GetOutput( const std::string& name );
+      const TData* GetOutput( const std::string& name ) const;
       void ClearInputPorts( );
       void ClearOutputPorts( );
 
@@ -84,9 +86,6 @@ namespace cpPlugins
       std::string Execute( );
       std::string Execute( const std::string& name, QWidget* p = NULL );
 
-    protected:
-      void _UpdateLoadedPluginsInformation( );
-
     protected:
       // Plugins interface
       TInterface* m_Interface;