X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=inline;f=lib%2FcpPlugins%2FInterface%2FWorkspace.h;h=919233f40fb0e4a60630bef7c23c7cba559ec8c3;hb=6885cd42cb7981803efb5c27c0a1a761084dc31c;hp=c11d1554b5071939cf37dd2fcac61b522483f579;hpb=3f6669acc6485e724c4ff79620e4de0f8c26734c;p=cpPlugins.git diff --git a/lib/cpPlugins/Interface/Workspace.h b/lib/cpPlugins/Interface/Workspace.h index c11d155..919233f 100644 --- a/lib/cpPlugins/Interface/Workspace.h +++ b/lib/cpPlugins/Interface/Workspace.h @@ -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;