X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=plugins%2FGenericFilters%2FDataReproducer.cxx;fp=plugins%2FGenericFilters%2FDataReproducer.cxx;h=0000000000000000000000000000000000000000;hb=410a1d0bf36fb01148880c034973308e4600ffda;hp=11988f2b77f5aa8ef99f9f5d090fcb29aef1bca0;hpb=f1747c7248d5eead5ea9d7e57bda0b081bcef065;p=cpPlugins.git diff --git a/plugins/GenericFilters/DataReproducer.cxx b/plugins/GenericFilters/DataReproducer.cxx deleted file mode 100644 index 11988f2..0000000 --- a/plugins/GenericFilters/DataReproducer.cxx +++ /dev/null @@ -1,49 +0,0 @@ -#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$