Skip to main content

Class: BasicFacilityWaypoint<T>

Defined in: src/sdk/navigation/Waypoint.ts:131

A basic implementation of FacilityWaypoint.

Extends​

Type Parameters​

Type ParameterDefault type
T extends FacilityFacility

Implements​

Constructors​

Constructor​

new BasicFacilityWaypoint<T>(facility, bus): BasicFacilityWaypoint<T>

Defined in: src/sdk/navigation/Waypoint.ts:146

Constructor.

Parameters​

ParameterTypeDescription
facilityTThe facility associated with this waypoint.
busEventBusThe event bus.

Returns​

BasicFacilityWaypoint<T>

Overrides​

AbstractWaypoint.constructor

Properties​

isFacilityWaypoint​

readonly isFacilityWaypoint: true = true

Defined in: src/sdk/navigation/Waypoint.ts:133

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:187

The facility associated with this waypoint.

Returns​

Subscribable<T>

The facility associated with this waypoint.

Implementation of​

FacilityWaypoint.facility


location​

Get Signature​

get location(): Subscribable<GeoPointInterface>

Defined in: src/sdk/navigation/Waypoint.ts:169

The geographic location of the waypoint.

Returns​

Subscribable<GeoPointInterface>

The geographic location of the waypoint.

Implementation of​

FacilityWaypoint.location

Overrides​

AbstractWaypoint.location


type​

Get Signature​

get type(): string

Defined in: src/sdk/navigation/Waypoint.ts:179

The unique string type of this waypoint.

Returns​

string

The unique string type of this waypoint.

Implementation of​

FacilityWaypoint.type

Overrides​

AbstractWaypoint.type


uid​

Get Signature​

get uid(): string

Defined in: src/sdk/navigation/Waypoint.ts:174

A unique string ID assigned to this waypoint.

Returns​

string

A unique string ID assigned to this waypoint.

Implementation of​

FacilityWaypoint.uid

Overrides​

AbstractWaypoint.uid

Methods​

equals()​

equals(other): boolean

Defined in: src/sdk/navigation/Waypoint.ts:57

Checks whether this waypoint and another are equal.

Parameters​

ParameterTypeDescription
otherWaypointThe other waypoint.

Returns​

boolean

whether this waypoint and the other are equal.

Implementation of​

FacilityWaypoint.equals

Inherited from​

AbstractWaypoint.equals