jmri.jmrix.nce
Class NceConsistManager

Show UML class diagram
java.lang.Object
  extended by jmri.jmrix.AbstractConsistManager
      extended by jmri.jmrix.nce.NceConsistManager
All Implemented Interfaces:
ConsistManager

public class NceConsistManager
extends AbstractConsistManager
implements ConsistManager


Nested Class Summary
 class NceConsistManager.NceConsistReader
           
 
Field Summary
(package private) static org.slf4j.Logger log
           
 
Fields inherited from class jmri.jmrix.AbstractConsistManager
consistList, consistTable
 
Constructor Summary
NceConsistManager(NceSystemConnectionMemo m)
           
 
Method Summary
 Consist addConsist(DccLocoAddress locoAddress)
          Add a new NceConsist with the given address to consistTable/consistList
 boolean csConsistNeedsSeperateAddress()
          Does a CS consist require a separate consist address?
 void delConsist(DccLocoAddress locoAddress)
          Remove an old Consist
 Consist getConsist(DccLocoAddress locoAddress)
          Find a Consist with this consist address, and return it.
 boolean isCommandStationConsistPossible()
          This implementation does not support command station assisted consists, so return false.
 void requestUpdateFromLayout()
           
 void startConsistReader()
           
 
Methods inherited from class jmri.jmrix.AbstractConsistManager
addConsistListListener, decodeErrorCode, getConsistList, notifyConsistListChanged, removeConsistListListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jmri.ConsistManager
addConsistListListener, decodeErrorCode, getConsistList, notifyConsistListChanged, removeConsistListListener
 

Field Detail

log

static org.slf4j.Logger log
Constructor Detail

NceConsistManager

public NceConsistManager(NceSystemConnectionMemo m)
Method Detail

requestUpdateFromLayout

public void requestUpdateFromLayout()
Specified by:
requestUpdateFromLayout in interface ConsistManager
Overrides:
requestUpdateFromLayout in class AbstractConsistManager

isCommandStationConsistPossible

public boolean isCommandStationConsistPossible()
This implementation does not support command station assisted consists, so return false.

Specified by:
isCommandStationConsistPossible in interface ConsistManager
Specified by:
isCommandStationConsistPossible in class AbstractConsistManager

csConsistNeedsSeperateAddress

public boolean csConsistNeedsSeperateAddress()
Does a CS consist require a separate consist address?

Specified by:
csConsistNeedsSeperateAddress in interface ConsistManager
Specified by:
csConsistNeedsSeperateAddress in class AbstractConsistManager

addConsist

public Consist addConsist(DccLocoAddress locoAddress)
Add a new NceConsist with the given address to consistTable/consistList

Specified by:
addConsist in class AbstractConsistManager

getConsist

public Consist getConsist(DccLocoAddress locoAddress)
Description copied from class: AbstractConsistManager
Find a Consist with this consist address, and return it.

Specified by:
getConsist in interface ConsistManager
Overrides:
getConsist in class AbstractConsistManager

delConsist

public void delConsist(DccLocoAddress locoAddress)
Description copied from interface: ConsistManager
Remove an old Consist

Specified by:
delConsist in interface ConsistManager
Overrides:
delConsist in class AbstractConsistManager

startConsistReader

public void startConsistReader()


Copyright © 1997-2013 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads