Class BasicSpeedMatcherFactory
- java.lang.Object
-
- jmri.jmrix.bachrus.speedmatcher.basic.BasicSpeedMatcherFactory
-
public class BasicSpeedMatcherFactory extends java.lang.Object
Factory for creating the correct type of Basic speed matcher for the given SpeedMatcherConfig
-
-
Constructor Summary
Constructors Constructor Description BasicSpeedMatcherFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SpeedMatcher
getSpeedMatcher(BasicSpeedMatcherConfig.SpeedTable speedTable, BasicSpeedMatcherConfig config)
Gets the correct Basic Speed Matcher for the given speedTable
-
-
-
Constructor Detail
-
BasicSpeedMatcherFactory
public BasicSpeedMatcherFactory()
-
-
Method Detail
-
getSpeedMatcher
public static SpeedMatcher getSpeedMatcher(BasicSpeedMatcherConfig.SpeedTable speedTable, BasicSpeedMatcherConfig config)
Gets the correct Basic Speed Matcher for the given speedTable- Parameters:
speedTable
- BasicSpeedMatcherConfig.SpeedTable to use for speed matchingconfig
- BasicSpeedMatcherConfig for initializing the speed matcher- Returns:
- the SpeedMatcher to use for speed matching
-
-