jmri.jmrix.loconet.pr3
Class PR3SystemConnectionMemo

Show UML class diagram
java.lang.Object
  extended by jmri.jmrix.SystemConnectionMemo
      extended by jmri.jmrix.loconet.LocoNetSystemConnectionMemo
          extended by jmri.jmrix.loconet.pr3.PR3SystemConnectionMemo

public class PR3SystemConnectionMemo
extends LocoNetSystemConnectionMemo

Lightweight class to denote that a PR3 is active


Field Summary
(package private) static org.slf4j.Logger log
           
(package private)  int mode
           
(package private) static int MS100MODE
           
(package private) static int PR3MODE
           
 
Fields inherited from class jmri.jmrix.loconet.LocoNetSystemConnectionMemo
clockControl, lightManager, mTurnoutExtraSpace, mTurnoutNoRetry, powerManager, reporterManager, sensorManager, throttleManager, tm, turnoutManager
 
Fields inherited from class jmri.jmrix.SystemConnectionMemo
sysPrefixes, userNames
 
Constructor Summary
PR3SystemConnectionMemo()
           
PR3SystemConnectionMemo(LnTrafficController lt, SlotManager sm)
           
 
Method Summary
 void configureManagersMS100()
          Configure the subset of LocoNet managers valid for the PR3 in MS100 mode.
 void configureManagersPR2()
          Configure the subset of LocoNet managers valid for the PR3 in PR2 mode.
 void dispose()
           
<T> T
get(Class<?> T)
          Does this connection provide a manager of this type?
 LnPowerManager getPowerManager()
           
 ThrottleManager getThrottleManager()
           
 boolean provides(Class<?> type)
          Tells which managers this provides by class
 
Methods inherited from class jmri.jmrix.loconet.LocoNetSystemConnectionMemo
configureCommandStation, configureManagers, getActionModelResourceBundle, getClockControl, getConsistManager, getLightManager, getLnMessageManager, getLnTrafficController, getProgrammerManager, getReporterManager, getSensorManager, getSlotManager, getTurnoutManager, setLnTrafficController, setProgrammerManager, setSlotManager, setThrottleManager
 
Methods inherited from class jmri.jmrix.SystemConnectionMemo
addPropertyChangeListener, addToActionList, getDisabled, getSystemPrefix, getUserName, notifyPropertyChangeListener, register, removeFromActionList, removePropertyChangeListener, setDisabled, setSystemPrefix, setUserName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PR3MODE

static final int PR3MODE
See Also:
Constant Field Values

MS100MODE

static final int MS100MODE
See Also:
Constant Field Values

mode

int mode

log

static org.slf4j.Logger log
Constructor Detail

PR3SystemConnectionMemo

public PR3SystemConnectionMemo(LnTrafficController lt,
                               SlotManager sm)

PR3SystemConnectionMemo

public PR3SystemConnectionMemo()
Method Detail

get

public <T> T get(Class<?> T)
Description copied from class: SystemConnectionMemo
Does this connection provide a manager of this type?

Overrides:
get in class LocoNetSystemConnectionMemo

configureManagersPR2

public void configureManagersPR2()
Configure the subset of LocoNet managers valid for the PR3 in PR2 mode.


getThrottleManager

public ThrottleManager getThrottleManager()
Overrides:
getThrottleManager in class LocoNetSystemConnectionMemo

provides

public boolean provides(Class<?> type)
Description copied from class: LocoNetSystemConnectionMemo
Tells which managers this provides by class

Overrides:
provides in class LocoNetSystemConnectionMemo

getPowerManager

public LnPowerManager getPowerManager()
Overrides:
getPowerManager in class LocoNetSystemConnectionMemo

configureManagersMS100

public void configureManagersMS100()
Configure the subset of LocoNet managers valid for the PR3 in MS100 mode.


dispose

public void dispose()
Overrides:
dispose in class LocoNetSystemConnectionMemo


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