001/* 002 * @author Gregory J. Bedlek Copyright (C) 2018, 2019 003 */ 004package jmri.jmrit.ctc; 005 006public interface SignalDirectionIndicatorsInterface { 007 public void setCodeButtonHandler(CodeButtonHandler codeButtonHandler); 008 public void removeAllListeners(); 009 public boolean isNonfunctionalObject(); 010 public void setPresentSignalDirectionLever(int presentSignalDirectionLever); 011 public boolean isRunningTime(); 012 public void osSectionBecameOccupied(); 013 public void codeButtonPressed(int requestedDirection, boolean requestedChangeInSignalDirection); 014 public void startCodingTime(); 015 public boolean signalsNormal(); 016 public boolean signalsNormalOrOutOfCorrespondence(); 017 public int getPresentDirection(); 018 public boolean inCorrespondence(); 019 public void forceAllSignalsToHeld(); 020 public int getSignalsInTheFieldDirection(); 021 public void setSignalDirectionIndicatorsToOUTOFCORRESPONDENCE(); 022 public void setRequestedDirection(int direction); 023}