Package jmri.jmrix.internal
Class InternalConsistManager
java.lang.Object
jmri.implementation.AbstractConsistManager
jmri.jmrix.internal.InternalConsistManager
- All Implemented Interfaces:
ConsistManager
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 command station consist require a separate consist address from locomotives in consist?booleanDoes this implementation support Command Station Consists?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
-
InternalConsistManager
public InternalConsistManager()
-
-
Method Details
-
isCommandStationConsistPossible
Does this implementation support Command Station Consists?- Returns:
- true if command station consists are supported; false otherwise
-
csConsistNeedsSeperateAddress
Does a command station consist require a separate consist address from locomotives in consist?- Returns:
- true is command station consist requires separate address; false otherwise
-
addConsist
Add 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
-