aes70 1.3.8 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Changelog +14 -1
- package/dist/AES70.es5.js +1 -1
- package/package.json +1 -1
- package/src/OCP1/OcaBlockMember.js +1 -1
- package/src/OCP1/OcaClassAuthorityID.js +1 -1
- package/src/OCP1/OcaClassIdentification.js +1 -1
- package/src/OCP1/OcaDBr.js +1 -1
- package/src/OCP1/OcaDelayValue.js +1 -1
- package/src/OCP1/OcaEvent.js +1 -1
- package/src/OCP1/OcaEventID.js +1 -1
- package/src/OCP1/OcaGlobalTypeIdentifier.js +1 -1
- package/src/OCP1/OcaGrouperCitizen.js +1 -1
- package/src/OCP1/OcaGrouperEnrollment.js +1 -1
- package/src/OCP1/OcaGrouperGroup.js +1 -1
- package/src/OCP1/OcaGrouperStatusChangeEventData.js +1 -3
- package/src/OCP1/OcaImpedance.js +1 -1
- package/src/OCP1/OcaLibParamSetAssignment.js +1 -1
- package/src/OCP1/OcaLibVol.js +1 -1
- package/src/OCP1/OcaLibVolChangedEventData.js +1 -3
- package/src/OCP1/OcaLibVolData_ParamSet.js +1 -1
- package/src/OCP1/OcaLibVolIdentifier.js +1 -1
- package/src/OCP1/OcaLibVolMetadata.js +1 -1
- package/src/OCP1/OcaLibVolType.js +1 -1
- package/src/OCP1/OcaLibraryIdentifier.js +1 -1
- package/src/OCP1/OcaManagerDescriptor.js +1 -1
- package/src/OCP1/OcaMediaClockRate.js +1 -1
- package/src/OCP1/OcaMediaCoding.js +1 -1
- package/src/OCP1/OcaMediaConnection.js +1 -1
- package/src/OCP1/OcaMediaConnectorElement.js +2 -2
- package/src/OCP1/OcaMediaConnectorStatus.js +1 -1
- package/src/OCP1/OcaMediaConnectorStatusChangedEventData.js +1 -3
- package/src/OCP1/OcaMediaSinkConnector.js +1 -1
- package/src/OCP1/OcaMediaSinkConnectorChangedEventData.js +1 -3
- package/src/OCP1/OcaMediaSourceConnector.js +1 -1
- package/src/OCP1/OcaMediaSourceConnectorChangedEventData.js +1 -3
- package/src/OCP1/OcaMethod.js +1 -1
- package/src/OCP1/OcaMethodID.js +1 -1
- package/src/OCP1/OcaModelDescription.js +1 -1
- package/src/OCP1/OcaModelGUID.js +1 -1
- package/src/OCP1/OcaNetworkStatistics.js +1 -1
- package/src/OCP1/OcaNetworkSystemInterfaceDescriptor.js +1 -1
- package/src/OCP1/OcaNetworkSystemInterfaceID.js +1 -1
- package/src/OCP1/OcaOPath.js +1 -1
- package/src/OCP1/OcaObjectIdentification.js +1 -1
- package/src/OCP1/OcaObjectListEventData.js +1 -3
- package/src/OCP1/OcaObjectSearchResult.js +1 -1
- package/src/OCP1/OcaObservationEventData.js +1 -3
- package/src/OCP1/OcaObservationListEventData.js +1 -3
- package/src/OCP1/OcaParameterMask.js +3 -0
- package/src/OCP1/OcaPilotToneDetectorSpec.js +1 -1
- package/src/OCP1/OcaPort.js +1 -1
- package/src/OCP1/OcaPortID.js +1 -1
- package/src/OCP1/OcaPositionDescriptor.js +3 -3
- package/src/OCP1/OcaPositionDescriptorFieldFlags.js +3 -0
- package/src/OCP1/OcaProperty.js +1 -1
- package/src/OCP1/OcaPropertyDescriptor.js +1 -1
- package/src/OCP1/OcaPropertyID.js +1 -1
- package/src/OCP1/OcaProtoObjectIdentification.js +1 -1
- package/src/OCP1/OcaProtoPort.js +1 -1
- package/src/OCP1/OcaProtoPortID.js +1 -1
- package/src/OCP1/OcaProtoSignalPath.js +1 -1
- package/src/OCP1/OcaSignalPath.js +1 -1
- package/src/OCP1/OcaStream.js +1 -1
- package/src/OCP1/OcaStreamConnectorIdentification.js +1 -1
- package/src/OCP1/OcaTask.js +1 -1
- package/src/OCP1/OcaTaskStateChangedEventData.js +1 -1
- package/src/OCP1/OcaTaskStatus.js +1 -1
- package/src/OCP1/OcaTimePTP.js +1 -1
- package/src/OCP1/OcaTransferFunction.js +1 -1
- package/src/OCP1/OcaVersion.js +1 -1
- package/src/controller/ControlClasses/OcaActuator.d.ts +3 -1
- package/src/controller/ControlClasses/OcaActuator.js +3 -1
- package/src/controller/ControlClasses/OcaAgent.d.ts +10 -7
- package/src/controller/ControlClasses/OcaAgent.js +12 -8
- package/src/controller/ControlClasses/OcaApplicationNetwork.d.ts +35 -21
- package/src/controller/ControlClasses/OcaApplicationNetwork.js +43 -32
- package/src/controller/ControlClasses/OcaAudioLevelSensor.d.ts +14 -8
- package/src/controller/ControlClasses/OcaAudioLevelSensor.js +13 -9
- package/src/controller/ControlClasses/OcaAudioProcessingManager.d.ts +3 -2
- package/src/controller/ControlClasses/OcaAudioProcessingManager.js +3 -2
- package/src/controller/ControlClasses/OcaBitstringActuator.d.ts +11 -8
- package/src/controller/ControlClasses/OcaBitstringActuator.js +13 -9
- package/src/controller/ControlClasses/OcaBitstringSensor.d.ts +7 -5
- package/src/controller/ControlClasses/OcaBitstringSensor.js +9 -6
- package/src/controller/ControlClasses/OcaBlock.d.ts +88 -74
- package/src/controller/ControlClasses/OcaBlock.js +80 -63
- package/src/controller/ControlClasses/OcaBlockFactory.d.ts +73 -29
- package/src/controller/ControlClasses/OcaBlockFactory.js +69 -42
- package/src/controller/ControlClasses/OcaBooleanActuator.d.ts +5 -4
- package/src/controller/ControlClasses/OcaBooleanActuator.js +6 -4
- package/src/controller/ControlClasses/OcaBooleanSensor.d.ts +3 -3
- package/src/controller/ControlClasses/OcaBooleanSensor.js +4 -3
- package/src/controller/ControlClasses/OcaCodingManager.d.ts +10 -7
- package/src/controller/ControlClasses/OcaCodingManager.js +17 -13
- package/src/controller/ControlClasses/OcaControlNetwork.d.ts +4 -5
- package/src/controller/ControlClasses/OcaControlNetwork.js +5 -6
- package/src/controller/ControlClasses/OcaCurrentSensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaCurrentSensor.js +4 -3
- package/src/controller/ControlClasses/OcaDelay.d.ts +6 -5
- package/src/controller/ControlClasses/OcaDelay.js +6 -4
- package/src/controller/ControlClasses/OcaDelayExtended.d.ts +18 -15
- package/src/controller/ControlClasses/OcaDelayExtended.js +17 -12
- package/src/controller/ControlClasses/OcaDeviceManager.d.ts +56 -31
- package/src/controller/ControlClasses/OcaDeviceManager.js +75 -51
- package/src/controller/ControlClasses/OcaDeviceTimeManager.d.ts +33 -16
- package/src/controller/ControlClasses/OcaDeviceTimeManager.js +36 -18
- package/src/controller/ControlClasses/OcaDiagnosticManager.d.ts +6 -3
- package/src/controller/ControlClasses/OcaDiagnosticManager.js +8 -5
- package/src/controller/ControlClasses/OcaDynamics.d.ts +89 -61
- package/src/controller/ControlClasses/OcaDynamics.js +101 -79
- package/src/controller/ControlClasses/OcaDynamicsCurve.d.ts +77 -30
- package/src/controller/ControlClasses/OcaDynamicsCurve.js +85 -37
- package/src/controller/ControlClasses/OcaDynamicsDetector.d.ts +30 -22
- package/src/controller/ControlClasses/OcaDynamicsDetector.js +36 -24
- package/src/controller/ControlClasses/OcaEventHandler.d.ts +8 -6
- package/src/controller/ControlClasses/OcaEventHandler.js +9 -6
- package/src/controller/ControlClasses/OcaFilterArbitraryCurve.d.ts +13 -9
- package/src/controller/ControlClasses/OcaFilterArbitraryCurve.js +15 -12
- package/src/controller/ControlClasses/OcaFilterClassical.d.ts +43 -30
- package/src/controller/ControlClasses/OcaFilterClassical.js +40 -31
- package/src/controller/ControlClasses/OcaFilterFIR.d.ts +12 -8
- package/src/controller/ControlClasses/OcaFilterFIR.js +19 -14
- package/src/controller/ControlClasses/OcaFilterParametric.d.ts +34 -25
- package/src/controller/ControlClasses/OcaFilterParametric.js +39 -33
- package/src/controller/ControlClasses/OcaFilterPolynomial.d.ts +6 -6
- package/src/controller/ControlClasses/OcaFilterPolynomial.js +11 -10
- package/src/controller/ControlClasses/OcaFirmwareManager.d.ts +71 -21
- package/src/controller/ControlClasses/OcaFirmwareManager.js +71 -22
- package/src/controller/ControlClasses/OcaFloat32Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaFloat32Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaFloat32Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaFloat32Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaFloat64Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaFloat64Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaFloat64Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaFloat64Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaFrequencyActuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaFrequencyActuator.js +6 -4
- package/src/controller/ControlClasses/OcaFrequencySensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaFrequencySensor.js +4 -3
- package/src/controller/ControlClasses/OcaGain.d.ts +6 -5
- package/src/controller/ControlClasses/OcaGain.js +6 -4
- package/src/controller/ControlClasses/OcaGainSensor.d.ts +6 -5
- package/src/controller/ControlClasses/OcaGainSensor.js +6 -4
- package/src/controller/ControlClasses/OcaGrouper.d.ts +138 -58
- package/src/controller/ControlClasses/OcaGrouper.js +139 -61
- package/src/controller/ControlClasses/OcaIdentificationActuator.d.ts +9 -10
- package/src/controller/ControlClasses/OcaIdentificationActuator.js +10 -10
- package/src/controller/ControlClasses/OcaIdentificationSensor.d.ts +6 -4
- package/src/controller/ControlClasses/OcaIdentificationSensor.js +5 -3
- package/src/controller/ControlClasses/OcaImpedanceSensor.d.ts +8 -8
- package/src/controller/ControlClasses/OcaImpedanceSensor.js +7 -6
- package/src/controller/ControlClasses/OcaInt16Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaInt16Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaInt16Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaInt16Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaInt32Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaInt32Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaInt32Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaInt32Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaInt64Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaInt64Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaInt64Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaInt64Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaInt8Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaInt8Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaInt8Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaInt8Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaLevelSensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaLevelSensor.js +4 -3
- package/src/controller/ControlClasses/OcaLibrary.d.ts +50 -25
- package/src/controller/ControlClasses/OcaLibrary.js +54 -26
- package/src/controller/ControlClasses/OcaLibraryManager.d.ts +22 -16
- package/src/controller/ControlClasses/OcaLibraryManager.js +22 -17
- package/src/controller/ControlClasses/OcaManager.d.ts +4 -1
- package/src/controller/ControlClasses/OcaManager.js +4 -1
- package/src/controller/ControlClasses/OcaMatrix.d.ts +69 -20
- package/src/controller/ControlClasses/OcaMatrix.js +86 -38
- package/src/controller/ControlClasses/OcaMediaClock.d.ts +33 -19
- package/src/controller/ControlClasses/OcaMediaClock.js +30 -19
- package/src/controller/ControlClasses/OcaMediaClock3.d.ts +37 -22
- package/src/controller/ControlClasses/OcaMediaClock3.js +39 -27
- package/src/controller/ControlClasses/OcaMediaClockManager.d.ts +15 -9
- package/src/controller/ControlClasses/OcaMediaClockManager.js +28 -23
- package/src/controller/ControlClasses/OcaMediaTransportNetwork.d.ts +106 -74
- package/src/controller/ControlClasses/OcaMediaTransportNetwork.js +121 -111
- package/src/controller/ControlClasses/OcaMute.d.ts +7 -7
- package/src/controller/ControlClasses/OcaMute.js +7 -5
- package/src/controller/ControlClasses/OcaNetwork.d.ts +38 -20
- package/src/controller/ControlClasses/OcaNetwork.js +58 -42
- package/src/controller/ControlClasses/OcaNetworkManager.d.ts +20 -9
- package/src/controller/ControlClasses/OcaNetworkManager.js +33 -23
- package/src/controller/ControlClasses/OcaNetworkSignalChannel.d.ts +43 -19
- package/src/controller/ControlClasses/OcaNetworkSignalChannel.js +67 -44
- package/src/controller/ControlClasses/OcaNumericObserver.d.ts +77 -38
- package/src/controller/ControlClasses/OcaNumericObserver.js +95 -59
- package/src/controller/ControlClasses/OcaNumericObserverList.d.ts +96 -45
- package/src/controller/ControlClasses/OcaNumericObserverList.js +129 -80
- package/src/controller/ControlClasses/OcaPanBalance.d.ts +10 -7
- package/src/controller/ControlClasses/OcaPanBalance.js +14 -11
- package/src/controller/ControlClasses/OcaPhysicalPosition.d.ts +31 -18
- package/src/controller/ControlClasses/OcaPhysicalPosition.js +43 -18
- package/src/controller/ControlClasses/OcaPolarity.d.ts +10 -7
- package/src/controller/ControlClasses/OcaPolarity.js +7 -5
- package/src/controller/ControlClasses/OcaPowerManager.d.ts +20 -14
- package/src/controller/ControlClasses/OcaPowerManager.js +27 -21
- package/src/controller/ControlClasses/OcaPowerSupply.d.ts +24 -15
- package/src/controller/ControlClasses/OcaPowerSupply.js +31 -23
- package/src/controller/ControlClasses/OcaRamper.d.ts +55 -34
- package/src/controller/ControlClasses/OcaRamper.js +58 -37
- package/src/controller/ControlClasses/OcaRoot.d.ts +28 -14
- package/src/controller/ControlClasses/OcaRoot.js +32 -24
- package/src/controller/ControlClasses/OcaSecurityManager.d.ts +29 -13
- package/src/controller/ControlClasses/OcaSecurityManager.js +31 -14
- package/src/controller/ControlClasses/OcaSensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaSensor.js +6 -5
- package/src/controller/ControlClasses/OcaSignalGenerator.d.ts +48 -38
- package/src/controller/ControlClasses/OcaSignalGenerator.js +57 -46
- package/src/controller/ControlClasses/OcaSignalInput.d.ts +4 -1
- package/src/controller/ControlClasses/OcaSignalInput.js +4 -1
- package/src/controller/ControlClasses/OcaSignalOutput.d.ts +4 -1
- package/src/controller/ControlClasses/OcaSignalOutput.js +4 -1
- package/src/controller/ControlClasses/OcaStreamConnector.d.ts +59 -24
- package/src/controller/ControlClasses/OcaStreamConnector.js +80 -48
- package/src/controller/ControlClasses/OcaStreamNetwork.d.ts +100 -27
- package/src/controller/ControlClasses/OcaStreamNetwork.js +124 -54
- package/src/controller/ControlClasses/OcaStringActuator.d.ts +5 -4
- package/src/controller/ControlClasses/OcaStringActuator.js +7 -5
- package/src/controller/ControlClasses/OcaStringSensor.d.ts +7 -5
- package/src/controller/ControlClasses/OcaStringSensor.js +10 -7
- package/src/controller/ControlClasses/OcaSubscriptionManager.d.ts +73 -46
- package/src/controller/ControlClasses/OcaSubscriptionManager.js +78 -51
- package/src/controller/ControlClasses/OcaSummingPoint.d.ts +2 -1
- package/src/controller/ControlClasses/OcaSummingPoint.js +2 -1
- package/src/controller/ControlClasses/OcaSwitch.d.ts +23 -15
- package/src/controller/ControlClasses/OcaSwitch.js +31 -23
- package/src/controller/ControlClasses/OcaTaskManager.d.ts +47 -38
- package/src/controller/ControlClasses/OcaTaskManager.js +48 -37
- package/src/controller/ControlClasses/OcaTemperatureActuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaTemperatureActuator.js +6 -4
- package/src/controller/ControlClasses/OcaTemperatureSensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaTemperatureSensor.js +4 -3
- package/src/controller/ControlClasses/OcaTimeIntervalSensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaTimeIntervalSensor.js +4 -3
- package/src/controller/ControlClasses/OcaTimeSource.d.ts +38 -22
- package/src/controller/ControlClasses/OcaTimeSource.js +41 -27
- package/src/controller/ControlClasses/OcaUint16Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaUint16Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaUint16Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaUint16Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaUint32Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaUint32Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaUint32Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaUint32Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaUint64Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaUint64Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaUint64Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaUint64Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaUint8Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaUint8Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaUint8Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaUint8Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaVoltageSensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaVoltageSensor.js +4 -3
- package/src/controller/ControlClasses/OcaWorker.d.ts +38 -28
- package/src/controller/ControlClasses/OcaWorker.js +50 -40
- package/src/controller/abstract_udp_connection.js +11 -7
- package/src/controller/client_connection.d.ts +1 -1
- package/src/controller/node_udp.js +2 -3
- package/src/controller/property_event.js +1 -1
- package/src/types/OcaBlockMember.d.ts +1 -2
- package/src/types/OcaClassAuthorityID.d.ts +14 -3
- package/src/types/OcaClassAuthorityID.js +8 -2
- package/src/types/OcaClassIdentification.d.ts +4 -3
- package/src/types/OcaClassIdentification.js +2 -2
- package/src/types/OcaComponent.d.ts +3 -1
- package/src/types/OcaComponent.js +3 -1
- package/src/types/OcaDBr.d.ts +6 -4
- package/src/types/OcaDBr.js +3 -2
- package/src/types/OcaDelayValue.d.ts +1 -2
- package/src/types/OcaDeviceState.d.ts +4 -1
- package/src/types/OcaDeviceState.js +4 -1
- package/src/types/OcaDynamicsFunction.d.ts +2 -1
- package/src/types/OcaDynamicsFunction.js +2 -1
- package/src/types/OcaEvent.d.ts +3 -3
- package/src/types/OcaEvent.js +2 -1
- package/src/types/OcaEventID.d.ts +3 -1
- package/src/types/OcaEventID.js +3 -1
- package/src/types/OcaGlobalTypeIdentifier.d.ts +10 -4
- package/src/types/OcaGlobalTypeIdentifier.js +5 -2
- package/src/types/OcaGrouperCitizen.d.ts +7 -5
- package/src/types/OcaGrouperCitizen.js +4 -2
- package/src/types/OcaGrouperEnrollment.d.ts +8 -4
- package/src/types/OcaGrouperEnrollment.js +4 -2
- package/src/types/OcaGrouperGroup.d.ts +4 -2
- package/src/types/OcaGrouperGroup.js +2 -1
- package/src/types/OcaGrouperMode.d.ts +1 -1
- package/src/types/OcaGrouperMode.js +1 -1
- package/src/types/OcaGrouperStatusChangeEventData.d.ts +7 -19
- package/src/types/OcaGrouperStatusChangeEventData.js +5 -8
- package/src/types/OcaGrouperStatusChangeType.d.ts +2 -1
- package/src/types/OcaGrouperStatusChangeType.js +2 -1
- package/src/types/OcaLevelDetectionLaw.d.ts +2 -1
- package/src/types/OcaLevelDetectionLaw.js +2 -1
- package/src/types/OcaLibParamSetAssignment.d.ts +3 -3
- package/src/types/OcaLibParamSetAssignment.js +2 -1
- package/src/types/OcaLibVol.d.ts +3 -3
- package/src/types/OcaLibVol.js +3 -2
- package/src/types/OcaLibVolChangedEventData.d.ts +4 -21
- package/src/types/OcaLibVolChangedEventData.js +3 -7
- package/src/types/OcaLibVolData_ParamSet.d.ts +13 -3
- package/src/types/OcaLibVolData_ParamSet.js +11 -3
- package/src/types/OcaLibVolMetadata.d.ts +4 -5
- package/src/types/OcaLibVolMetadata.js +1 -1
- package/src/types/OcaLibVolType.d.ts +12 -4
- package/src/types/OcaLibVolType.js +6 -2
- package/src/types/OcaLibraryIdentifier.d.ts +3 -3
- package/src/types/OcaLibraryIdentifier.js +2 -1
- package/src/types/OcaManagerDefaultObjectNumbers.d.ts +58 -116
- package/src/types/OcaManagerDefaultObjectNumbers.js +2 -2
- package/src/types/OcaManagerDescriptor.d.ts +4 -0
- package/src/types/OcaManagerDescriptor.js +2 -0
- package/src/types/OcaMediaClockRate.d.ts +12 -6
- package/src/types/OcaMediaClockRate.js +6 -3
- package/src/types/OcaMediaCoding.d.ts +4 -2
- package/src/types/OcaMediaCoding.js +2 -1
- package/src/types/OcaMediaConnection.d.ts +21 -8
- package/src/types/OcaMediaConnection.js +18 -5
- package/src/types/OcaMediaConnectorStatus.d.ts +5 -4
- package/src/types/OcaMediaConnectorStatus.js +2 -1
- package/src/types/OcaMediaConnectorStatusChangedEventData.d.ts +2 -17
- package/src/types/OcaMediaConnectorStatusChangedEventData.js +1 -7
- package/src/types/OcaMediaSinkConnector.d.ts +43 -15
- package/src/types/OcaMediaSinkConnector.js +23 -7
- package/src/types/OcaMediaSinkConnectorChangedEventData.d.ts +20 -30
- package/src/types/OcaMediaSinkConnectorChangedEventData.js +8 -11
- package/src/types/OcaMediaSourceConnector.d.ts +33 -13
- package/src/types/OcaMediaSourceConnector.js +17 -7
- package/src/types/OcaMediaSourceConnectorChangedEventData.d.ts +20 -30
- package/src/types/OcaMediaSourceConnectorChangedEventData.js +8 -11
- package/src/types/OcaMethod.d.ts +8 -5
- package/src/types/OcaMethod.js +5 -2
- package/src/types/OcaMethodID.d.ts +3 -1
- package/src/types/OcaMethodID.js +3 -1
- package/src/types/OcaModelGUID.d.ts +4 -2
- package/src/types/OcaModelGUID.js +5 -4
- package/src/types/OcaNetworkMediaSourceOrSink.d.ts +2 -1
- package/src/types/OcaNetworkMediaSourceOrSink.js +2 -1
- package/src/types/OcaNetworkSystemInterfaceDescriptor.d.ts +2 -1
- package/src/types/OcaNetworkSystemInterfaceDescriptor.js +3 -2
- package/src/types/OcaNetworkSystemInterfaceID.d.ts +2 -1
- package/src/types/OcaNetworkSystemInterfaceID.js +3 -2
- package/src/types/OcaNotificationDeliveryMode.d.ts +2 -1
- package/src/types/OcaNotificationDeliveryMode.js +2 -1
- package/src/types/OcaOPath.d.ts +2 -1
- package/src/types/OcaOPath.js +2 -1
- package/src/types/OcaObjectIdentification.d.ts +3 -3
- package/src/types/OcaObjectIdentification.js +2 -1
- package/src/types/OcaObjectListEventData.d.ts +3 -16
- package/src/types/OcaObjectListEventData.js +4 -8
- package/src/types/OcaObjectSearchResult.d.ts +5 -3
- package/src/types/OcaObjectSearchResult.js +4 -1
- package/src/types/OcaObjectSearchResultFlags.d.ts +1 -1
- package/src/types/OcaObjectSearchResultFlags.js +1 -1
- package/src/types/OcaObservationEventData.d.ts +8 -16
- package/src/types/OcaObservationEventData.js +8 -7
- package/src/types/OcaObservationListEventData.d.ts +8 -16
- package/src/types/OcaObservationListEventData.js +9 -8
- package/src/types/OcaParameterMask.d.ts +13 -0
- package/src/types/OcaParameterMask.js +11 -0
- package/src/types/OcaPilotToneDetectorSpec.d.ts +1 -2
- package/src/types/OcaPort.d.ts +3 -3
- package/src/types/OcaPort.js +2 -1
- package/src/types/OcaPortID.d.ts +4 -3
- package/src/types/OcaPortID.js +3 -1
- package/src/types/OcaPositionCoordinateSystem.d.ts +2 -1
- package/src/types/OcaPositionCoordinateSystem.js +2 -1
- package/src/types/OcaPositionDescriptor.d.ts +21 -20
- package/src/types/OcaPositionDescriptor.js +12 -14
- package/src/types/OcaPositionDescriptorFieldFlags.d.ts +13 -0
- package/src/types/OcaPositionDescriptorFieldFlags.js +11 -0
- package/src/types/OcaPowerState.d.ts +2 -1
- package/src/types/OcaPowerState.js +2 -1
- package/src/types/OcaPresentationUnit.d.ts +8 -1
- package/src/types/OcaPresentationUnit.js +8 -1
- package/src/types/OcaProperty.d.ts +3 -3
- package/src/types/OcaProperty.js +2 -1
- package/src/types/OcaPropertyDescriptor.d.ts +9 -9
- package/src/types/OcaPropertyDescriptor.js +4 -3
- package/src/types/OcaPropertyID.d.ts +3 -1
- package/src/types/OcaPropertyID.js +3 -1
- package/src/types/OcaProtoObjectIdentification.d.ts +3 -3
- package/src/types/OcaProtoObjectIdentification.js +2 -1
- package/src/types/OcaProtoPort.d.ts +9 -5
- package/src/types/OcaProtoPort.js +5 -2
- package/src/types/OcaProtoPortID.d.ts +4 -3
- package/src/types/OcaProtoPortID.js +3 -1
- package/src/types/OcaProtoSignalPath.d.ts +1 -2
- package/src/types/OcaRamperCommand.d.ts +1 -1
- package/src/types/OcaRamperCommand.js +1 -1
- package/src/types/OcaRamperState.d.ts +15 -10
- package/src/types/OcaRamperState.js +15 -10
- package/src/types/OcaSensorReadingState.d.ts +2 -1
- package/src/types/OcaSensorReadingState.js +2 -1
- package/src/types/OcaSignalPath.d.ts +1 -2
- package/src/types/OcaStream.d.ts +23 -10
- package/src/types/OcaStream.js +17 -5
- package/src/types/OcaStreamConnectorIdentification.d.ts +17 -7
- package/src/types/OcaStreamConnectorIdentification.js +15 -6
- package/src/types/OcaSubscriptionManagerState.d.ts +1 -1
- package/src/types/OcaSubscriptionManagerState.js +1 -1
- package/src/types/OcaTask.d.ts +27 -13
- package/src/types/OcaTask.js +14 -6
- package/src/types/OcaTaskManagerState.d.ts +13 -9
- package/src/types/OcaTaskManagerState.js +13 -9
- package/src/types/OcaTaskState.d.ts +3 -1
- package/src/types/OcaTaskState.js +3 -1
- package/src/types/OcaTaskStateChangedEventData.d.ts +6 -6
- package/src/types/OcaTaskStateChangedEventData.js +2 -2
- package/src/types/OcaTaskStatus.d.ts +6 -5
- package/src/types/OcaTaskStatus.js +5 -3
- package/src/types/OcaTimeMode.d.ts +1 -1
- package/src/types/OcaTimeMode.js +1 -1
- package/src/types/OcaTimePTP.d.ts +8 -3
- package/src/types/OcaTimePTP.js +6 -2
- package/src/types/OcaTransferFunction.js +3 -3
- package/src/types/OcaUnitOfMeasure.d.ts +5 -1
- package/src/types/OcaUnitOfMeasure.js +5 -1
- package/src/types/OcaVersion.d.ts +7 -5
- package/src/types/OcaVersion.js +4 -2
|
@@ -1,15 +1,30 @@
|
|
|
1
|
-
import { make_control_class } from '../make_control_class.js';
|
|
2
|
-
import { OcaAgent } from './OcaAgent.js';
|
|
3
1
|
import { OcaLibAccess } from '../../OCP1/OcaLibAccess.js';
|
|
4
2
|
import { OcaLibVol } from '../../OCP1/OcaLibVol.js';
|
|
3
|
+
import { OcaLibVolChangedEventData } from '../../OCP1/OcaLibVolChangedEventData.js';
|
|
5
4
|
import { OcaLibVolType } from '../../OCP1/OcaLibVolType.js';
|
|
6
5
|
import { OcaMap } from '../../OCP1/OcaMap.js';
|
|
7
|
-
import { OcaPropertyChangeType } from '../../OCP1/OcaPropertyChangeType.js';
|
|
8
6
|
import { OcaUint16 } from '../../OCP1/OcaUint16.js';
|
|
9
7
|
import { OcaUint32 } from '../../OCP1/OcaUint32.js';
|
|
8
|
+
import { make_control_class } from '../make_control_class.js';
|
|
9
|
+
import { OcaAgent } from './OcaAgent.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* A
|
|
12
|
+
* A **library** is an agent that holds a collection of datasets. We refer to
|
|
13
|
+
* each dataset as a **Volume**. There are two kinds of volumes: **ParamSet**
|
|
14
|
+
* (parameter set). A ParamSet is a collection of operating parameter settings
|
|
15
|
+
* that can be applied to a block. Each ParamSet is associated with a specific
|
|
16
|
+
* block type, but not with a specific instance of that type. A ParamSet may be
|
|
17
|
+
* applied to any block instance of the associated type. A block's type is the
|
|
18
|
+
* object number of its factory or, for factory-defined blocks, a unique
|
|
19
|
+
* identifier set at time of manufacture. **Patch**. A Patch is a collection of
|
|
20
|
+
* ParamSet assignments. A ParamSet assigment is the description of a binding of
|
|
21
|
+
* a ParamSet to a block instance. To "apply" a Patch is to apply all of its
|
|
22
|
+
* assignments. To apply an assignment is to set all of its ParamSet's parameter
|
|
23
|
+
* values into its block. A given library instance can only hold one class of
|
|
24
|
+
* volume. A device that supports libraries can have any number of Patch and
|
|
25
|
+
* ParamSet libraries. If a device implements a Patch library, it must also
|
|
26
|
+
* implement at least one ParamSet library. However, the reverse is not true: a
|
|
27
|
+
* device may implement one or more ParamSet libraries without a Patch library.
|
|
13
28
|
* @extends OcaAgent
|
|
14
29
|
* @class OcaLibrary
|
|
15
30
|
*/
|
|
@@ -34,30 +49,36 @@ export const OcaLibrary = make_control_class(
|
|
|
34
49
|
['Access', [OcaLibAccess], 3, 2, false, false, null],
|
|
35
50
|
['Volumes', [OcaMap(OcaUint32, OcaLibVol)], 3, 3, false, false, null],
|
|
36
51
|
],
|
|
37
|
-
[['OcaLibVolChanged', 3, 1, [
|
|
52
|
+
[['OcaLibVolChanged', 3, 1, [OcaLibVolChangedEventData]]]
|
|
38
53
|
);
|
|
39
54
|
|
|
40
55
|
/**
|
|
41
|
-
* Adds a volume to the library and returns its volume ID. The return value
|
|
56
|
+
* Adds a volume to the library and returns its volume ID. The return value
|
|
57
|
+
* indicates whether the volume was successfully added. Changed in version 2
|
|
58
|
+
* because the definition of OcaLibVolMetaData, which is part of OcaLibVol, has
|
|
59
|
+
* changed.
|
|
42
60
|
*
|
|
43
61
|
* @method OcaLibrary#AddVolume
|
|
44
|
-
* @param {
|
|
62
|
+
* @param {IOcaLibVol} Volume
|
|
45
63
|
*
|
|
46
64
|
* @returns {Promise<number>}
|
|
47
65
|
* A promise which resolves to a single value of type ``number``.
|
|
48
66
|
*/
|
|
49
67
|
/**
|
|
50
|
-
* Replaces a volume in the library at the given volume ID. The return value
|
|
68
|
+
* Replaces a volume in the library at the given volume ID. The return value
|
|
69
|
+
* indicates whether the volume was successfully replaced. Changed in version 2
|
|
70
|
+
* because the definition of OcaLibVolMetaData, which is part of OcaLibVol, has
|
|
71
|
+
* changed.
|
|
51
72
|
*
|
|
52
73
|
* @method OcaLibrary#ReplaceVolume
|
|
53
74
|
* @param {number} ID
|
|
54
|
-
*
|
|
55
|
-
* @param {OcaLibVol} Volume
|
|
75
|
+
* @param {IOcaLibVol} Volume
|
|
56
76
|
*
|
|
57
77
|
* @returns {Promise<void>}
|
|
58
78
|
*/
|
|
59
79
|
/**
|
|
60
|
-
* Deletes a volume from the library. The return value indicates whether the
|
|
80
|
+
* Deletes a volume from the library. The return value indicates whether the
|
|
81
|
+
* group was successfully deleted.
|
|
61
82
|
*
|
|
62
83
|
* @method OcaLibrary#DeleteVolume
|
|
63
84
|
* @param {number} ID
|
|
@@ -65,7 +86,9 @@ export const OcaLibrary = make_control_class(
|
|
|
65
86
|
* @returns {Promise<void>}
|
|
66
87
|
*/
|
|
67
88
|
/**
|
|
68
|
-
* Retrieves a library volume. The return value indicates whether the volume was
|
|
89
|
+
* Retrieves a library volume. The return value indicates whether the volume was
|
|
90
|
+
* successfully retrieved. Changed in version 2 because the definition of
|
|
91
|
+
* OcaLibVolMetaData, which is part of OcaLibVol, has changed.
|
|
69
92
|
*
|
|
70
93
|
* @method OcaLibrary#GetVolume
|
|
71
94
|
* @param {number} ID
|
|
@@ -74,61 +97,66 @@ export const OcaLibrary = make_control_class(
|
|
|
74
97
|
* A promise which resolves to a single value of type :class:`OcaLibVol`.
|
|
75
98
|
*/
|
|
76
99
|
/**
|
|
77
|
-
* Gets the count of volumes in this library. The return value indicates whether
|
|
100
|
+
* Gets the count of volumes in this library. The return value indicates whether
|
|
101
|
+
* the count was successfully retrieved.
|
|
78
102
|
*
|
|
79
103
|
* @method OcaLibrary#GetVolumeCount
|
|
80
104
|
* @returns {Promise<number>}
|
|
81
105
|
* A promise which resolves to a single value of type ``number``.
|
|
82
106
|
*/
|
|
83
107
|
/**
|
|
84
|
-
* Gets the list of volumes held in this library. The return value indicates
|
|
108
|
+
* Gets the list of volumes held in this library. The return value indicates
|
|
109
|
+
* whether the list was successfully retrieved. Changed in version 2 because the
|
|
110
|
+
* definition of OcaLibVolMetaData, which is part of OcaLibVol, has changed.
|
|
85
111
|
*
|
|
86
112
|
* @method OcaLibrary#GetVolumes
|
|
87
113
|
* @returns {Promise<Map<number, OcaLibVol>>}
|
|
88
114
|
* A promise which resolves to a single value of type ``Map<number, OcaLibVol>``.
|
|
89
115
|
*/
|
|
90
116
|
/**
|
|
91
|
-
* Gets allowed access mode for this library. The return value indicates whether
|
|
117
|
+
* Gets allowed access mode for this library. The return value indicates whether
|
|
118
|
+
* the property was successfully retrieved.
|
|
92
119
|
*
|
|
93
120
|
* @method OcaLibrary#GetAccess
|
|
94
121
|
* @returns {Promise<OcaLibAccess>}
|
|
95
122
|
* A promise which resolves to a single value of type :class:`OcaLibAccess`.
|
|
96
123
|
*/
|
|
97
124
|
/**
|
|
98
|
-
* Sets allowed access mode for this library. The return value indicates whether
|
|
125
|
+
* Sets allowed access mode for this library. The return value indicates whether
|
|
126
|
+
* the property was successfully set. Not implemented for static,
|
|
127
|
+
* manufacturer-supplied libraries.
|
|
99
128
|
*
|
|
100
129
|
* @method OcaLibrary#SetAccess
|
|
101
|
-
* @param {
|
|
130
|
+
* @param {IOcaLibAccess} Access
|
|
102
131
|
*
|
|
103
132
|
* @returns {Promise<void>}
|
|
104
133
|
*/
|
|
105
134
|
/**
|
|
106
|
-
* Event that is raised whenever private property
|
|
135
|
+
* Event that is raised whenever private property **Volumes** changes. Added in
|
|
136
|
+
* OcaLibrary Version 2.
|
|
107
137
|
* @member OcaLibrary#OnOcaLibVolChanged {Event}
|
|
108
|
-
* Event that is raised whenever private property <b>Volumes </b>changes.
|
|
109
|
-
* Added in OcaLibrary Version 2.
|
|
110
138
|
*/
|
|
111
139
|
/**
|
|
112
|
-
* This event is emitted when the property VolumeType changes in the remote object.
|
|
140
|
+
* This event is emitted when the property ``VolumeType`` changes in the remote object.
|
|
113
141
|
* The property ``VolumeType`` is described in the AES70 standard as follows.
|
|
114
142
|
* Type of library volumes:
|
|
115
143
|
*
|
|
116
144
|
* @member {PropertyEvent<OcaLibVolType>} OcaLibrary#OnVolumeTypeChanged
|
|
117
145
|
*/
|
|
118
146
|
/**
|
|
119
|
-
* This event is emitted when the property Access changes in the remote object.
|
|
147
|
+
* This event is emitted when the property ``Access`` changes in the remote object.
|
|
120
148
|
* The property ``Access`` is described in the AES70 standard as follows.
|
|
121
149
|
* Readonly, read-expand, or full.
|
|
122
150
|
*
|
|
123
151
|
* @member {PropertyEvent<OcaLibAccess>} OcaLibrary#OnAccessChanged
|
|
124
152
|
*/
|
|
125
153
|
/**
|
|
126
|
-
* This event is emitted when the property Volumes changes in the remote object.
|
|
154
|
+
* This event is emitted when the property ``Volumes`` changes in the remote object.
|
|
127
155
|
* The property ``Volumes`` is described in the AES70 standard as follows.
|
|
128
156
|
* Map of volumes held in the Library. Changed in version 2 because the
|
|
129
|
-
* definition of OcaLibVolMetaData, which is part of OcaLibVol, has
|
|
130
|
-
*
|
|
131
|
-
*
|
|
157
|
+
* definition of OcaLibVolMetaData, which is part of OcaLibVol, has changed, and
|
|
158
|
+
* because it is now a private property whose changes are signaled by the
|
|
159
|
+
* **OcaLibVolChanged** event.
|
|
132
160
|
*
|
|
133
161
|
* @member {PropertyEvent<Map<number, OcaLibVol>>} OcaLibrary#OnVolumesChanged
|
|
134
162
|
*/
|
|
@@ -1,20 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { IOcaLibVolIdentifier } from '../../types/OcaLibVolIdentifier';
|
|
1
|
+
import {
|
|
2
|
+
IOcaLibVolIdentifier,
|
|
3
|
+
OcaLibVolIdentifier,
|
|
4
|
+
} from '../../types/OcaLibVolIdentifier';
|
|
6
5
|
import { IOcaLibVolType } from '../../types/OcaLibVolType';
|
|
7
|
-
import { OcaLibVolIdentifier } from '../../types/OcaLibVolIdentifier';
|
|
8
6
|
import { OcaLibraryIdentifier } from '../../types/OcaLibraryIdentifier';
|
|
7
|
+
import { PropertyEvent } from '../property_event';
|
|
8
|
+
import { RemoteDevice } from '../remote_device';
|
|
9
|
+
import { OcaManager } from './OcaManager';
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
12
|
* Optional manager for handling device presets -- Patch and ParamSet libraries.
|
|
12
13
|
*
|
|
13
|
-
* - May be instantiated once in any device.
|
|
14
14
|
*
|
|
15
|
+
* - May be instantiated once in any device.
|
|
15
16
|
*
|
|
16
17
|
* - If instantiated, object number must be 8.
|
|
17
18
|
*
|
|
19
|
+
*
|
|
18
20
|
* @extends OcaManager
|
|
19
21
|
* @class OcaLibraryManager
|
|
20
22
|
*/
|
|
@@ -32,10 +34,11 @@ export declare class OcaLibraryManager extends OcaManager {
|
|
|
32
34
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
33
35
|
|
|
34
36
|
/**
|
|
35
|
-
* Adds a library to the device. Return value indicates whether the library
|
|
37
|
+
* Adds a library to the device. Return value indicates whether the library
|
|
38
|
+
* was successfully added.
|
|
36
39
|
*
|
|
37
40
|
* @method OcaLibraryManager#AddLibrary
|
|
38
|
-
* @param {
|
|
41
|
+
* @param {IOcaLibVolType} Type
|
|
39
42
|
*
|
|
40
43
|
* @returns {Promise<OcaLibraryIdentifier>}
|
|
41
44
|
* A promise which resolves to a single value of type :class:`OcaLibraryIdentifier`.
|
|
@@ -53,10 +56,11 @@ export declare class OcaLibraryManager extends OcaManager {
|
|
|
53
56
|
DeleteLibrary(ID: number): Promise<void>;
|
|
54
57
|
|
|
55
58
|
/**
|
|
56
|
-
* Returns the number of libraries of the given type that are instantiated in
|
|
59
|
+
* Returns the number of libraries of the given type that are instantiated in
|
|
60
|
+
* the device..
|
|
57
61
|
*
|
|
58
62
|
* @method OcaLibraryManager#GetLibraryCount
|
|
59
|
-
* @param {
|
|
63
|
+
* @param {IOcaLibVolType} Type
|
|
60
64
|
*
|
|
61
65
|
* @returns {Promise<number>}
|
|
62
66
|
* A promise which resolves to a single value of type ``number``.
|
|
@@ -64,18 +68,20 @@ export declare class OcaLibraryManager extends OcaManager {
|
|
|
64
68
|
GetLibraryCount(Type: IOcaLibVolType): Promise<number>;
|
|
65
69
|
|
|
66
70
|
/**
|
|
67
|
-
* Returns the list of object numbers of libraries of libraries of the given
|
|
71
|
+
* Returns the list of object numbers of libraries of libraries of the given
|
|
72
|
+
* type that are instantiated in the device.
|
|
68
73
|
*
|
|
69
74
|
* @method OcaLibraryManager#GetLibraryList
|
|
70
|
-
* @param {
|
|
75
|
+
* @param {IOcaLibVolType} Type
|
|
71
76
|
*
|
|
72
77
|
* @returns {Promise<OcaLibraryIdentifier[]>}
|
|
73
|
-
* A promise which resolves to a single value of type
|
|
78
|
+
* A promise which resolves to a single value of type :class:`OcaLibraryIdentifier[]`.
|
|
74
79
|
*/
|
|
75
80
|
GetLibraryList(Type: IOcaLibVolType): Promise<OcaLibraryIdentifier[]>;
|
|
76
81
|
|
|
77
82
|
/**
|
|
78
|
-
* Return the identifier of the most recently applied patch. The return value
|
|
83
|
+
* Return the identifier of the most recently applied patch. The return value
|
|
84
|
+
* indicates whether the method succeeded.
|
|
79
85
|
*
|
|
80
86
|
* @method OcaLibraryManager#GetCurrentPatch
|
|
81
87
|
* @returns {Promise<OcaLibVolIdentifier>}
|
|
@@ -87,7 +93,7 @@ export declare class OcaLibraryManager extends OcaManager {
|
|
|
87
93
|
* Apply a patch to the device.
|
|
88
94
|
*
|
|
89
95
|
* @method OcaLibraryManager#ApplyPatch
|
|
90
|
-
* @param {
|
|
96
|
+
* @param {IOcaLibVolIdentifier} ID
|
|
91
97
|
*
|
|
92
98
|
* @returns {Promise<void>}
|
|
93
99
|
*/
|
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { make_control_class } from '../make_control_class.js';
|
|
2
|
-
import { OcaManager } from './OcaManager.js';
|
|
3
1
|
import { OcaLibVolIdentifier } from '../../OCP1/OcaLibVolIdentifier.js';
|
|
4
2
|
import { OcaLibVolType } from '../../OCP1/OcaLibVolType.js';
|
|
5
3
|
import { OcaLibraryIdentifier } from '../../OCP1/OcaLibraryIdentifier.js';
|
|
6
4
|
import { OcaList } from '../../OCP1/OcaList.js';
|
|
7
5
|
import { OcaUint16 } from '../../OCP1/OcaUint16.js';
|
|
8
6
|
import { OcaUint32 } from '../../OCP1/OcaUint32.js';
|
|
7
|
+
import { make_control_class } from '../make_control_class.js';
|
|
8
|
+
import { OcaManager } from './OcaManager.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Optional manager for handling device presets -- Patch and ParamSet libraries.
|
|
12
12
|
*
|
|
13
|
-
* - May be instantiated once in any device.
|
|
14
13
|
*
|
|
14
|
+
* - May be instantiated once in any device.
|
|
15
15
|
*
|
|
16
16
|
* - If instantiated, object number must be 8.
|
|
17
17
|
*
|
|
18
|
+
*
|
|
18
19
|
* @extends OcaManager
|
|
19
20
|
* @class OcaLibraryManager
|
|
20
21
|
*/
|
|
@@ -40,10 +41,11 @@ export const OcaLibraryManager = make_control_class(
|
|
|
40
41
|
);
|
|
41
42
|
|
|
42
43
|
/**
|
|
43
|
-
* Adds a library to the device. Return value indicates whether the library was
|
|
44
|
+
* Adds a library to the device. Return value indicates whether the library was
|
|
45
|
+
* successfully added.
|
|
44
46
|
*
|
|
45
47
|
* @method OcaLibraryManager#AddLibrary
|
|
46
|
-
* @param {
|
|
48
|
+
* @param {IOcaLibVolType} Type
|
|
47
49
|
*
|
|
48
50
|
* @returns {Promise<OcaLibraryIdentifier>}
|
|
49
51
|
* A promise which resolves to a single value of type :class:`OcaLibraryIdentifier`.
|
|
@@ -57,25 +59,28 @@ export const OcaLibraryManager = make_control_class(
|
|
|
57
59
|
* @returns {Promise<void>}
|
|
58
60
|
*/
|
|
59
61
|
/**
|
|
60
|
-
* Returns the number of libraries of the given type that are instantiated in
|
|
62
|
+
* Returns the number of libraries of the given type that are instantiated in
|
|
63
|
+
* the device..
|
|
61
64
|
*
|
|
62
65
|
* @method OcaLibraryManager#GetLibraryCount
|
|
63
|
-
* @param {
|
|
66
|
+
* @param {IOcaLibVolType} Type
|
|
64
67
|
*
|
|
65
68
|
* @returns {Promise<number>}
|
|
66
69
|
* A promise which resolves to a single value of type ``number``.
|
|
67
70
|
*/
|
|
68
71
|
/**
|
|
69
|
-
* Returns the list of object numbers of libraries of libraries of the given
|
|
72
|
+
* Returns the list of object numbers of libraries of libraries of the given
|
|
73
|
+
* type that are instantiated in the device.
|
|
70
74
|
*
|
|
71
75
|
* @method OcaLibraryManager#GetLibraryList
|
|
72
|
-
* @param {
|
|
76
|
+
* @param {IOcaLibVolType} Type
|
|
73
77
|
*
|
|
74
78
|
* @returns {Promise<OcaLibraryIdentifier[]>}
|
|
75
|
-
* A promise which resolves to a single value of type
|
|
79
|
+
* A promise which resolves to a single value of type :class:`OcaLibraryIdentifier[]`.
|
|
76
80
|
*/
|
|
77
81
|
/**
|
|
78
|
-
* Return the identifier of the most recently applied patch. The return value
|
|
82
|
+
* Return the identifier of the most recently applied patch. The return value
|
|
83
|
+
* indicates whether the method succeeded.
|
|
79
84
|
*
|
|
80
85
|
* @method OcaLibraryManager#GetCurrentPatch
|
|
81
86
|
* @returns {Promise<OcaLibVolIdentifier>}
|
|
@@ -85,23 +90,23 @@ export const OcaLibraryManager = make_control_class(
|
|
|
85
90
|
* Apply a patch to the device.
|
|
86
91
|
*
|
|
87
92
|
* @method OcaLibraryManager#ApplyPatch
|
|
88
|
-
* @param {
|
|
93
|
+
* @param {IOcaLibVolIdentifier} ID
|
|
89
94
|
*
|
|
90
95
|
* @returns {Promise<void>}
|
|
91
96
|
*/
|
|
92
97
|
/**
|
|
93
|
-
* This event is emitted when the property Libraries changes in the remote object.
|
|
98
|
+
* This event is emitted when the property ``Libraries`` changes in the remote object.
|
|
94
99
|
* The property ``Libraries`` is described in the AES70 standard as follows.
|
|
95
100
|
* List of identifiers of all libraries in the device.
|
|
96
101
|
*
|
|
97
102
|
* @member {PropertyEvent<OcaLibraryIdentifier[]>} OcaLibraryManager#OnLibrariesChanged
|
|
98
103
|
*/
|
|
99
104
|
/**
|
|
100
|
-
* This event is emitted when the property CurrentPatch changes in the remote object.
|
|
105
|
+
* This event is emitted when the property ``CurrentPatch`` changes in the remote object.
|
|
101
106
|
* The property ``CurrentPatch`` is described in the AES70 standard as follows.
|
|
102
|
-
* Library volume identifier of the most-recently applied patch in this
|
|
103
|
-
*
|
|
104
|
-
*
|
|
107
|
+
* Library volume identifier of the most-recently applied patch in this device.
|
|
108
|
+
* Changing the value of this property applies the patch represented by the new
|
|
109
|
+
* value.
|
|
105
110
|
*
|
|
106
111
|
* @member {PropertyEvent<OcaLibVolIdentifier>} OcaLibraryManager#OnCurrentPatchChanged
|
|
107
112
|
*/
|
|
@@ -2,7 +2,10 @@ import { RemoteDevice } from '../remote_device';
|
|
|
2
2
|
import { OcaRoot } from './OcaRoot';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
* Abstract base class for classes that represent non-audio (i.e. control and
|
|
5
|
+
* Abstract base class for classes that represent non-audio (i.e. control and
|
|
6
|
+
* monitoring) functions. All concrete manager objects are lockable (the
|
|
7
|
+
* constructor of this class initializes the Root object with property Lockable
|
|
8
|
+
* true).
|
|
6
9
|
* @extends OcaRoot
|
|
7
10
|
* @class OcaManager
|
|
8
11
|
*/
|
|
@@ -2,7 +2,10 @@ import { make_control_class } from '../make_control_class.js';
|
|
|
2
2
|
import { OcaRoot } from './OcaRoot.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
* Abstract base class for classes that represent non-audio (i.e. control and
|
|
5
|
+
* Abstract base class for classes that represent non-audio (i.e. control and
|
|
6
|
+
* monitoring) functions. All concrete manager objects are lockable (the
|
|
7
|
+
* constructor of this class initializes the Root object with property Lockable
|
|
8
|
+
* true).
|
|
6
9
|
* @extends OcaRoot
|
|
7
10
|
* @class OcaManager
|
|
8
11
|
*/
|
|
@@ -1,11 +1,51 @@
|
|
|
1
|
-
import { RemoteDevice } from '../remote_device';
|
|
2
|
-
import { OcaWorker } from './OcaWorker';
|
|
3
1
|
import { Arguments } from '../arguments';
|
|
4
|
-
|
|
5
2
|
import { PropertyEvent } from '../property_event';
|
|
3
|
+
import { RemoteDevice } from '../remote_device';
|
|
4
|
+
import { OcaWorker } from './OcaWorker';
|
|
6
5
|
|
|
7
6
|
/**
|
|
8
|
-
* A matrix is a rectangular array of identical objects ("
|
|
7
|
+
* A matrix is a rectangular array of identical objects ("**members**") that is
|
|
8
|
+
* coordinate addressable and has sets of common input and output ports. The
|
|
9
|
+
* matrix host does not instantiate these objects, but instead mediates the
|
|
10
|
+
* coordinate addressing, implements the common input and output ports, and
|
|
11
|
+
* provdes certain other aggregate functions. Matrix members may be workers
|
|
12
|
+
* (including blocks), or agents. All members of a matrix must be of the same
|
|
13
|
+
* class. No object may belong to more than one matrix at a time. No object may
|
|
14
|
+
* appear more than once in a given matrix. The complete model of an OCA matrix
|
|
15
|
+
* consists of: 1. One instance of **OcaMatrix.** 2. **(N x M) members**, where
|
|
16
|
+
* each member is an instance of a worker or agent class. For any given matrix,
|
|
17
|
+
* this class must be the same for all members, and is referred to as the
|
|
18
|
+
* **member class.** Members are sometimes referred to as **cells** of the
|
|
19
|
+
* matrix. 3. One additional instance of the member class, called the **matrix
|
|
20
|
+
* proxy.** Thus, the **OcaMatrix** instance is a container for the
|
|
21
|
+
* two-dimensional collection of its members. Once a matrix is set up, the
|
|
22
|
+
* controller may get and set member properties by the following procedures:
|
|
23
|
+
* **Get** To get a property value of member (x :sub:`1`, y :sub:`1`): 1.
|
|
24
|
+
* Controller calls **OcaMatrix.SetXY(x1, y1)**. This action: - locks the
|
|
25
|
+
* **OcaMatrix** instance, and - posts x :sub:`1` and y :sub:`1` as coordinates
|
|
26
|
+
* of the object whose property value is to be retrieved. 2. Controller calls
|
|
27
|
+
* the matrix proxy's **Get** method for the property value desired. This action
|
|
28
|
+
* causes the **OcaMatrix** instance to: - decode the posted x :sub:`1` and y
|
|
29
|
+
* :sub:`1` values into a member ONo. - call the given **Get** method for the
|
|
30
|
+
* object identified by the decoded ONo. - aggregate the **OcaResult** from each
|
|
31
|
+
* **Get** call into a consolidated **OcaResult**. - unlock the **OcaMatrix**
|
|
32
|
+
* instance. - return the consolidated **OcaResult** to the controller. **Set**
|
|
33
|
+
* ** **To set a property value of member (x :sub:`1`, y :sub:`1`), or of row
|
|
34
|
+
* (0, y :sub:`1`) or column (x :sub:`1`, 0) or whole matrix (0,0) 1. Controller
|
|
35
|
+
* calls **OcaMatrix.SetXY(x1, y1)**. This action: - locks the **OcaMatrix**
|
|
36
|
+
* instance, and - posts x :sub:`1` and y :sub:`1` as coordinates of the object
|
|
37
|
+
* whose property value is to be changed. 2. Controller calls the matrix proxy's
|
|
38
|
+
* **Set** method for the target property. This action causes the **OcaMatrix**
|
|
39
|
+
* instance to: - decode the posted x :sub:`1` and y :sub:`1` values into a list
|
|
40
|
+
* of target member ONos, as follows: If x :sub:`1` > 0 and y :sub:`1` > 0, the
|
|
41
|
+
* list will be the single ONo of the addressed cell. If x :sub:`1` = 0 and y
|
|
42
|
+
* :sub:`1` > 0, the list will be the list of ONos of the cells in row y
|
|
43
|
+
* :sub:`1` . If x :sub:`1` > 0 and y :sub:`1` = 0, the list will be the list of
|
|
44
|
+
* ONos of the cells in column x :sub:`1`. If x :sub:`1` = 0 and y :sub:`1` = 0,
|
|
45
|
+
* the list will be the list of ONos of all cells of the matrix. - call the
|
|
46
|
+
* given **Set** method for each target member in the ONo list. - aggregate the
|
|
47
|
+
* **OcaResult** from each **Set** call into a consolidated **OcaResult**. -
|
|
48
|
+
* unlock the **OcaMatrix** instance.
|
|
9
49
|
* @extends OcaWorker
|
|
10
50
|
* @class OcaMatrix
|
|
11
51
|
*/
|
|
@@ -53,7 +93,9 @@ export declare class OcaMatrix extends OcaWorker {
|
|
|
53
93
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
54
94
|
|
|
55
95
|
/**
|
|
56
|
-
* Gets coordinates of the currently active area (cell, row, column, or whole
|
|
96
|
+
* Gets coordinates of the currently active area (cell, row, column, or whole
|
|
97
|
+
* matrix). The returned status indicates whether the operation was
|
|
98
|
+
* successful.
|
|
57
99
|
* The return values of this method are
|
|
58
100
|
*
|
|
59
101
|
* - x of type ``number``
|
|
@@ -65,11 +107,11 @@ export declare class OcaMatrix extends OcaWorker {
|
|
|
65
107
|
GetCurrentXY(): Promise<Arguments<[number, number]>>;
|
|
66
108
|
|
|
67
109
|
/**
|
|
68
|
-
* Sets the currently active area (cell, row, column, or whole matrix). The
|
|
110
|
+
* Sets the currently active area (cell, row, column, or whole matrix). The
|
|
111
|
+
* returned status indicates whether the operation was successful.
|
|
69
112
|
*
|
|
70
113
|
* @method OcaMatrix#SetCurrentXY
|
|
71
114
|
* @param {number} x
|
|
72
|
-
*
|
|
73
115
|
* @param {number} y
|
|
74
116
|
*
|
|
75
117
|
* @returns {Promise<void>}
|
|
@@ -77,7 +119,8 @@ export declare class OcaMatrix extends OcaWorker {
|
|
|
77
119
|
SetCurrentXY(x: number, y: number): Promise<void>;
|
|
78
120
|
|
|
79
121
|
/**
|
|
80
|
-
* Gets the matrix size. The returned status indicates whether the operation
|
|
122
|
+
* Gets the matrix size. The returned status indicates whether the operation
|
|
123
|
+
* was successful.
|
|
81
124
|
* The return values of this method are
|
|
82
125
|
*
|
|
83
126
|
* - xSize of type ``number``
|
|
@@ -95,11 +138,11 @@ export declare class OcaMatrix extends OcaWorker {
|
|
|
95
138
|
>;
|
|
96
139
|
|
|
97
140
|
/**
|
|
98
|
-
* Sets the matrix size. The returned status indicates whether the operation
|
|
141
|
+
* Sets the matrix size. The returned status indicates whether the operation
|
|
142
|
+
* was successful. This method will not be available for fixed-size matrices.
|
|
99
143
|
*
|
|
100
144
|
* @method OcaMatrix#SetSize
|
|
101
145
|
* @param {number} xSize
|
|
102
|
-
*
|
|
103
146
|
* @param {number} ySize
|
|
104
147
|
*
|
|
105
148
|
* @returns {Promise<void>}
|
|
@@ -107,7 +150,8 @@ export declare class OcaMatrix extends OcaWorker {
|
|
|
107
150
|
SetSize(xSize: number, ySize: number): Promise<void>;
|
|
108
151
|
|
|
109
152
|
/**
|
|
110
|
-
* Retrieves the 2D array of member object numbers. Cells for which no member
|
|
153
|
+
* Retrieves the 2D array of member object numbers. Cells for which no member
|
|
154
|
+
* has been defined will return Zero as the object number.
|
|
111
155
|
*
|
|
112
156
|
* @method OcaMatrix#GetMembers
|
|
113
157
|
* @returns {Promise<number[][]>}
|
|
@@ -116,7 +160,8 @@ export declare class OcaMatrix extends OcaWorker {
|
|
|
116
160
|
GetMembers(): Promise<number[][]>;
|
|
117
161
|
|
|
118
162
|
/**
|
|
119
|
-
* Sets the entire 2D array of member object numbers. Row and column size of
|
|
163
|
+
* Sets the entire 2D array of member object numbers. Row and column size of
|
|
164
|
+
* the **members** parameter must be equal to the current size of the matrix.
|
|
120
165
|
*
|
|
121
166
|
* @method OcaMatrix#SetMembers
|
|
122
167
|
* @param {number[][]} members
|
|
@@ -126,11 +171,11 @@ export declare class OcaMatrix extends OcaWorker {
|
|
|
126
171
|
SetMembers(members: number[][]): Promise<void>;
|
|
127
172
|
|
|
128
173
|
/**
|
|
129
|
-
* Retrieves the object number of the member at position (x,y). If no member
|
|
174
|
+
* Retrieves the object number of the member at position (x,y). If no member
|
|
175
|
+
* is defined at this position, returns an object number value of Zero.
|
|
130
176
|
*
|
|
131
177
|
* @method OcaMatrix#GetMember
|
|
132
178
|
* @param {number} x
|
|
133
|
-
*
|
|
134
179
|
* @param {number} y
|
|
135
180
|
*
|
|
136
181
|
* @returns {Promise<number>}
|
|
@@ -139,13 +184,12 @@ export declare class OcaMatrix extends OcaWorker {
|
|
|
139
184
|
GetMember(x: number, y: number): Promise<number>;
|
|
140
185
|
|
|
141
186
|
/**
|
|
142
|
-
* Installs a particular object as a member at position (x,y). If another
|
|
187
|
+
* Installs a particular object as a member at position (x,y). If another
|
|
188
|
+
* object was at this position, it is removed.
|
|
143
189
|
*
|
|
144
190
|
* @method OcaMatrix#SetMember
|
|
145
191
|
* @param {number} x
|
|
146
|
-
*
|
|
147
192
|
* @param {number} y
|
|
148
|
-
*
|
|
149
193
|
* @param {number} memberONo
|
|
150
194
|
*
|
|
151
195
|
* @returns {Promise<void>}
|
|
@@ -210,11 +254,12 @@ export declare class OcaMatrix extends OcaWorker {
|
|
|
210
254
|
SetPortsPerColumn(Ports: number): Promise<void>;
|
|
211
255
|
|
|
212
256
|
/**
|
|
213
|
-
* Sets the currently active area (cell, row, column, or whole matrix) and
|
|
257
|
+
* Sets the currently active area (cell, row, column, or whole matrix) and
|
|
258
|
+
* locks it. Fails if the referenced members cannot all be locked. The
|
|
259
|
+
* returned status indicates whether the operation was successful.
|
|
214
260
|
*
|
|
215
261
|
* @method OcaMatrix#SetCurrentXYLock
|
|
216
262
|
* @param {number} x
|
|
217
|
-
*
|
|
218
263
|
* @param {number} y
|
|
219
264
|
*
|
|
220
265
|
* @returns {Promise<void>}
|
|
@@ -222,7 +267,11 @@ export declare class OcaMatrix extends OcaWorker {
|
|
|
222
267
|
SetCurrentXYLock(x: number, y: number): Promise<void>;
|
|
223
268
|
|
|
224
269
|
/**
|
|
225
|
-
* Unlocks the currently active area of the matrix. Fails if all the members
|
|
270
|
+
* Unlocks the currently active area of the matrix. Fails if all the members
|
|
271
|
+
* of the currently active area cannot be unlocked. Failure is not triggered
|
|
272
|
+
* if one or more members of the currently active area are already unlocked at
|
|
273
|
+
* the time Unlock() is called. The returned status indicates whether the
|
|
274
|
+
* operation was successful.
|
|
226
275
|
*
|
|
227
276
|
* @method OcaMatrix#UnlockCurrent
|
|
228
277
|
* @returns {Promise<void>}
|