Package jmri.jmrix.openlcb
Class OlcbConfigurationManager
java.lang.Object
jmri.jmrix.can.ConfigurationManager
jmri.jmrix.openlcb.OlcbConfigurationManager
Does configuration for OpenLCB communications implementations.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) class(package private) class(package private) classState machine to handle startupNested classes/interfaces inherited from class jmri.jmrix.can.ConfigurationManager
ConfigurationManager.ProgModeSwitch, ConfigurationManager.SubProtocol -
Field Summary
FieldsModifier and TypeFieldDescription(package private) AliasMap(package private) final ComponentFactory(package private) OlcbClockControlprotected OlcbCommandStationprotected OlcbLightManager(package private) LoaderClient(package private) MessageBuilderprotected OlcbMeterManager(package private) NodeID(package private) CanInterface(package private) OlcbEventNameStorestatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected OlcbPowerManagerprotected OlcbProgrammerManagerprotected OlcbReporterManagerprotected OlcbSensorManagerprotected OlcbStringIOManager(package private) TrafficControllerprotected OlcbThrottleManagerprotected OlcbTurnoutManagerFields inherited from class jmri.jmrix.can.ConfigurationManager
adapterMemo, MERGCBUS, OPENLCB, RAWCAN, SPROGCBUS, TEST -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid(package private) static OpenLcbCanFrameconvertFromCan(CanFrame message) (package private) static CanMessagestatic CanInterfacecreateOlcbCanInterface(NodeID nodeID, TrafficController tc) voiddispose()Dispose of the ConfigurationManager<T> Tprotected ResourceBundle(package private) OlcbInterfaceprotected voidCreate a node ID in the JMRI range from one byte of IP address, and 2 bytes of PID.protected longgetProcessId(long fallback) booleanCheck if a type of manager is provided by this manager.Methods inherited from class jmri.jmrix.can.ConfigurationManager
getSystemOptions, setMERG, setOpenLCB, setSPROG
-
Field Details
-
OPT_PROTOCOL_IDENT
- See Also:
-
OPT_IDENT_NODEID
- See Also:
-
OPT_IDENT_USERNAME
- See Also:
-
OPT_IDENT_DESCRIPTION
- See Also:
-
OPT_PROTOCOL_FASTCLOCK
- See Also:
-
OPT_FASTCLOCK_ENABLE
- See Also:
-
OPT_FASTCLOCK_ENABLE_OFF
- See Also:
-
OPT_FASTCLOCK_ENABLE_GENERATOR
- See Also:
-
OPT_FASTCLOCK_ENABLE_CONSUMER
- See Also:
-
OPT_FASTCLOCK_ID
- See Also:
-
OPT_FASTCLOCK_ID_DEFAULT
- See Also:
-
OPT_FASTCLOCK_ID_DEFAULT_RT
- See Also:
-
OPT_FASTCLOCK_ID_ALT_1
- See Also:
-
OPT_FASTCLOCK_ID_ALT_2
- See Also:
-
OPT_FASTCLOCK_ID_CUSTOM
- See Also:
-
OPT_FASTCLOCK_CUSTOM_ID
- See Also:
-
cf
-
olcbCanInterface
-
tc
-
nodeID
-
loaderClient
-
clockControl
-
olcbEventNameStore
-
aliasMap
-
messageBuilder
-
programmerManager
-
throttleManager
-
turnoutManager
-
powerManager
-
sensorManager
-
lightManager
-
meterManager
-
stringIOManager
-
reporterManager
-
commandStation
-
-
Constructor Details
-
OlcbConfigurationManager
-
-
Method Details
-
configureManagers
- Specified by:
configureManagersin classConfigurationManager
-
getInterface
-
provides
Check if a type of manager is provided by this manager.- Specified by:
providesin classConfigurationManager- Parameters:
type- the class of manager to check- Returns:
- true if the type of manager is provided; false otherwise
-
get
- Specified by:
getin classConfigurationManager
-
getProgrammerManager
-
getThrottleManager
-
getTurnoutManager
-
getPowerManager
-
getSensorManager
-
getLightManager
-
getMeterManager
-
getStringIOManager
-
getReporterManager
-
getCommandStation
-
dispose
Description copied from class:ConfigurationManagerDispose of the ConfigurationManager- Specified by:
disposein classConfigurationManager
-
getActionModelResourceBundle
- Specified by:
getActionModelResourceBundlein classConfigurationManager
-
getOurNodeID
Create a node ID in the JMRI range from one byte of IP address, and 2 bytes of PID. That changes each time, which isn't perhaps what's wanted. -
getProcessId
-
createOlcbCanInterface
-
convertToCan
-
convertFromCan
-