Class: BasicFacilityWaypoint<T>
Defined in: src/sdk/navigation/Waypoint.ts:133
A basic implementation of FacilityWaypoint.
Extends
Extended by
Type Parameters
| Type Parameter | Default type |
|---|---|
T extends Facility | Facility |
Implements
Constructors
Constructor
new BasicFacilityWaypoint<
T>(facility,bus):BasicFacilityWaypoint<T>
Defined in: src/sdk/navigation/Waypoint.ts:148
Creates a new instance of BasicFacilityWaypoint.
Parameters
| Parameter | Type | Description |
|---|---|---|
facility | T | The facility associated with this waypoint. |
bus | EventBus | The event bus. |
Returns
BasicFacilityWaypoint<T>
Overrides
Properties
isFacilityWaypoint
readonlyisFacilityWaypoint:true=true
Defined in: src/sdk/navigation/Waypoint.ts:135
A flag which marks this waypoint as a FacilityWaypoint.
Implementation of
FacilityWaypoint.isFacilityWaypoint
Accessors
facility
Get Signature
get facility():
Subscribable<T>
Defined in: src/sdk/navigation/Waypoint.ts:189
The facility associated with this waypoint.
Returns
Subscribable<T>
The facility associated with this waypoint.
Implementation of
location
Get Signature
get location():
Subscribable<GeoPointInterface>
Defined in: src/sdk/navigation/Waypoint.ts:171
The geographic location of the waypoint.
Returns
Subscribable<GeoPointInterface>
The geographic location of the waypoint.
Implementation of
Overrides
type
Get Signature
get type():
string
Defined in: src/sdk/navigation/Waypoint.ts:181
The unique string type of this waypoint.
Returns
string
The unique string type of this waypoint.
Implementation of
Overrides
uid
Get Signature
get uid():
string
Defined in: src/sdk/navigation/Waypoint.ts:176
A unique string ID assigned to this waypoint.
Returns
string
A unique string ID assigned to this waypoint.
Implementation of
Overrides
Methods
equals()
equals(
other):boolean
Defined in: src/sdk/navigation/Waypoint.ts:59
Checks whether this waypoint and another are equal.
Parameters
| Parameter | Type | Description |
|---|---|---|
other | Waypoint | The other waypoint. |
Returns
boolean
whether this waypoint and the other are equal.