Class: BasicFacilityWaypoint<T>
A basic implementation of FacilityWaypoint.
Type parameters
Name | Type |
---|---|
T | extends Facility = Facility |
Hierarchy
↳
BasicFacilityWaypoint
Implements
Constructors
constructor
• new BasicFacilityWaypoint<T
>(facility
, bus
): BasicFacilityWaypoint
<T
>
Constructor.
Type parameters
Name | Type |
---|---|
T | extends Facility = Facility |
Parameters
Name | Type | Description |
---|---|---|
facility | T | The facility associated with this waypoint. |
bus | EventBus | The event bus. |
Returns
Overrides
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
Defined in
src/sdk/navigation/Waypoint.ts:187
location
• get
location(): Subscribable
<GeoPointInterface
>
The geographic location of the waypoint.
Returns
Subscribable
<GeoPointInterface
>
Implementation of
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
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
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
Name | Type | Description |
---|---|---|
other | Waypoint | The other waypoint. |
Returns
boolean
whether this waypoint and the other are equal.
Implementation of
Inherited from
Defined in
src/sdk/navigation/Waypoint.ts:57