#include #include // ------------------------------------------------------------------------- void cpPluginsGenericFilters::DataReproducer:: AddInput( const std::string& n, cpPlugins::BaseObjects::DataObject* o ) { this->Superclass::AddInput( n, o ); auto out = dynamic_cast< cpPlugins::BaseObjects::OutputPort* >( this->m_Outputs.find( "Output" )->second ); out->Set( o ); } // ------------------------------------------------------------------------- void cpPluginsGenericFilters::DataReproducer:: SetInput( const std::string& n, cpPlugins::BaseObjects::DataObject* o ) { this->Superclass::SetInput( n, o ); auto out = dynamic_cast< cpPlugins::BaseObjects::OutputPort* >( this->m_Outputs.find( "Output" )->second ); out->Set( o ); } // ------------------------------------------------------------------------- cpPluginsGenericFilters::DataReproducer:: DataReproducer( ) : Superclass( ) { this->_ConfigureInput( "Input", true, false ); this->_ConfigureOutput( "Output" ); } // ------------------------------------------------------------------------- cpPluginsGenericFilters::DataReproducer:: ~DataReproducer( ) { } // ------------------------------------------------------------------------- void cpPluginsGenericFilters::DataReproducer:: _GenerateData( ) { } // eof - $RCSfile$