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