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 )