Skip to main content

Class: BasicFacilityWaypoint<T>

A basic implementation of FacilityWaypoint.

Type parameters

NameType
Textends Facility = Facility

Hierarchy

Implements

Constructors

constructor

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

Constructor.

Type parameters

NameType
Textends Facility = Facility

Parameters

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

Returns

BasicFacilityWaypoint<T>

Overrides

AbstractWaypoint.constructor

Defined in

src/sdk/navigation/Waypoint.ts:146

Properties

isFacilityWaypoint

Readonly isFacilityWaypoint: true

A flag which marks this waypoint as a FacilityWaypoint.

Implementation of

FacilityWaypoint.isFacilityWaypoint

Defined in

src/sdk/navigation/Waypoint.ts:133

Accessors

facility

get facility(): Subscribable<T>

The facility associated with this waypoint.

Returns

Subscribable<T>

Implementation of

FacilityWaypoint.facility

Defined in

src/sdk/navigation/Waypoint.ts:187


location

get location(): Subscribable<GeoPointInterface>

The geographic location of the waypoint.

Returns

Subscribable<GeoPointInterface>

Implementation of

FacilityWaypoint.location

Overrides

AbstractWaypoint.location

Defined in

src/sdk/navigation/Waypoint.ts:169


type

get type(): string

The unique string type of this waypoint.

Returns

string

Implementation of

FacilityWaypoint.type

Overrides

AbstractWaypoint.type

Defined in

src/sdk/navigation/Waypoint.ts:179


uid

get uid(): string

A unique string ID assigned to this waypoint.

Returns

string

Implementation of

FacilityWaypoint.uid

Overrides

AbstractWaypoint.uid

Defined in

src/sdk/navigation/Waypoint.ts:174

Methods

equals

equals(other): boolean

Checks whether this waypoint and another are equal.

Parameters

NameTypeDescription
otherWaypointThe other waypoint.

Returns

boolean

whether this waypoint and the other are equal.

Implementation of

FacilityWaypoint.equals

Inherited from

AbstractWaypoint.equals

Defined in

src/sdk/navigation/Waypoint.ts:57