1 #include <plugins/GenericFilters/DataReproducer.h>
2 #include <cpPlugins/BaseObjects/DataObject.h>
4 // -------------------------------------------------------------------------
5 void cpPluginsGenericFilters::DataReproducer::
6 AddInput( const std::string& n, cpPlugins::BaseObjects::DataObject* o )
8 this->Superclass::AddInput( n, o );
10 dynamic_cast< cpPlugins::BaseObjects::OutputPort* >(
11 this->m_Outputs.find( "Output" )->second
16 // -------------------------------------------------------------------------
17 void cpPluginsGenericFilters::DataReproducer::
18 SetInput( const std::string& n, cpPlugins::BaseObjects::DataObject* o )
20 this->Superclass::SetInput( n, o );
22 dynamic_cast< cpPlugins::BaseObjects::OutputPort* >(
23 this->m_Outputs.find( "Output" )->second
28 // -------------------------------------------------------------------------
29 cpPluginsGenericFilters::DataReproducer::
33 this->_ConfigureInput( "Input", true, false );
34 this->_ConfigureOutput( "Output" );
37 // -------------------------------------------------------------------------
38 cpPluginsGenericFilters::DataReproducer::
43 // -------------------------------------------------------------------------
44 void cpPluginsGenericFilters::DataReproducer::