Package jmri.jmrix.bidib
Interface BiDiBNamedBeanInterface
-
- All Known Implementing Classes:
BiDiBLight
,BiDiBReporter
,BiDiBSensor
,BiDiBSignalMast
,BiDiBTurnout
public interface BiDiBNamedBeanInterface
This interface specifies methods that the BiDiB object classes (turnouts, sensors, lights, reporters, signal masts) must implement.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
finishLoad()
Helper function that will be invoked after construction once the type has been set.BiDiBAddress
getAddr()
Get the BiDiB address instancevoid
nodeLost()
called then a node was lostvoid
nodeNew()
called then a new node has been discovered
-
-
-
Method Detail
-
getAddr
BiDiBAddress getAddr()
Get the BiDiB address instance- Returns:
- BiDiBAddress
-
finishLoad
default void finishLoad()
Helper function that will be invoked after construction once the type has been set. Used specifically for preventing double initialization when loading turnouts from XML.
-
nodeNew
void nodeNew()
called then a new node has been discovered
-
nodeLost
void nodeLost()
called then a node was lost
-
-