RailwayCrossingWarningListener class abstract

This abstract class should be implemented in order to receive railway crossing warnings.

Note: The railway crossing warner can be either a zone warner or a point warner, depending on whether the railroad crossing warning is given for a railroad crossing zone or just a point. This means that for a railway crossing there will can be either 2 or 3 warnings emitted. In case the railroad crossing is a zone warner then 3 warnings will be emitted with the RailwayCrossingWarning.distance_type set to DistanceType.AHEAD, DistanceType.REACHED and lastly DistanceType.PASSED when the end of the railway crossing is passed. In case the railroad crossing is a point warner then 2 warnings will be emitted with the RailwayCrossingWarning.distance_type set to DistanceType.AHEAD and DistanceType.PASSED when the end of the railway crossing is passed.

Constructors

RailwayCrossingWarningListener(void onRailwayCrossingWarningUpdatedLambda(RailwayCrossingWarning))
This abstract class should be implemented in order to receive railway crossing warnings.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onRailwayCrossingWarningUpdated(RailwayCrossingWarning railwayCrossingWarning) → void
Called whenever a new railway crossing warning is available.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited