Package jmri.jmrix.can.cbus
Class CbusCabSignalManager
- java.lang.Object
-
- jmri.managers.AbstractCabSignalManager
-
- jmri.jmrix.can.cbus.CbusCabSignalManager
-
- All Implemented Interfaces:
CabSignalManager
,Disposable
public class CbusCabSignalManager extends AbstractCabSignalManager
CBUS implementation of theCabSignalManager
interface.
This file is part of JMRI.JMRI is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the "COPYING" file for a copy of this license.
JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-
-
Field Summary
-
Fields inherited from class jmri.managers.AbstractCabSignalManager
listListeners, signalList
-
-
Constructor Summary
Constructors Constructor Description CbusCabSignalManager(CanSystemConnectionMemo memo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CabSignal
createCabSignal(LocoAddress address)
Create a new cab signal with the given address.-
Methods inherited from class jmri.managers.AbstractCabSignalManager
addCabSignalListListener, delCabSignal, dispose, getCabSignal, getCabSignalArray, getCabSignalList, notifyCabSignalListChanged, removeCabSignalListListener
-
-
-
-
Constructor Detail
-
CbusCabSignalManager
public CbusCabSignalManager(CanSystemConnectionMemo memo)
-
-
Method Detail
-
createCabSignal
protected CabSignal createCabSignal(LocoAddress address)
Create a new cab signal with the given address.- Specified by:
createCabSignal
in classAbstractCabSignalManager
- Parameters:
address
- the address the cab signal is for- Returns:
- a new cab signal
-
-