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,12 +1,53 @@
|
|
|
1
|
-
import { make_control_class } from '../make_control_class.js';
|
|
2
|
-
import { OcaWorker } from './OcaWorker.js';
|
|
3
1
|
import { OcaList2D } from '../../OCP1/OcaList2D.js';
|
|
4
2
|
import { OcaUint16 } from '../../OCP1/OcaUint16.js';
|
|
5
3
|
import { OcaUint32 } from '../../OCP1/OcaUint32.js';
|
|
6
4
|
import { OcaUint8 } from '../../OCP1/OcaUint8.js';
|
|
5
|
+
import { make_control_class } from '../make_control_class.js';
|
|
6
|
+
import { OcaWorker } from './OcaWorker.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* A matrix is a rectangular array of identical objects ("
|
|
9
|
+
* A matrix is a rectangular array of identical objects ("**members**") that is
|
|
10
|
+
* coordinate addressable and has sets of common input and output ports. The
|
|
11
|
+
* matrix host does not instantiate these objects, but instead mediates the
|
|
12
|
+
* coordinate addressing, implements the common input and output ports, and
|
|
13
|
+
* provdes certain other aggregate functions. Matrix members may be workers
|
|
14
|
+
* (including blocks), or agents. All members of a matrix must be of the same
|
|
15
|
+
* class. No object may belong to more than one matrix at a time. No object may
|
|
16
|
+
* appear more than once in a given matrix. The complete model of an OCA matrix
|
|
17
|
+
* consists of: 1. One instance of **OcaMatrix.** 2. **(N x M) members**, where
|
|
18
|
+
* each member is an instance of a worker or agent class. For any given matrix,
|
|
19
|
+
* this class must be the same for all members, and is referred to as the
|
|
20
|
+
* **member class.** Members are sometimes referred to as **cells** of the
|
|
21
|
+
* matrix. 3. One additional instance of the member class, called the **matrix
|
|
22
|
+
* proxy.** Thus, the **OcaMatrix** instance is a container for the
|
|
23
|
+
* two-dimensional collection of its members. Once a matrix is set up, the
|
|
24
|
+
* controller may get and set member properties by the following procedures:
|
|
25
|
+
* **Get** To get a property value of member (x :sub:`1`, y :sub:`1`): 1.
|
|
26
|
+
* Controller calls **OcaMatrix.SetXY(x1, y1)**. This action: - locks the
|
|
27
|
+
* **OcaMatrix** instance, and - posts x :sub:`1` and y :sub:`1` as coordinates
|
|
28
|
+
* of the object whose property value is to be retrieved. 2. Controller calls
|
|
29
|
+
* the matrix proxy's **Get** method for the property value desired. This action
|
|
30
|
+
* causes the **OcaMatrix** instance to: - decode the posted x :sub:`1` and y
|
|
31
|
+
* :sub:`1` values into a member ONo. - call the given **Get** method for the
|
|
32
|
+
* object identified by the decoded ONo. - aggregate the **OcaResult** from each
|
|
33
|
+
* **Get** call into a consolidated **OcaResult**. - unlock the **OcaMatrix**
|
|
34
|
+
* instance. - return the consolidated **OcaResult** to the controller. **Set**
|
|
35
|
+
* ** **To set a property value of member (x :sub:`1`, y :sub:`1`), or of row
|
|
36
|
+
* (0, y :sub:`1`) or column (x :sub:`1`, 0) or whole matrix (0,0) 1. Controller
|
|
37
|
+
* calls **OcaMatrix.SetXY(x1, y1)**. This action: - locks the **OcaMatrix**
|
|
38
|
+
* instance, and - posts x :sub:`1` and y :sub:`1` as coordinates of the object
|
|
39
|
+
* whose property value is to be changed. 2. Controller calls the matrix proxy's
|
|
40
|
+
* **Set** method for the target property. This action causes the **OcaMatrix**
|
|
41
|
+
* instance to: - decode the posted x :sub:`1` and y :sub:`1` values into a list
|
|
42
|
+
* of target member ONos, as follows: If x :sub:`1` > 0 and y :sub:`1` > 0, the
|
|
43
|
+
* list will be the single ONo of the addressed cell. If x :sub:`1` = 0 and y
|
|
44
|
+
* :sub:`1` > 0, the list will be the list of ONos of the cells in row y
|
|
45
|
+
* :sub:`1` . If x :sub:`1` > 0 and y :sub:`1` = 0, the list will be the list of
|
|
46
|
+
* ONos of the cells in column x :sub:`1`. If x :sub:`1` = 0 and y :sub:`1` = 0,
|
|
47
|
+
* the list will be the list of ONos of all cells of the matrix. - call the
|
|
48
|
+
* given **Set** method for each target member in the ONo list. - aggregate the
|
|
49
|
+
* **OcaResult** from each **Set** call into a consolidated **OcaResult**. -
|
|
50
|
+
* unlock the **OcaMatrix** instance.
|
|
10
51
|
* @extends OcaWorker
|
|
11
52
|
* @class OcaMatrix
|
|
12
53
|
*/
|
|
@@ -54,7 +95,8 @@ export const OcaMatrix = make_control_class(
|
|
|
54
95
|
);
|
|
55
96
|
|
|
56
97
|
/**
|
|
57
|
-
* Gets coordinates of the currently active area (cell, row, column, or whole
|
|
98
|
+
* Gets coordinates of the currently active area (cell, row, column, or whole
|
|
99
|
+
* matrix). The returned status indicates whether the operation was successful.
|
|
58
100
|
* The return values of this method are
|
|
59
101
|
*
|
|
60
102
|
* - x of type ``number``
|
|
@@ -64,17 +106,18 @@ export const OcaMatrix = make_control_class(
|
|
|
64
106
|
* @returns {Promise<Arguments<number,number>>}
|
|
65
107
|
*/
|
|
66
108
|
/**
|
|
67
|
-
* Sets the currently active area (cell, row, column, or whole matrix). The
|
|
109
|
+
* Sets the currently active area (cell, row, column, or whole matrix). The
|
|
110
|
+
* returned status indicates whether the operation was successful.
|
|
68
111
|
*
|
|
69
112
|
* @method OcaMatrix#SetCurrentXY
|
|
70
113
|
* @param {number} x
|
|
71
|
-
*
|
|
72
114
|
* @param {number} y
|
|
73
115
|
*
|
|
74
116
|
* @returns {Promise<void>}
|
|
75
117
|
*/
|
|
76
118
|
/**
|
|
77
|
-
* Gets the matrix size. The returned status indicates whether the operation was
|
|
119
|
+
* Gets the matrix size. The returned status indicates whether the operation was
|
|
120
|
+
* successful.
|
|
78
121
|
* The return values of this method are
|
|
79
122
|
*
|
|
80
123
|
* - xSize of type ``number``
|
|
@@ -88,24 +131,26 @@ export const OcaMatrix = make_control_class(
|
|
|
88
131
|
* @returns {Promise<Arguments<number,number,number,number,number,number>>}
|
|
89
132
|
*/
|
|
90
133
|
/**
|
|
91
|
-
* Sets the matrix size. The returned status indicates whether the operation was
|
|
134
|
+
* Sets the matrix size. The returned status indicates whether the operation was
|
|
135
|
+
* successful. This method will not be available for fixed-size matrices.
|
|
92
136
|
*
|
|
93
137
|
* @method OcaMatrix#SetSize
|
|
94
138
|
* @param {number} xSize
|
|
95
|
-
*
|
|
96
139
|
* @param {number} ySize
|
|
97
140
|
*
|
|
98
141
|
* @returns {Promise<void>}
|
|
99
142
|
*/
|
|
100
143
|
/**
|
|
101
|
-
* Retrieves the 2D array of member object numbers. Cells for which no member
|
|
144
|
+
* Retrieves the 2D array of member object numbers. Cells for which no member
|
|
145
|
+
* has been defined will return Zero as the object number.
|
|
102
146
|
*
|
|
103
147
|
* @method OcaMatrix#GetMembers
|
|
104
148
|
* @returns {Promise<number[][]>}
|
|
105
149
|
* A promise which resolves to a single value of type ``number[][]``.
|
|
106
150
|
*/
|
|
107
151
|
/**
|
|
108
|
-
* Sets the entire 2D array of member object numbers. Row and column size of the
|
|
152
|
+
* Sets the entire 2D array of member object numbers. Row and column size of the
|
|
153
|
+
* **members** parameter must be equal to the current size of the matrix.
|
|
109
154
|
*
|
|
110
155
|
* @method OcaMatrix#SetMembers
|
|
111
156
|
* @param {number[][]} members
|
|
@@ -113,24 +158,23 @@ export const OcaMatrix = make_control_class(
|
|
|
113
158
|
* @returns {Promise<void>}
|
|
114
159
|
*/
|
|
115
160
|
/**
|
|
116
|
-
* Retrieves the object number of the member at position (x,y). If no member is
|
|
161
|
+
* Retrieves the object number of the member at position (x,y). If no member is
|
|
162
|
+
* defined at this position, returns an object number value of Zero.
|
|
117
163
|
*
|
|
118
164
|
* @method OcaMatrix#GetMember
|
|
119
165
|
* @param {number} x
|
|
120
|
-
*
|
|
121
166
|
* @param {number} y
|
|
122
167
|
*
|
|
123
168
|
* @returns {Promise<number>}
|
|
124
169
|
* A promise which resolves to a single value of type ``number``.
|
|
125
170
|
*/
|
|
126
171
|
/**
|
|
127
|
-
* Installs a particular object as a member at position (x,y). If another object
|
|
172
|
+
* Installs a particular object as a member at position (x,y). If another object
|
|
173
|
+
* was at this position, it is removed.
|
|
128
174
|
*
|
|
129
175
|
* @method OcaMatrix#SetMember
|
|
130
176
|
* @param {number} x
|
|
131
|
-
*
|
|
132
177
|
* @param {number} y
|
|
133
|
-
*
|
|
134
178
|
* @param {number} memberONo
|
|
135
179
|
*
|
|
136
180
|
* @returns {Promise<void>}
|
|
@@ -181,81 +225,85 @@ export const OcaMatrix = make_control_class(
|
|
|
181
225
|
* @returns {Promise<void>}
|
|
182
226
|
*/
|
|
183
227
|
/**
|
|
184
|
-
* Sets the currently active area (cell, row, column, or whole matrix) and locks
|
|
228
|
+
* Sets the currently active area (cell, row, column, or whole matrix) and locks
|
|
229
|
+
* it. Fails if the referenced members cannot all be locked. The returned status
|
|
230
|
+
* indicates whether the operation was successful.
|
|
185
231
|
*
|
|
186
232
|
* @method OcaMatrix#SetCurrentXYLock
|
|
187
233
|
* @param {number} x
|
|
188
|
-
*
|
|
189
234
|
* @param {number} y
|
|
190
235
|
*
|
|
191
236
|
* @returns {Promise<void>}
|
|
192
237
|
*/
|
|
193
238
|
/**
|
|
194
|
-
* Unlocks the currently active area of the matrix. Fails if all the members of
|
|
239
|
+
* Unlocks the currently active area of the matrix. Fails if all the members of
|
|
240
|
+
* the currently active area cannot be unlocked. Failure is not triggered if one
|
|
241
|
+
* or more members of the currently active area are already unlocked at the time
|
|
242
|
+
* Unlock() is called. The returned status indicates whether the operation was
|
|
243
|
+
* successful.
|
|
195
244
|
*
|
|
196
245
|
* @method OcaMatrix#UnlockCurrent
|
|
197
246
|
* @returns {Promise<void>}
|
|
198
247
|
*/
|
|
199
248
|
/**
|
|
200
|
-
* This event is emitted when the property X changes in the remote object.
|
|
249
|
+
* This event is emitted when the property ``X`` changes in the remote object.
|
|
201
250
|
* The property ``X`` is described in the AES70 standard as follows.
|
|
202
|
-
* Active column index. The active column is the column to which matrix
|
|
203
|
-
*
|
|
204
|
-
*
|
|
205
|
-
* matrix.
|
|
251
|
+
* Active column index. The active column is the column to which matrix proxy
|
|
252
|
+
* method calls will be reflected. Value is zero-relative, i.e. the first column
|
|
253
|
+
* is number zero. A value of 65535 means all columns in the matrix.
|
|
206
254
|
*
|
|
207
255
|
* @member {PropertyEvent<number>} OcaMatrix#OnXChanged
|
|
208
256
|
*/
|
|
209
257
|
/**
|
|
210
|
-
* This event is emitted when the property Y changes in the remote object.
|
|
258
|
+
* This event is emitted when the property ``Y`` changes in the remote object.
|
|
211
259
|
* The property ``Y`` is described in the AES70 standard as follows.
|
|
212
|
-
* Active row index. The active row is the row to which matrix proxy
|
|
213
|
-
*
|
|
214
|
-
*
|
|
260
|
+
* Active row index. The active row is the row to which matrix proxy changes
|
|
261
|
+
* will be reflected. Value is zero-relative, i.e. the first row is number zero.
|
|
262
|
+
* A value of 65535 means all rows in the matrix.
|
|
215
263
|
*
|
|
216
264
|
* @member {PropertyEvent<number>} OcaMatrix#OnYChanged
|
|
217
265
|
*/
|
|
218
266
|
/**
|
|
219
|
-
* This event is emitted when the property xSize changes in the remote object.
|
|
267
|
+
* This event is emitted when the property ``xSize`` changes in the remote object.
|
|
220
268
|
* The property ``xSize`` is described in the AES70 standard as follows.
|
|
221
269
|
* Number of columns in the matrix. Readonly in some cases.
|
|
222
270
|
*
|
|
223
271
|
* @member {PropertyEvent<number>} OcaMatrix#OnxSizeChanged
|
|
224
272
|
*/
|
|
225
273
|
/**
|
|
226
|
-
* This event is emitted when the property ySize changes in the remote object.
|
|
274
|
+
* This event is emitted when the property ``ySize`` changes in the remote object.
|
|
227
275
|
* The property ``ySize`` is described in the AES70 standard as follows.
|
|
228
276
|
* Number of rows in the matrix. Readonly in some cases.
|
|
229
277
|
*
|
|
230
278
|
* @member {PropertyEvent<number>} OcaMatrix#OnySizeChanged
|
|
231
279
|
*/
|
|
232
280
|
/**
|
|
233
|
-
* This event is emitted when the property Members changes in the remote object.
|
|
281
|
+
* This event is emitted when the property ``Members`` changes in the remote object.
|
|
234
282
|
* The property ``Members`` is described in the AES70 standard as follows.
|
|
235
283
|
* 2D array of member object numbers.
|
|
236
284
|
*
|
|
237
285
|
* @member {PropertyEvent<number[][]>} OcaMatrix#OnMembersChanged
|
|
238
286
|
*/
|
|
239
287
|
/**
|
|
240
|
-
* This event is emitted when the property Proxy changes in the remote object.
|
|
288
|
+
* This event is emitted when the property ``Proxy`` changes in the remote object.
|
|
241
289
|
* The property ``Proxy`` is described in the AES70 standard as follows.
|
|
242
290
|
* Object number of the matrix proxy.
|
|
243
291
|
*
|
|
244
292
|
* @member {PropertyEvent<number>} OcaMatrix#OnProxyChanged
|
|
245
293
|
*/
|
|
246
294
|
/**
|
|
247
|
-
* This event is emitted when the property PortsPerRow changes in the remote object.
|
|
295
|
+
* This event is emitted when the property ``PortsPerRow`` changes in the remote object.
|
|
248
296
|
* The property ``PortsPerRow`` is described in the AES70 standard as follows.
|
|
249
|
-
* Number of input ports per row- e.g. for a stereo matrix, the value
|
|
250
|
-
*
|
|
297
|
+
* Number of input ports per row- e.g. for a stereo matrix, the value would be
|
|
298
|
+
* 2.
|
|
251
299
|
*
|
|
252
300
|
* @member {PropertyEvent<number>} OcaMatrix#OnPortsPerRowChanged
|
|
253
301
|
*/
|
|
254
302
|
/**
|
|
255
|
-
* This event is emitted when the property PortsPerColumn changes in the remote object.
|
|
303
|
+
* This event is emitted when the property ``PortsPerColumn`` changes in the remote object.
|
|
256
304
|
* The property ``PortsPerColumn`` is described in the AES70 standard as follows.
|
|
257
|
-
* Number of output ports per column - e.g. for a stereo matrix, the
|
|
258
|
-
*
|
|
305
|
+
* Number of output ports per column - e.g. for a stereo matrix, the value would
|
|
306
|
+
* be 2.
|
|
259
307
|
*
|
|
260
308
|
* @member {PropertyEvent<number>} OcaMatrix#OnPortsPerColumnChanged
|
|
261
309
|
*/
|
|
@@ -1,15 +1,19 @@
|
|
|
1
|
+
import { OcaMediaClockLockState } from '../../types/OcaMediaClockLockState';
|
|
2
|
+
import {
|
|
3
|
+
IOcaMediaClockRate,
|
|
4
|
+
OcaMediaClockRate,
|
|
5
|
+
} from '../../types/OcaMediaClockRate';
|
|
6
|
+
import {
|
|
7
|
+
IOcaMediaClockType,
|
|
8
|
+
OcaMediaClockType,
|
|
9
|
+
} from '../../types/OcaMediaClockType';
|
|
10
|
+
import { PropertyEvent } from '../property_event';
|
|
1
11
|
import { RemoteDevice } from '../remote_device';
|
|
2
12
|
import { OcaAgent } from './OcaAgent';
|
|
3
13
|
|
|
4
|
-
import { PropertyEvent } from '../property_event';
|
|
5
|
-
import { IOcaMediaClockRate } from '../../types/OcaMediaClockRate';
|
|
6
|
-
import { IOcaMediaClockType } from '../../types/OcaMediaClockType';
|
|
7
|
-
import { OcaMediaClockLockState } from '../../types/OcaMediaClockLockState';
|
|
8
|
-
import { OcaMediaClockRate } from '../../types/OcaMediaClockRate';
|
|
9
|
-
import { OcaMediaClockType } from '../../types/OcaMediaClockType';
|
|
10
|
-
|
|
11
14
|
/**
|
|
12
|
-
*
|
|
15
|
+
* **DEPRECATED CLASS** *Replaced by* **OcaMediaClock3** A media clock, internal
|
|
16
|
+
* or external.
|
|
13
17
|
* @extends OcaAgent
|
|
14
18
|
* @class OcaMediaClock
|
|
15
19
|
*/
|
|
@@ -42,7 +46,8 @@ export declare class OcaMediaClock extends OcaAgent {
|
|
|
42
46
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
43
47
|
|
|
44
48
|
/**
|
|
45
|
-
* Gets the value of the
|
|
49
|
+
* Gets the value of the **Type** property. The return value indicates whether
|
|
50
|
+
* the value was successfully retrieved.
|
|
46
51
|
*
|
|
47
52
|
* @method OcaMediaClock#GetType
|
|
48
53
|
* @returns {Promise<OcaMediaClockType>}
|
|
@@ -51,17 +56,20 @@ export declare class OcaMediaClock extends OcaAgent {
|
|
|
51
56
|
GetType(): Promise<OcaMediaClockType>;
|
|
52
57
|
|
|
53
58
|
/**
|
|
54
|
-
* Sets the value of the
|
|
59
|
+
* Sets the value of the **Type** property. The return value indicates whether
|
|
60
|
+
* the value was successfully set. Optional method, may not be supported in
|
|
61
|
+
* all implementations.
|
|
55
62
|
*
|
|
56
63
|
* @method OcaMediaClock#SetType
|
|
57
|
-
* @param {
|
|
64
|
+
* @param {IOcaMediaClockType} Type
|
|
58
65
|
*
|
|
59
66
|
* @returns {Promise<void>}
|
|
60
67
|
*/
|
|
61
68
|
SetType(Type: IOcaMediaClockType): Promise<void>;
|
|
62
69
|
|
|
63
70
|
/**
|
|
64
|
-
* Gets the value of the
|
|
71
|
+
* Gets the value of the **DomainID** property. The return value indicates
|
|
72
|
+
* whether the value was successfully retrieved.
|
|
65
73
|
*
|
|
66
74
|
* @method OcaMediaClock#GetDomainID
|
|
67
75
|
* @returns {Promise<number>}
|
|
@@ -70,7 +78,9 @@ export declare class OcaMediaClock extends OcaAgent {
|
|
|
70
78
|
GetDomainID(): Promise<number>;
|
|
71
79
|
|
|
72
80
|
/**
|
|
73
|
-
* Sets the value of the
|
|
81
|
+
* Sets the value of the **DomainID** property. The return value indicates
|
|
82
|
+
* whether the value was successfully set. Optional method, may not be
|
|
83
|
+
* supported in all implementations.
|
|
74
84
|
*
|
|
75
85
|
* @method OcaMediaClock#SetDomainID
|
|
76
86
|
* @param {number} ID
|
|
@@ -80,16 +90,18 @@ export declare class OcaMediaClock extends OcaAgent {
|
|
|
80
90
|
SetDomainID(ID: number): Promise<void>;
|
|
81
91
|
|
|
82
92
|
/**
|
|
83
|
-
* Gets the list of supported sampling rates. The return value indicates
|
|
93
|
+
* Gets the list of supported sampling rates. The return value indicates
|
|
94
|
+
* whether the list was successfully retrieved.
|
|
84
95
|
*
|
|
85
96
|
* @method OcaMediaClock#GetSupportedRates
|
|
86
97
|
* @returns {Promise<OcaMediaClockRate[]>}
|
|
87
|
-
* A promise which resolves to a single value of type
|
|
98
|
+
* A promise which resolves to a single value of type :class:`OcaMediaClockRate[]`.
|
|
88
99
|
*/
|
|
89
100
|
GetSupportedRates(): Promise<OcaMediaClockRate[]>;
|
|
90
101
|
|
|
91
102
|
/**
|
|
92
|
-
* Gets the current sampling rate. The return value indicates whether the
|
|
103
|
+
* Gets the current sampling rate. The return value indicates whether the
|
|
104
|
+
* value was successfully retrieved.
|
|
93
105
|
*
|
|
94
106
|
* @method OcaMediaClock#GetCurrentRate
|
|
95
107
|
* @returns {Promise<OcaMediaClockRate>}
|
|
@@ -98,17 +110,19 @@ export declare class OcaMediaClock extends OcaAgent {
|
|
|
98
110
|
GetCurrentRate(): Promise<OcaMediaClockRate>;
|
|
99
111
|
|
|
100
112
|
/**
|
|
101
|
-
* Sets the sampling rate. The return value indicates whether the rate was
|
|
113
|
+
* Sets the sampling rate. The return value indicates whether the rate was
|
|
114
|
+
* successfully set.
|
|
102
115
|
*
|
|
103
116
|
* @method OcaMediaClock#SetCurrentRate
|
|
104
|
-
* @param {
|
|
117
|
+
* @param {IOcaMediaClockRate} rate
|
|
105
118
|
*
|
|
106
119
|
* @returns {Promise<void>}
|
|
107
120
|
*/
|
|
108
121
|
SetCurrentRate(rate: IOcaMediaClockRate): Promise<void>;
|
|
109
122
|
|
|
110
123
|
/**
|
|
111
|
-
* Gets the current media clock lock state. The return value indicates whether
|
|
124
|
+
* Gets the current media clock lock state. The return value indicates whether
|
|
125
|
+
* the value was successfully retrieved.
|
|
112
126
|
*
|
|
113
127
|
* @method OcaMediaClock#GetLockState
|
|
114
128
|
* @returns {Promise<OcaMediaClockLockState>}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { make_control_class } from '../make_control_class.js';
|
|
2
|
-
import { OcaAgent } from './OcaAgent.js';
|
|
3
1
|
import { OcaList } from '../../OCP1/OcaList.js';
|
|
4
2
|
import { OcaMediaClockLockState } from '../../OCP1/OcaMediaClockLockState.js';
|
|
5
3
|
import { OcaMediaClockRate } from '../../OCP1/OcaMediaClockRate.js';
|
|
6
4
|
import { OcaMediaClockType } from '../../OCP1/OcaMediaClockType.js';
|
|
7
5
|
import { OcaUint16 } from '../../OCP1/OcaUint16.js';
|
|
6
|
+
import { make_control_class } from '../make_control_class.js';
|
|
7
|
+
import { OcaAgent } from './OcaAgent.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* **DEPRECATED CLASS** *Replaced by* **OcaMediaClock3** A media clock, internal
|
|
11
|
+
* or external.
|
|
11
12
|
* @extends OcaAgent
|
|
12
13
|
* @class OcaMediaClock
|
|
13
14
|
*/
|
|
@@ -38,29 +39,35 @@ export const OcaMediaClock = make_control_class(
|
|
|
38
39
|
);
|
|
39
40
|
|
|
40
41
|
/**
|
|
41
|
-
* Gets the value of the
|
|
42
|
+
* Gets the value of the **Type** property. The return value indicates whether
|
|
43
|
+
* the value was successfully retrieved.
|
|
42
44
|
*
|
|
43
45
|
* @method OcaMediaClock#GetType
|
|
44
46
|
* @returns {Promise<OcaMediaClockType>}
|
|
45
47
|
* A promise which resolves to a single value of type :class:`OcaMediaClockType`.
|
|
46
48
|
*/
|
|
47
49
|
/**
|
|
48
|
-
* Sets the value of the
|
|
50
|
+
* Sets the value of the **Type** property. The return value indicates whether
|
|
51
|
+
* the value was successfully set. Optional method, may not be supported in all
|
|
52
|
+
* implementations.
|
|
49
53
|
*
|
|
50
54
|
* @method OcaMediaClock#SetType
|
|
51
|
-
* @param {
|
|
55
|
+
* @param {IOcaMediaClockType} Type
|
|
52
56
|
*
|
|
53
57
|
* @returns {Promise<void>}
|
|
54
58
|
*/
|
|
55
59
|
/**
|
|
56
|
-
* Gets the value of the
|
|
60
|
+
* Gets the value of the **DomainID** property. The return value indicates
|
|
61
|
+
* whether the value was successfully retrieved.
|
|
57
62
|
*
|
|
58
63
|
* @method OcaMediaClock#GetDomainID
|
|
59
64
|
* @returns {Promise<number>}
|
|
60
65
|
* A promise which resolves to a single value of type ``number``.
|
|
61
66
|
*/
|
|
62
67
|
/**
|
|
63
|
-
* Sets the value of the
|
|
68
|
+
* Sets the value of the **DomainID** property. The return value indicates
|
|
69
|
+
* whether the value was successfully set. Optional method, may not be supported
|
|
70
|
+
* in all implementations.
|
|
64
71
|
*
|
|
65
72
|
* @method OcaMediaClock#SetDomainID
|
|
66
73
|
* @param {number} ID
|
|
@@ -68,64 +75,68 @@ export const OcaMediaClock = make_control_class(
|
|
|
68
75
|
* @returns {Promise<void>}
|
|
69
76
|
*/
|
|
70
77
|
/**
|
|
71
|
-
* Gets the list of supported sampling rates. The return value indicates whether
|
|
78
|
+
* Gets the list of supported sampling rates. The return value indicates whether
|
|
79
|
+
* the list was successfully retrieved.
|
|
72
80
|
*
|
|
73
81
|
* @method OcaMediaClock#GetSupportedRates
|
|
74
82
|
* @returns {Promise<OcaMediaClockRate[]>}
|
|
75
|
-
* A promise which resolves to a single value of type
|
|
83
|
+
* A promise which resolves to a single value of type :class:`OcaMediaClockRate[]`.
|
|
76
84
|
*/
|
|
77
85
|
/**
|
|
78
|
-
* Gets the current sampling rate. The return value indicates whether the value
|
|
86
|
+
* Gets the current sampling rate. The return value indicates whether the value
|
|
87
|
+
* was successfully retrieved.
|
|
79
88
|
*
|
|
80
89
|
* @method OcaMediaClock#GetCurrentRate
|
|
81
90
|
* @returns {Promise<OcaMediaClockRate>}
|
|
82
91
|
* A promise which resolves to a single value of type :class:`OcaMediaClockRate`.
|
|
83
92
|
*/
|
|
84
93
|
/**
|
|
85
|
-
* Sets the sampling rate. The return value indicates whether the rate was
|
|
94
|
+
* Sets the sampling rate. The return value indicates whether the rate was
|
|
95
|
+
* successfully set.
|
|
86
96
|
*
|
|
87
97
|
* @method OcaMediaClock#SetCurrentRate
|
|
88
|
-
* @param {
|
|
98
|
+
* @param {IOcaMediaClockRate} rate
|
|
89
99
|
*
|
|
90
100
|
* @returns {Promise<void>}
|
|
91
101
|
*/
|
|
92
102
|
/**
|
|
93
|
-
* Gets the current media clock lock state. The return value indicates whether
|
|
103
|
+
* Gets the current media clock lock state. The return value indicates whether
|
|
104
|
+
* the value was successfully retrieved.
|
|
94
105
|
*
|
|
95
106
|
* @method OcaMediaClock#GetLockState
|
|
96
107
|
* @returns {Promise<OcaMediaClockLockState>}
|
|
97
108
|
* A promise which resolves to a single value of type :class:`OcaMediaClockLockState`.
|
|
98
109
|
*/
|
|
99
110
|
/**
|
|
100
|
-
* This event is emitted when the property Type changes in the remote object.
|
|
111
|
+
* This event is emitted when the property ``Type`` changes in the remote object.
|
|
101
112
|
* The property ``Type`` is described in the AES70 standard as follows.
|
|
102
113
|
* Type of clock.
|
|
103
114
|
*
|
|
104
115
|
* @member {PropertyEvent<OcaMediaClockType>} OcaMediaClock#OnTypeChanged
|
|
105
116
|
*/
|
|
106
117
|
/**
|
|
107
|
-
* This event is emitted when the property DomainID changes in the remote object.
|
|
118
|
+
* This event is emitted when the property ``DomainID`` changes in the remote object.
|
|
108
119
|
* The property ``DomainID`` is described in the AES70 standard as follows.
|
|
109
120
|
* Clock domain ID. Arbitrary value.
|
|
110
121
|
*
|
|
111
122
|
* @member {PropertyEvent<number>} OcaMediaClock#OnDomainIDChanged
|
|
112
123
|
*/
|
|
113
124
|
/**
|
|
114
|
-
* This event is emitted when the property RatesSupported changes in the remote object.
|
|
125
|
+
* This event is emitted when the property ``RatesSupported`` changes in the remote object.
|
|
115
126
|
* The property ``RatesSupported`` is described in the AES70 standard as follows.
|
|
116
127
|
* List of supported rates
|
|
117
128
|
*
|
|
118
129
|
* @member {PropertyEvent<OcaMediaClockRate[]>} OcaMediaClock#OnRatesSupportedChanged
|
|
119
130
|
*/
|
|
120
131
|
/**
|
|
121
|
-
* This event is emitted when the property CurrentRate changes in the remote object.
|
|
132
|
+
* This event is emitted when the property ``CurrentRate`` changes in the remote object.
|
|
122
133
|
* The property ``CurrentRate`` is described in the AES70 standard as follows.
|
|
123
134
|
* Current clock rate
|
|
124
135
|
*
|
|
125
136
|
* @member {PropertyEvent<OcaMediaClockRate>} OcaMediaClock#OnCurrentRateChanged
|
|
126
137
|
*/
|
|
127
138
|
/**
|
|
128
|
-
* This event is emitted when the property LockState changes in the remote object.
|
|
139
|
+
* This event is emitted when the property ``LockState`` changes in the remote object.
|
|
129
140
|
* The property ``LockState`` is described in the AES70 standard as follows.
|
|
130
141
|
* Lock state of clock.
|
|
131
142
|
*
|
|
@@ -1,17 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import {
|
|
2
|
+
IOcaMediaClockAvailability,
|
|
3
|
+
OcaMediaClockAvailability,
|
|
4
|
+
} from '../../types/OcaMediaClockAvailability';
|
|
5
|
+
import {
|
|
6
|
+
IOcaMediaClockRate,
|
|
7
|
+
OcaMediaClockRate,
|
|
8
|
+
} from '../../types/OcaMediaClockRate';
|
|
9
|
+
import { IOcaTimePTP, OcaTimePTP } from '../../types/OcaTimePTP';
|
|
3
10
|
import { Arguments } from '../arguments';
|
|
4
|
-
|
|
5
11
|
import { PropertyEvent } from '../property_event';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { IOcaTimePTP } from '../../types/OcaTimePTP';
|
|
9
|
-
import { OcaMediaClockAvailability } from '../../types/OcaMediaClockAvailability';
|
|
10
|
-
import { OcaMediaClockRate } from '../../types/OcaMediaClockRate';
|
|
11
|
-
import { OcaTimePTP } from '../../types/OcaTimePTP';
|
|
12
|
+
import { RemoteDevice } from '../remote_device';
|
|
13
|
+
import { OcaAgent } from './OcaAgent';
|
|
12
14
|
|
|
13
15
|
/**
|
|
14
|
-
* A media clock, internal or external. OCA Connection Management 3 (OCA-CM3)
|
|
16
|
+
* A media clock, internal or external. OCA Connection Management 3 (OCA-CM3)
|
|
17
|
+
* version.
|
|
15
18
|
* @extends OcaAgent
|
|
16
19
|
* @class OcaMediaClock3
|
|
17
20
|
*/
|
|
@@ -44,7 +47,8 @@ export declare class OcaMediaClock3 extends OcaAgent {
|
|
|
44
47
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
45
48
|
|
|
46
49
|
/**
|
|
47
|
-
* Gets the value of the
|
|
50
|
+
* Gets the value of the **Availability** property. The return value indicates
|
|
51
|
+
* whether the value was successfully retrieved.
|
|
48
52
|
*
|
|
49
53
|
* @method OcaMediaClock3#GetAvailability
|
|
50
54
|
* @returns {Promise<OcaMediaClockAvailability>}
|
|
@@ -53,20 +57,24 @@ export declare class OcaMediaClock3 extends OcaAgent {
|
|
|
53
57
|
GetAvailability(): Promise<OcaMediaClockAvailability>;
|
|
54
58
|
|
|
55
59
|
/**
|
|
56
|
-
* Sets the value of the
|
|
60
|
+
* Sets the value of the **Availability** property. The return value indicates
|
|
61
|
+
* whether the value was successfully set. Optional method, may not be
|
|
62
|
+
* supported in all implementations.
|
|
57
63
|
*
|
|
58
64
|
* @method OcaMediaClock3#SetAvailability
|
|
59
|
-
* @param {
|
|
65
|
+
* @param {IOcaMediaClockAvailability} Availability
|
|
60
66
|
*
|
|
61
67
|
* @returns {Promise<void>}
|
|
62
68
|
*/
|
|
63
69
|
SetAvailability(Availability: IOcaMediaClockAvailability): Promise<void>;
|
|
64
70
|
|
|
65
71
|
/**
|
|
66
|
-
* Gets the current clock rate and the ONo of the associated
|
|
72
|
+
* Gets the current clock rate and the ONo of the associated **OcaTimeSource**
|
|
73
|
+
* object. The return value indicates whether the value was successfully
|
|
74
|
+
* retrieved.
|
|
67
75
|
* The return values of this method are
|
|
68
76
|
*
|
|
69
|
-
* - Rate of type
|
|
77
|
+
* - Rate of type ``IOcaMediaClockRate``
|
|
70
78
|
* - TimeSourceONo of type ``number``
|
|
71
79
|
*
|
|
72
80
|
* @method OcaMediaClock3#GetCurrentRate
|
|
@@ -75,11 +83,12 @@ export declare class OcaMediaClock3 extends OcaAgent {
|
|
|
75
83
|
GetCurrentRate(): Promise<Arguments<[OcaMediaClockRate, number]>>;
|
|
76
84
|
|
|
77
85
|
/**
|
|
78
|
-
* Sets the clock rate and the ONo of the associated
|
|
86
|
+
* Sets the clock rate and the ONo of the associated **OcaTimeSource** object.
|
|
87
|
+
* The return value indicates whether the value was successfully set. Optional
|
|
88
|
+
* method, may not be supported in all implementations.
|
|
79
89
|
*
|
|
80
90
|
* @method OcaMediaClock3#SetCurrentRate
|
|
81
|
-
* @param {
|
|
82
|
-
*
|
|
91
|
+
* @param {IOcaMediaClockRate} Rate
|
|
83
92
|
* @param {number} TimeSourceONo
|
|
84
93
|
*
|
|
85
94
|
* @returns {Promise<void>}
|
|
@@ -90,7 +99,9 @@ export declare class OcaMediaClock3 extends OcaAgent {
|
|
|
90
99
|
): Promise<void>;
|
|
91
100
|
|
|
92
101
|
/**
|
|
93
|
-
* Gets the offset of this media clock's time from that of the associated
|
|
102
|
+
* Gets the offset of this media clock's time from that of the associated
|
|
103
|
+
* **OcaTimeSource** object. The return value indicates whether the value was
|
|
104
|
+
* successfully retrieved.
|
|
94
105
|
*
|
|
95
106
|
* @method OcaMediaClock3#GetOffset
|
|
96
107
|
* @returns {Promise<OcaTimePTP>}
|
|
@@ -99,17 +110,21 @@ export declare class OcaMediaClock3 extends OcaAgent {
|
|
|
99
110
|
GetOffset(): Promise<OcaTimePTP>;
|
|
100
111
|
|
|
101
112
|
/**
|
|
102
|
-
* Sets the offset of this media clock's time from that of the associated
|
|
113
|
+
* Sets the offset of this media clock's time from that of the associated
|
|
114
|
+
* **OcaTimeSource** object. The return value indicates whether the value was
|
|
115
|
+
* successfully set. Optional method, may not be supported in all
|
|
116
|
+
* implementations.
|
|
103
117
|
*
|
|
104
118
|
* @method OcaMediaClock3#SetOffset
|
|
105
|
-
* @param {
|
|
119
|
+
* @param {IOcaTimePTP} Offset
|
|
106
120
|
*
|
|
107
121
|
* @returns {Promise<void>}
|
|
108
122
|
*/
|
|
109
123
|
SetOffset(Offset: IOcaTimePTP): Promise<void>;
|
|
110
124
|
|
|
111
125
|
/**
|
|
112
|
-
* Gets the list of supported media clock rates for the given time source. The
|
|
126
|
+
* Gets the list of supported media clock rates for the given time source. The
|
|
127
|
+
* return value indicates whether the list was successfully retrieved.
|
|
113
128
|
*
|
|
114
129
|
* @method OcaMediaClock3#GetSupportedRates
|
|
115
130
|
* @returns {Promise<Map<number, OcaMediaClockRate[]>>}
|