Table of Contents

Class RouteCheckSourceCache

Namespace
EncDotNet.S100.Datasets.Pipelines.Navigation
Assembly
EncDotNet.S100.Datasets.Pipelines.dll

Keeps one RouteCheckSources per catalog snapshot, so every check in a host shares the cells' indexes and S-102 grids, and rebuilds them when the loaded datasets change.

public sealed class RouteCheckSourceCache
Inheritance
RouteCheckSourceCache
Inherited Members

Remarks

A snapshot is matched by reference: IDatasetCatalog publishes a new list on every change. Get(IReadOnlyList<LoadedDataset>) is safe to call from several threads at once.

Constructors

RouteCheckSourceCache(ICrsTransformFactory, RouteCheckSourceOptions?)

Creates the cache.

public RouteCheckSourceCache(ICrsTransformFactory transforms, RouteCheckSourceOptions? options = null)

Parameters

transforms ICrsTransformFactory

Reprojects WGS-84 into a projected S-102 or S-104 grid's native CRS.

options RouteCheckSourceOptions

Tuning, or null for Default.

Methods

Get(IReadOnlyList<LoadedDataset>)

The sources for a catalog snapshot, built on the first call for it.

public RouteCheckSources Get(IReadOnlyList<LoadedDataset> datasets)

Parameters

datasets IReadOnlyList<LoadedDataset>

The snapshot, such as Datasets.

Returns

RouteCheckSources

The sources.