Package jmri
Interface PhysicalLocationReporter
-
- All Known Implementing Classes:
AbstractIdTagReporter,AbstractRailComReporter,BiDiBReporter,Block,CbusReporter,Dcc4PcReporter,EcosReporter,LnReporter,MqttReporter,OBlock,OlcbReporter,RfidReporter,Z21CanReporter,Z21Reporter
public interface PhysicalLocationReporter
Implements a common way that a Reporter that supports having a Physical Location can report that location to querying objects.
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPhysicalLocationReporter.Direction
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PhysicalLocationReporter.DirectiongetDirection(java.lang.String s)LocoAddressgetLocoAddress(java.lang.String s)PhysicalLocationgetPhysicalLocation()PhysicalLocationgetPhysicalLocation(java.lang.String s)
-
-
-
Method Detail
-
getLocoAddress
LocoAddress getLocoAddress(java.lang.String s)
-
getDirection
PhysicalLocationReporter.Direction getDirection(java.lang.String s)
-
getPhysicalLocation
PhysicalLocation getPhysicalLocation()
-
getPhysicalLocation
PhysicalLocation getPhysicalLocation(java.lang.String s)
-
-