@@ -82,6 +82,11 @@ namespace Networks {
8282 virtual size_t num_input_ports () const override final ;
8383 virtual size_t num_output_ports () const override final ;
8484
85+ // override this for modules that changed packages, to point to correct wiki page
86+ virtual std::string legacyPackageName () const { return get_packagename (); }
87+ // override this for modules that changed names, to point to correct wiki page
88+ virtual std::string legacyModuleName () const { return get_module_name (); }
89+
8590 virtual bool hasInputPort (const PortId& id) const override final ;
8691 virtual bool hasOutputPort (const PortId& id) const override final ;
8792 virtual InputPortHandle getInputPort (const PortId& id) override final ;
@@ -113,9 +118,6 @@ namespace Networks {
113118 protected:
114119 virtual void send_output_handle (const PortId& id, Core::Datatypes::DatatypeHandle data) override final ;
115120
116- // override this for modules that changed packages, to point to correct wiki page
117- virtual std::string legacyPackageName () const { return get_packagename (); }
118-
119121 public:
120122 virtual void setLogger (Core::Logging::LoggerHandle log) override final ;
121123 virtual Core::Logging::LoggerHandle getLogger () const override final ;
@@ -1017,7 +1019,10 @@ namespace Modules
10171019 }
10181020 };
10191021
1020- #define LEGACY_BIOPSE_MODULE protected: virtual std::string legacyPackageName () const override { return " BioPSE" ; }
1022+ #define LEGACY_BIOPSE_MODULE public: virtual std::string legacyPackageName () const override { return " BioPSE" ; }
1023+ #define LEGACY_MATLAB_MODULE public: virtual std::string legacyPackageName () const override { return " MatlabInterface" ; }
1024+ #define CONVERTED_VERSION_OF_MODULE (modName ) public: virtual std::string legacyModuleName () const override { return #modName; }
1025+
10211026}
10221027}
10231028
0 commit comments