001package jmri.managers; 002 003import jmri.CabSignal; 004import jmri.LocoAddress; 005import jmri.implementation.DefaultCabSignal; 006 007/** 008 * Default implementation of the {@link jmri.CabSignalManager} interface. 009 * 010 * <hr> 011 * This file is part of JMRI. 012 * <p> 013 * JMRI is free software; you can redistribute it and/or modify it under the 014 * terms of version 2 of the GNU General Public License as published by the Free 015 * Software Foundation. See the "COPYING" file for a copy of this license. 016 * <p> 017 * JMRI is distributed in the hope that it will be useful, but WITHOUT ANY 018 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 019 * A PARTICULAR PURPOSE. See the GNU General Public License for more details. 020 * 021 * @author Paul Bender Copyright (C) 2019 022 */ 023public class DefaultCabSignalManager extends AbstractCabSignalManager { 024 025 /** 026 * {@inheritDoc} 027 */ 028 @Override 029 protected CabSignal createCabSignal(LocoAddress address){ 030 return new DefaultCabSignal(address); 031 } 032 033}