Package jmri.jmrix.loconet.pr2
Class PR2SystemConnectionMemo
- java.lang.Object
-
- jmri.beans.UnboundBean
-
- jmri.beans.Bean
-
- jmri.jmrix.DefaultSystemConnectionMemo
-
- jmri.jmrix.loconet.LocoNetSystemConnectionMemo
-
- jmri.jmrix.loconet.pr2.PR2SystemConnectionMemo
-
- All Implemented Interfaces:
BeanInterface
,PropertyChangeFirer
,PropertyChangeProvider
,Disposable
,ConfiguringSystemConnectionMemo
,SystemConnectionMemo
public class PR2SystemConnectionMemo extends LocoNetSystemConnectionMemo
Lightweight class to denote that a PR2 is active
-
-
Field Summary
-
Fields inherited from class jmri.jmrix.loconet.LocoNetSystemConnectionMemo
mInterrogateAtStart, mTurnoutExtraSpace, mTurnoutNoRetry, predefinedMeters, tm
-
Fields inherited from class jmri.jmrix.DefaultSystemConnectionMemo
classObjectMap
-
Fields inherited from class jmri.beans.Bean
propertyChangeSupport
-
Fields inherited from interface jmri.SystemConnectionMemo
DEREGISTER, DISABLED, INTERVAL, STORE, SYSTEM_PREFIX, USER_NAME
-
-
Constructor Summary
Constructors Constructor Description PR2SystemConnectionMemo()
PR2SystemConnectionMemo(LnTrafficController lt, SlotManager sm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configureManagers()
Configure the subset of LocoNet managers valid for the PR2.void
dispose()
Dispose of System Connection.LnPr2PowerManager
getPowerPr2Manager()
LnPr2ThrottleManager
getPr2ThrottleManager()
-
Methods inherited from class jmri.jmrix.loconet.LocoNetSystemConnectionMemo
configureCommandStation, getActionModelResourceBundle, getCabSignalManager, getClockControl, getIdTagManager, getLightManager, getLn7gAccyRoutesManager, getLncvDevicesManager, getLnMessageManager, getLnTrafficController, getNamedBeanComparator, getPowerManager, getPredefinedMeters, getProgrammerManager, getReporterManager, getSensorManager, getSlotManager, getStringIOManager, getThrottleManager, getThrottleStringIO, getTurnoutManager, register, setLn7gAccyRoutesManager, setLncvDevicesManager, setLnTrafficController, setProgrammerManager, setThrottleManager
-
Methods inherited from class jmri.jmrix.DefaultSystemConnectionMemo
deregister, get, getActionFactory, getConsistManager, getDefaultOutputInterval, getDisabled, getOutputInterval, getSystemPrefix, getUserName, isDirty, isRestartRequired, provides, setConsistManager, setDisabled, setOutputInterval, setSystemPrefix, setUserName, store
-
Methods inherited from class jmri.beans.Bean
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, isNotifyOnEDT, removePropertyChangeListener, removePropertyChangeListener
-
Methods inherited from class jmri.beans.UnboundBean
getIndexedProperty, getProperty, getPropertyNames, hasIndexedProperty, hasProperty, setIndexedProperty, setProperty
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jmri.beans.PropertyChangeProvider
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
-
Methods inherited from interface jmri.SystemConnectionMemo
get, getActionFactory, getDefaultOutputInterval, getDisabled, getOutputInterval, getSystemPrefix, getUserName, isDirty, isRestartRequired, provides, setDisabled, setOutputInterval, setSystemPrefix, setUserName
-
-
-
-
Constructor Detail
-
PR2SystemConnectionMemo
public PR2SystemConnectionMemo(LnTrafficController lt, SlotManager sm)
-
PR2SystemConnectionMemo
public PR2SystemConnectionMemo()
-
-
Method Detail
-
configureManagers
public void configureManagers()
Configure the subset of LocoNet managers valid for the PR2.- Specified by:
configureManagers
in interfaceConfiguringSystemConnectionMemo
- Overrides:
configureManagers
in classLocoNetSystemConnectionMemo
-
getPowerPr2Manager
public LnPr2PowerManager getPowerPr2Manager()
-
getPr2ThrottleManager
public LnPr2ThrottleManager getPr2ThrottleManager()
-
dispose
public void dispose()
Description copied from class:DefaultSystemConnectionMemo
Dispose of System Connection.Removes objects from classObjectMap after calling dispose if Disposable. Removes these objects from InstanceManager.
- Specified by:
dispose
in interfaceDisposable
- Specified by:
dispose
in interfaceSystemConnectionMemo
- Overrides:
dispose
in classLocoNetSystemConnectionMemo
-
-