visualization-tools

Home > @visualization-tools/core > SharedInterleavedConnector

SharedInterleavedConnector class

Provides a structured view into a SharedArray. Will take a claim on the SharedArray and release it when the object is disposed of.

Signature:

export declare class SharedInterleavedConnector<TCtor extends TTypedArrayCtor, TOffsets> extends AInterleavedConnector<InstanceType<TCtor>, TOffsets> implements ISharedInterleavedConnector<InstanceType<TCtor>, TOffsets> 

Extends: AInterleavedConnector<InstanceType<TCtor>, TOffsets>

Implements: ISharedInterleavedConnector<InstanceType<TCtor>, TOffsets>

Constructors

Constructor Modifiers Description
(constructor)(prefix, wrapper, sharedArray, config)   Constructs a new instance of the SharedInterleavedConnector class

Properties

Property Modifiers Type Description
sharedArray   ISharedArray<TCtor>  
sharedObject   IReferenceCountedPtr  

Methods

Method Modifiers Description
createOneExistingF32SharedArray(wrapper, sharedArray, config, owning) static  
createOneExistingF64SharedArray(wrapper, sharedArray, config, owning) static  
createOneF32(wrapper, size, config) static  
createOneF64(wrapper, size, config) static  
getData()    
getInterleavedBuffer()    
setLength(length)    
setStart(index)