Hierarchy

Constructors

Properties

RPC_TYPE_ID: string

Should be set to a constant specifying the SharedObject type identifier on the prototype of final derived owner classes. It is not used on counterpart (non-owner) classes.

annotationPropertySerializer: AnnotationPropertySerializer
changed: NullarySignal = ...
childAdded: Signal<((annotation: Annotation) => void)>
childDeleted: Signal<((annotationId: string) => void)>
childUpdated: Signal<((annotation: Annotation) => void)>
chunkManager: ChunkManager
credentialsProvider: undefined | CredentialsProvider<any>
disposedStacks: any
isOwner: undefined | boolean
key: any
localUpdates: Map<string, LocalUpdateUndoState> = ...
metadataChunkSource: AnnotationMetadataChunkSource = ...
rank: number
readonly: boolean = false
refCount: number = 1
referencedGeneration: number
references: Map<string, AnnotationReference> = ...
relationships: readonly string[]
rpc: null | RPC = null
rpcId: null | number = null
segmentFilteredSources: AnnotationSubsetGeometryChunkSource[]
spatiallyIndexedSources: Set<AnnotationGeometryChunkSource> = ...
temporary: AnnotationGeometryChunk = ...
unreferencedGeneration: number
wasDisposed: undefined | boolean

Methods

  • Precondition: this.isOwner === true.

    Returns {
        gen: number;
        id: null | number;
    }

    • gen: number
    • id: null | number
  • Precondition: this.isOwner === true.

    This should be called when the counterpart's refCount is decremented and reaches zero.

    Parameters

    • generation: number

    Returns void

  • Takes an annotation id as input and returns the parent if the annotation type is line and parent is polygon.

    Returns

    Returns parent annotation id if annotation type is line otherwise returns the current id.

    Parameters

    • id: string

      annotation id

    Returns AnnotationReference

  • Parameters

    • rpc: RPC
    • rpcId: number = ...

    Returns void

  • Precondition: this.isOwner === true.

    Returns void

  • Type Parameters

    • T extends {
          cancel: (() => void);
      }

    Parameters

    • cancellable: T

    Returns T

Generated using TypeDoc