001package jmri.jmrix.can.cbus;
002
003import jmri.CabSignal;
004import jmri.jmrix.can.CanSystemConnectionMemo;
005import jmri.LocoAddress;
006import jmri.managers.AbstractCabSignalManager;
007
008// import org.slf4j.Logger;
009// import org.slf4j.LoggerFactory;
010
011/**
012 * CBUS implementation of the {@link jmri.CabSignalManager} interface.
013 *
014 * <hr>
015 * This file is part of JMRI.
016 * <p>
017 * JMRI is free software; you can redistribute it and/or modify it under the
018 * terms of version 2 of the GNU General Public License as published by the Free
019 * Software Foundation. See the "COPYING" file for a copy of this license.
020 * <p>
021 * JMRI is distributed in the hope that it will be useful, but WITHOUT ANY
022 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
023 * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
024 *
025 * @author Paul Bender Copyright (C) 2019
026 * @author Steve Young Copyright (C) 2019 
027 */
028public class CbusCabSignalManager extends AbstractCabSignalManager {
029
030    private final CanSystemConnectionMemo _memo;
031
032    public CbusCabSignalManager(CanSystemConnectionMemo memo){
033        super();
034        _memo = memo;
035    }
036
037    /**
038     * {@inheritDoc}
039     */
040    @Override
041    protected CabSignal createCabSignal(LocoAddress address){
042           return new CbusCabSignal(_memo,address);
043    }
044
045    // private final static Logger log = LoggerFactory.getLogger(CbusCabSignalManager.class);
046}