Mercurial > hg > svcore
comparison plugin/RealTimePluginInstance.h @ 1580:c01cbe41aeb5 fix-static-analysis
Use override throughout
author | Chris Cannam |
---|---|
date | Mon, 26 Nov 2018 13:48:45 +0000 |
parents | 48e9f538e6e9 |
children | ad5f892c0c4d |
comparison
equal
deleted
inserted
replaced
1579:232d6ddf257d | 1580:c01cbe41aeb5 |
---|---|
134 virtual void discardEvents() { } | 134 virtual void discardEvents() { } |
135 virtual void setIdealChannelCount(int channels) = 0; // must also silence(); may also re-instantiate | 135 virtual void setIdealChannelCount(int channels) = 0; // must also silence(); may also re-instantiate |
136 | 136 |
137 void setFactory(RealTimePluginFactory *f) { m_factory = f; } // ew | 137 void setFactory(RealTimePluginFactory *f) { m_factory = f; } // ew |
138 | 138 |
139 virtual std::string getType() const { return "Real-Time Plugin"; } | 139 std::string getType() const override { return "Real-Time Plugin"; } |
140 | 140 |
141 typedef std::map<std::string, std::string> ConfigurationPairMap; | 141 typedef std::map<std::string, std::string> ConfigurationPairMap; |
142 virtual ConfigurationPairMap getConfigurePairs() { | 142 virtual ConfigurationPairMap getConfigurePairs() { |
143 return m_configurationData; | 143 return m_configurationData; |
144 } | 144 } |