Package jmri.implementation
Class NmraConsistManager
java.lang.Object
jmri.implementation.AbstractConsistManager
jmri.implementation.NmraConsistManager
- All Implemented Interfaces:
ConsistManager
- Direct Known Subclasses:
CbusConsistManager,WiFiConsistManager
Default Consist Manager which uses the NmraConsist class for
the consists it builds
-
Nested Class Summary
Nested classes/interfaces inherited from interface jmri.ConsistManager
ConsistManager.EnableListener -
Field Summary
Fields inherited from class jmri.implementation.AbstractConsistManager
consistTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConsist(LocoAddress address) Add a new Consist with the given address.booleanDoes a CS consist require a separate consist address?booleanThis implementation does NOT support Command Station consists, so return false.Methods inherited from class jmri.implementation.AbstractConsistManager
addConsistListListener, decodeErrorCode, delConsist, getConsist, getConsistList, notifyConsistListChanged, removeConsistListListener, requestUpdateFromLayout, shouldRequestUpdateFromLayoutMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jmri.ConsistManager
canBeDisabled, isAdvancedConsistPossible, isEnabled, isSingleFormConsistRequired, registerEnableListener, unregisterEnableListener
-
Constructor Details
-
NmraConsistManager
-
-
Method Details
-
addConsist
Description copied from class:AbstractConsistManagerAdd a new Consist with the given address.- Specified by:
addConsistin classAbstractConsistManager- Parameters:
address- consist address- Returns:
- a consist at address; this will be the existing consist if a consist is already known to exist at address
-
isCommandStationConsistPossible
This implementation does NOT support Command Station consists, so return false.- Returns:
- true if command station consists are supported; false otherwise
-
csConsistNeedsSeperateAddress
Does a CS consist require a separate consist address? This implementation does not support Command Station consists, so return false- Returns:
- true is command station consist requires separate address; false otherwise
-