jmri.jmrix.can.cbus
Class CbusTurnoutManager

java.lang.Object
  extended by jmri.implementation.AbstractManager
      extended by jmri.managers.AbstractTurnoutManager
          extended by jmri.jmrix.can.cbus.CbusTurnoutManager
All Implemented Interfaces:
PropertyChangeListener, EventListener, Manager, TurnoutManager

public class CbusTurnoutManager
extends AbstractTurnoutManager

CAN CBUS implementation of a TurnoutManager.

Turnouts must be manually created.

Since:
2.3.1
Author:
Bob Jacobsen Copyright (C) 2008

Field Summary
 
Fields inherited from class jmri.implementation.AbstractManager
_tsys, _tuser
 
Constructor Summary
CbusTurnoutManager()
           
 
Method Summary
protected  Turnout createNewTurnout(String systemName, String userName)
          Internal method to invoke the factory, after all the logic for returning an existing method has been invoked.
 char systemLetter()
           
 
Methods inherited from class jmri.managers.AbstractTurnoutManager
askControlType, askNumControlBits, getBySystemName, getByUserName, getClosedText, getThrownText, getTurnout, getValidOperationTypes, newTurnout, provideTurnout, typeLetter
 
Methods inherited from class jmri.implementation.AbstractManager
addPropertyChangeListener, deregister, dispose, firePropertyChange, getInstanceBySystemName, getInstanceByUserName, getSystemNameArray, getSystemNameList, makeSystemName, propertyChange, register, registerSelf, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jmri.TurnoutManager
getSystemNameList
 
Methods inherited from interface jmri.Manager
addPropertyChangeListener, deregister, dispose, getSystemNameArray, makeSystemName, register, removePropertyChangeListener
 

Constructor Detail

CbusTurnoutManager

public CbusTurnoutManager()
Method Detail

systemLetter

public char systemLetter()
Returns:
The system-specific prefix letter for a specific implementation

createNewTurnout

protected Turnout createNewTurnout(String systemName,
                                   String userName)
Internal method to invoke the factory, after all the logic for returning an existing method has been invoked.

Specified by:
createNewTurnout in class AbstractTurnoutManager
Returns:
never null


Copyright © 1997 - 2009 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