+// -------------------------------------------------------------------------
+const cpPlugins::Interface::Workspace::
+TExposedPorts& cpPlugins::Interface::Workspace::
+GetExposedInputPorts( ) const
+{
+ return( this->m_ExposedInputPorts );
+}
+
+// -------------------------------------------------------------------------
+const cpPlugins::Interface::Workspace::
+TExposedPorts& cpPlugins::Interface::Workspace::
+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( );
+}
+*/
+