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,5 +1,3 @@
|
|
|
1
|
-
import { make_control_class } from '../make_control_class.js';
|
|
2
|
-
import { OcaWorker } from './OcaWorker.js';
|
|
3
1
|
import { OcaBlockMember } from '../../OCP1/OcaBlockMember.js';
|
|
4
2
|
import { OcaGlobalTypeIdentifier } from '../../OCP1/OcaGlobalTypeIdentifier.js';
|
|
5
3
|
import { OcaLibVolData_ParamSet } from '../../OCP1/OcaLibVolData_ParamSet.js';
|
|
@@ -15,9 +13,17 @@ import { OcaStringComparisonType } from '../../OCP1/OcaStringComparisonType.js';
|
|
|
15
13
|
import { OcaUint16 } from '../../OCP1/OcaUint16.js';
|
|
16
14
|
import { OcaUint32 } from '../../OCP1/OcaUint32.js';
|
|
17
15
|
import { String16 } from '../../OCP1/String16.js';
|
|
16
|
+
import { make_control_class } from '../make_control_class.js';
|
|
17
|
+
import { OcaWorker } from './OcaWorker.js';
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
* A block is an object with three aspects: - It can contain other blocks. - It
|
|
20
|
+
* A block is an object with three aspects: - It can contain other blocks. - It
|
|
21
|
+
* can contain workers. - It can contain agents. - It can contain data networks.
|
|
22
|
+
* - It can contain application networks. - It has a signal flow topology. We
|
|
23
|
+
* refer to an object inside a block as a **member** of that block. We refer to
|
|
24
|
+
* the block which contains an object as the object's **container.****1**
|
|
25
|
+
* Normally, a block contains a set of members that together function as a
|
|
26
|
+
* processing unit -- for example, a crossover channel or mixer strip.
|
|
21
27
|
* @extends OcaWorker
|
|
22
28
|
* @class OcaBlock
|
|
23
29
|
*/
|
|
@@ -29,7 +35,6 @@ export const OcaBlock = make_control_class(
|
|
|
29
35
|
OcaWorker,
|
|
30
36
|
[
|
|
31
37
|
['GetType', 3, 1, [], [OcaUint32]],
|
|
32
|
-
,
|
|
33
38
|
['ConstructMemberUsingFactory', 3, 3, [OcaUint32], [OcaUint32]],
|
|
34
39
|
['DeleteMember', 3, 4, [OcaUint32], []],
|
|
35
40
|
['GetMembers', 3, 5, [], [OcaList(OcaObjectIdentification)]],
|
|
@@ -116,25 +121,19 @@ export const OcaBlock = make_control_class(
|
|
|
116
121
|
);
|
|
117
122
|
|
|
118
123
|
/**
|
|
119
|
-
* Gets the block type. For statically-defined blocks, the block type is a
|
|
124
|
+
* Gets the block type. For statically-defined blocks, the block type is a
|
|
125
|
+
* Uint32 with a value corresponding to the unique configuration of this block.
|
|
126
|
+
* For dynamically-defined blocks, the block type is the object number of the
|
|
127
|
+
* block's factory. For the root block, the value of this property is 1.
|
|
120
128
|
*
|
|
121
129
|
* @method OcaBlock#GetType
|
|
122
130
|
* @returns {Promise<number>}
|
|
123
131
|
* A promise which resolves to a single value of type ``number``.
|
|
124
132
|
*/
|
|
125
133
|
/**
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
* @param {string} ClassID
|
|
130
|
-
*
|
|
131
|
-
* @param {any} ConstructionParameters
|
|
132
|
-
*
|
|
133
|
-
* @returns {Promise<number>}
|
|
134
|
-
* A promise which resolves to a single value of type ``number``.
|
|
135
|
-
*/
|
|
136
|
-
/**
|
|
137
|
-
* Invokes a factory to construct an instance of the given class, then adds it to the block. The return value indicates whether the member was successfully created and added.
|
|
134
|
+
* Invokes a factory to construct an instance of the given class, then adds it
|
|
135
|
+
* to the block. The return value indicates whether the member was successfully
|
|
136
|
+
* created and added.
|
|
138
137
|
*
|
|
139
138
|
* @method OcaBlock#ConstructMemberUsingFactory
|
|
140
139
|
* @param {number} FactoryONo
|
|
@@ -143,7 +142,9 @@ export const OcaBlock = make_control_class(
|
|
|
143
142
|
* A promise which resolves to a single value of type ``number``.
|
|
144
143
|
*/
|
|
145
144
|
/**
|
|
146
|
-
* Removes a member from the block and destroys the object. . Deletes all signal
|
|
145
|
+
* Removes a member from the block and destroys the object. . Deletes all signal
|
|
146
|
+
* paths attached to its ports. The return value indicates whether the member
|
|
147
|
+
* was successfully removed and destroyed.
|
|
147
148
|
*
|
|
148
149
|
* @method OcaBlock#DeleteMember
|
|
149
150
|
* @param {number} ObjectNumber
|
|
@@ -151,30 +152,38 @@ export const OcaBlock = make_control_class(
|
|
|
151
152
|
* @returns {Promise<void>}
|
|
152
153
|
*/
|
|
153
154
|
/**
|
|
154
|
-
* Gets the list of block members. Does not recurse inner blocks. Each inner
|
|
155
|
+
* Gets the list of block members. Does not recurse inner blocks. Each inner
|
|
156
|
+
* block is included in the returned list as a single object -- its contents are
|
|
157
|
+
* not enumerated. The return value indicates whether the list was successfully
|
|
158
|
+
* retrieved.
|
|
155
159
|
*
|
|
156
160
|
* @method OcaBlock#GetMembers
|
|
157
161
|
* @returns {Promise<OcaObjectIdentification[]>}
|
|
158
|
-
* A promise which resolves to a single value of type
|
|
162
|
+
* A promise which resolves to a single value of type :class:`OcaObjectIdentification[]`.
|
|
159
163
|
*/
|
|
160
164
|
/**
|
|
161
|
-
* Gets the list of block members. Recurses inner blocks. Each inner block is
|
|
165
|
+
* Gets the list of block members. Recurses inner blocks. Each inner block is
|
|
166
|
+
* included in the returned list as a single object, amd its contents are
|
|
167
|
+
* enumerated. The return value indicates whether the list was successfully
|
|
168
|
+
* retrieved.
|
|
162
169
|
*
|
|
163
170
|
* @method OcaBlock#GetMembersRecursive
|
|
164
171
|
* @returns {Promise<OcaBlockMember[]>}
|
|
165
|
-
* A promise which resolves to a single value of type
|
|
172
|
+
* A promise which resolves to a single value of type :class:`OcaBlockMember[]`.
|
|
166
173
|
*/
|
|
167
174
|
/**
|
|
168
|
-
* Adds a signal path to the block. The return value indicates whether the
|
|
175
|
+
* Adds a signal path to the block. The return value indicates whether the
|
|
176
|
+
* signal path was successfully added.
|
|
169
177
|
*
|
|
170
178
|
* @method OcaBlock#AddSignalPath
|
|
171
|
-
* @param {
|
|
179
|
+
* @param {IOcaSignalPath} Path
|
|
172
180
|
*
|
|
173
181
|
* @returns {Promise<number>}
|
|
174
182
|
* A promise which resolves to a single value of type ``number``.
|
|
175
183
|
*/
|
|
176
184
|
/**
|
|
177
|
-
* Deletes a signal path from the block. The return value indicates whether the
|
|
185
|
+
* Deletes a signal path from the block. The return value indicates whether the
|
|
186
|
+
* signal path was successfully added.
|
|
178
187
|
*
|
|
179
188
|
* @method OcaBlock#DeleteSignalPath
|
|
180
189
|
* @param {number} Index
|
|
@@ -182,14 +191,16 @@ export const OcaBlock = make_control_class(
|
|
|
182
191
|
* @returns {Promise<void>}
|
|
183
192
|
*/
|
|
184
193
|
/**
|
|
185
|
-
* Gets the map of signal paths in the block. Does not recurse inner blocks. The
|
|
194
|
+
* Gets the map of signal paths in the block. Does not recurse inner blocks. The
|
|
195
|
+
* return value indicates whether the list was successfully retrieved.
|
|
186
196
|
*
|
|
187
197
|
* @method OcaBlock#GetSignalPaths
|
|
188
198
|
* @returns {Promise<Map<number, OcaSignalPath>>}
|
|
189
199
|
* A promise which resolves to a single value of type ``Map<number, OcaSignalPath>``.
|
|
190
200
|
*/
|
|
191
201
|
/**
|
|
192
|
-
* Gets the mapof signal paths in the block. Recurses inner blocks. The return
|
|
202
|
+
* Gets the mapof signal paths in the block. Recurses inner blocks. The return
|
|
203
|
+
* value indicates whether the list was successfully retrieved.
|
|
193
204
|
*
|
|
194
205
|
* @method OcaBlock#GetSignalPathsRecursive
|
|
195
206
|
* @returns {Promise<Map<number, OcaSignalPath>>}
|
|
@@ -203,116 +214,122 @@ export const OcaBlock = make_control_class(
|
|
|
203
214
|
* A promise which resolves to a single value of type :class:`OcaLibVolIdentifier`.
|
|
204
215
|
*/
|
|
205
216
|
/**
|
|
206
|
-
* Applies the referenced paramset to this block, and sets the
|
|
217
|
+
* Applies the referenced paramset to this block, and sets the
|
|
218
|
+
* MostRecentParamSet property. The return value indicates whether the paramset
|
|
219
|
+
* was successfully applied.
|
|
207
220
|
*
|
|
208
221
|
* @method OcaBlock#ApplyParamSet
|
|
209
222
|
* @returns {Promise<OcaLibVolIdentifier>}
|
|
210
223
|
* A promise which resolves to a single value of type :class:`OcaLibVolIdentifier`.
|
|
211
224
|
*/
|
|
212
225
|
/**
|
|
213
|
-
* Returns a paramset library volume data block which represents the current
|
|
226
|
+
* Returns a paramset library volume data block which represents the current
|
|
227
|
+
* state of the block -- i.e. a "snapshot".
|
|
214
228
|
*
|
|
215
229
|
* @method OcaBlock#GetCurrentParamSetData
|
|
216
230
|
* @returns {Promise<OcaLibVolData_ParamSet>}
|
|
217
231
|
* A promise which resolves to a single value of type :class:`OcaLibVolData_ParamSet`.
|
|
218
232
|
*/
|
|
219
233
|
/**
|
|
220
|
-
* Stores a paramset library volume data block which represents the current
|
|
234
|
+
* Stores a paramset library volume data block which represents the current
|
|
235
|
+
* state of the block ("snapshot") in the given library. **Replaces** the
|
|
236
|
+
* library volume at the specified LibVolIdentifier.
|
|
221
237
|
*
|
|
222
238
|
* @method OcaBlock#StoreCurrentParamSetData
|
|
223
|
-
* @param {
|
|
239
|
+
* @param {IOcaLibVolIdentifier} LibVolIdentifier
|
|
224
240
|
*
|
|
225
241
|
* @returns {Promise<void>}
|
|
226
242
|
*/
|
|
227
243
|
/**
|
|
228
|
-
* Gets the global blocktype. The return value indicates whether the type was
|
|
244
|
+
* Gets the global blocktype. The return value indicates whether the type was
|
|
245
|
+
* successfully retrieved. If this block has no global blocktype, the
|
|
246
|
+
* **Authority** field of the returned **GlobalType** parameter will be zero.
|
|
247
|
+
* **Added in version 2 of this class.**
|
|
229
248
|
*
|
|
230
249
|
* @method OcaBlock#GetGlobalType
|
|
231
250
|
* @returns {Promise<OcaGlobalTypeIdentifier>}
|
|
232
251
|
* A promise which resolves to a single value of type :class:`OcaGlobalTypeIdentifier`.
|
|
233
252
|
*/
|
|
234
253
|
/**
|
|
235
|
-
* Gets the block's ONo map. The return value indicates whether the map was
|
|
254
|
+
* Gets the block's ONo map. The return value indicates whether the map was
|
|
255
|
+
* successfully retrieved. **Added in version 2 of this class.**
|
|
236
256
|
*
|
|
237
257
|
* @method OcaBlock#GetONoMap
|
|
238
258
|
* @returns {Promise<Map<number, number>>}
|
|
239
259
|
* A promise which resolves to a single value of type ``Map<number, number>``.
|
|
240
260
|
*/
|
|
241
261
|
/**
|
|
242
|
-
* Returns object identifications of all objects in the block that match the
|
|
262
|
+
* Returns object identifications of all objects in the block that match the
|
|
263
|
+
* given Role search string and Class ID. Return value indicates whether the
|
|
264
|
+
* method succeeded. **Added in version 2 of this class.**
|
|
243
265
|
*
|
|
244
266
|
* @method OcaBlock#FindObjectsByRole
|
|
245
267
|
* @param {string} SearchName
|
|
246
|
-
*
|
|
247
|
-
* @param {OcaStringComparisonType} NameComparisonType
|
|
248
|
-
*
|
|
268
|
+
* @param {IOcaStringComparisonType} NameComparisonType
|
|
249
269
|
* @param {string} SearchClassID
|
|
250
|
-
*
|
|
251
|
-
* @param {number} ResultFlags
|
|
270
|
+
* @param {IOcaObjectSearchResultFlags} ResultFlags
|
|
252
271
|
*
|
|
253
272
|
* @returns {Promise<OcaObjectSearchResult[]>}
|
|
254
|
-
* A promise which resolves to a single value of type
|
|
273
|
+
* A promise which resolves to a single value of type :class:`OcaObjectSearchResult[]`.
|
|
255
274
|
*/
|
|
256
275
|
/**
|
|
257
|
-
* Returns block member descriptors of all objects in the block and all
|
|
276
|
+
* Returns block member descriptors of all objects in the block and all
|
|
277
|
+
* contained blocks that match the given Role search string and Class ID.
|
|
278
|
+
* **Added in version 2 of this class.**
|
|
258
279
|
*
|
|
259
280
|
* @method OcaBlock#FindObjectsByRoleRecursive
|
|
260
281
|
* @param {string} SearchName
|
|
261
|
-
*
|
|
262
|
-
* @param {OcaStringComparisonType} NameComparisonType
|
|
263
|
-
*
|
|
282
|
+
* @param {IOcaStringComparisonType} NameComparisonType
|
|
264
283
|
* @param {string} SearchClassID
|
|
265
|
-
*
|
|
266
|
-
* @param {number} ResultFlags
|
|
284
|
+
* @param {IOcaObjectSearchResultFlags} ResultFlags
|
|
267
285
|
*
|
|
268
286
|
* @returns {Promise<OcaObjectSearchResult[]>}
|
|
269
|
-
* A promise which resolves to a single value of type
|
|
287
|
+
* A promise which resolves to a single value of type :class:`OcaObjectSearchResult[]`.
|
|
270
288
|
*/
|
|
271
289
|
/**
|
|
272
|
-
* Returns object identifications of all objects with the given name path.
|
|
290
|
+
* Returns object identifications of all objects with the given name path.
|
|
291
|
+
* **Added in version 2 of this class.**
|
|
273
292
|
*
|
|
274
293
|
* @method OcaBlock#FindObjectsByPath
|
|
275
294
|
* @param {string[]} SearchPath
|
|
276
|
-
*
|
|
277
|
-
* @param {number} ResultFlags
|
|
295
|
+
* @param {IOcaObjectSearchResultFlags} ResultFlags
|
|
278
296
|
*
|
|
279
297
|
* @returns {Promise<OcaObjectSearchResult[]>}
|
|
280
|
-
* A promise which resolves to a single value of type
|
|
298
|
+
* A promise which resolves to a single value of type :class:`OcaObjectSearchResult[]`.
|
|
281
299
|
*/
|
|
282
300
|
/**
|
|
283
|
-
* Returns block member descriptors of all objects in the block and all
|
|
301
|
+
* Returns block member descriptors of all objects in the block and all
|
|
302
|
+
* contained blocks that match the given Label search string and Class ID.
|
|
303
|
+
* **Added in version 2 of this class.**
|
|
284
304
|
*
|
|
285
305
|
* @method OcaBlock#FindObjectsByLabelRecursive
|
|
286
306
|
* @param {string} SearchName
|
|
287
|
-
*
|
|
288
|
-
* @param {OcaStringComparisonType} NameComparisonType
|
|
289
|
-
*
|
|
307
|
+
* @param {IOcaStringComparisonType} NameComparisonType
|
|
290
308
|
* @param {string} SearchClassID
|
|
291
|
-
*
|
|
292
|
-
* @param {number} ResultFlags
|
|
309
|
+
* @param {IOcaObjectSearchResultFlags} ResultFlags
|
|
293
310
|
*
|
|
294
311
|
* @returns {Promise<OcaObjectSearchResult[]>}
|
|
295
|
-
* A promise which resolves to a single value of type
|
|
312
|
+
* A promise which resolves to a single value of type :class:`OcaObjectSearchResult[]`.
|
|
296
313
|
*/
|
|
297
314
|
/**
|
|
298
|
-
* This event is emitted when the property Members changes in the remote object.
|
|
315
|
+
* This event is emitted when the property ``Members`` changes in the remote object.
|
|
299
316
|
* The property ``Members`` is described in the AES70 standard as follows.
|
|
300
317
|
* List of members in the block.
|
|
301
318
|
*
|
|
302
319
|
* @member {PropertyEvent<OcaObjectIdentification[]>} OcaBlock#OnMembersChanged
|
|
303
320
|
*/
|
|
304
321
|
/**
|
|
305
|
-
* This event is emitted when the property SignalPaths changes in the remote object.
|
|
322
|
+
* This event is emitted when the property ``SignalPaths`` changes in the remote object.
|
|
306
323
|
* The property ``SignalPaths`` is described in the AES70 standard as follows.
|
|
307
324
|
* List of signal paths in the block.
|
|
308
325
|
*
|
|
309
326
|
* @member {PropertyEvent<Map<number, OcaSignalPath>>} OcaBlock#OnSignalPathsChanged
|
|
310
327
|
*/
|
|
311
328
|
/**
|
|
312
|
-
* This event is emitted when the property MostRecentParamSetIdentifier changes in the remote object.
|
|
329
|
+
* This event is emitted when the property ``MostRecentParamSetIdentifier`` changes in the remote object.
|
|
313
330
|
* The property ``MostRecentParamSetIdentifier`` is described in the AES70 standard as follows.
|
|
314
|
-
* Library volume identifier of the paramset most recently applied to
|
|
315
|
-
*
|
|
331
|
+
* Library volume identifier of the paramset most recently applied to this
|
|
332
|
+
* block.
|
|
316
333
|
*
|
|
317
334
|
* @member {PropertyEvent<OcaLibVolIdentifier>} OcaBlock#OnMostRecentParamSetIdentifierChanged
|
|
318
335
|
*/
|
|
@@ -1,19 +1,45 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { IOcaGlobalTypeIdentifier } from '../../types/OcaGlobalTypeIdentifier';
|
|
1
|
+
import {
|
|
2
|
+
IOcaGlobalTypeIdentifier,
|
|
3
|
+
OcaGlobalTypeIdentifier,
|
|
4
|
+
} from '../../types/OcaGlobalTypeIdentifier';
|
|
6
5
|
import { IOcaPortMode } from '../../types/OcaPortMode';
|
|
7
|
-
import { IOcaProtoPortID } from '../../types/OcaProtoPortID';
|
|
8
|
-
import { IOcaProtoSignalPath } from '../../types/OcaProtoSignalPath';
|
|
9
|
-
import { OcaGlobalTypeIdentifier } from '../../types/OcaGlobalTypeIdentifier';
|
|
10
6
|
import { OcaProtoObjectIdentification } from '../../types/OcaProtoObjectIdentification';
|
|
11
7
|
import { OcaProtoPort } from '../../types/OcaProtoPort';
|
|
12
|
-
import { OcaProtoPortID } from '../../types/OcaProtoPortID';
|
|
13
|
-
import {
|
|
8
|
+
import { IOcaProtoPortID, OcaProtoPortID } from '../../types/OcaProtoPortID';
|
|
9
|
+
import {
|
|
10
|
+
IOcaProtoSignalPath,
|
|
11
|
+
OcaProtoSignalPath,
|
|
12
|
+
} from '../../types/OcaProtoSignalPath';
|
|
13
|
+
import { PropertyEvent } from '../property_event';
|
|
14
|
+
import { RemoteDevice } from '../remote_device';
|
|
15
|
+
import { OcaWorker } from './OcaWorker';
|
|
14
16
|
|
|
15
17
|
/**
|
|
16
|
-
* Factory to create custom block instances. Used only in reconfigurable
|
|
18
|
+
* Factory to create custom block instances. Used only in reconfigurable
|
|
19
|
+
* devices. The idea is that you instantiate a factory once, populate it with
|
|
20
|
+
* proto-objects and proto-signal paths, then use it subsequently to instantiate
|
|
21
|
+
* identical blocks. In this context, **proto-object** means a prototype of a
|
|
22
|
+
* block member. Unbound objects are identified by **proto-object numbers
|
|
23
|
+
* (PONo's)** instead of actual object numbers. PONos are unique within the
|
|
24
|
+
* factory, and are converted to globally unique object numbers ONos) in all new
|
|
25
|
+
* block instances that the factory builds. Correspondingly, **proto-signal
|
|
26
|
+
* path** means a signal path expressed in terms of **PONos** rather than
|
|
27
|
+
* **ONos**. When the factory constructs a block, it converts all of its unbound
|
|
28
|
+
* signal paths to normal (bound) signal paths by mapping its **PONos** into
|
|
29
|
+
* **ONos**. The factory also holds a list of **proto-blockports** which are
|
|
30
|
+
* **OcaPorts** that are allocated to new blocks the factory builds. As well,
|
|
31
|
+
* the proto-objects in the factory may contain lists of their own proto-ports.
|
|
32
|
+
* Together, the factory's proto-ports and its members' proto-ports are used to
|
|
33
|
+
* define the factory's set of proto-signal paths. Factories may be predefined
|
|
34
|
+
* at time of device manufacture, or constructed "on the fly" by controllers. To
|
|
35
|
+
* **create a factory**, the controller calls a block's **CreateMember(...)**
|
|
36
|
+
* method with the **ClassID** of this class (**OcaBlockFactory**). Factories
|
|
37
|
+
* ignore which block creates them, so it makes no difference which block's
|
|
38
|
+
* **CreateMember(...)** method is used. It will usually make the most sense to
|
|
39
|
+
* use the Root Block's method. To add proto-objects, proto-ports, and
|
|
40
|
+
* proto-signal paths to a block factory, the controller calls the factory's
|
|
41
|
+
* **DefineProtoMember(...), DefineProtoPort(...), and
|
|
42
|
+
* DefineProtoSignalPath(...**) methods, respectively.
|
|
17
43
|
* @extends OcaWorker
|
|
18
44
|
* @class OcaBlockFactory
|
|
19
45
|
*/
|
|
@@ -41,12 +67,13 @@ export declare class OcaBlockFactory extends OcaWorker {
|
|
|
41
67
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
42
68
|
|
|
43
69
|
/**
|
|
44
|
-
* Defines a proto-port in the factory. If proto-port already exists, it is
|
|
70
|
+
* Defines a proto-port in the factory. If proto-port already exists, it is
|
|
71
|
+
* replaced with the one from this call. The return value indicates whether
|
|
72
|
+
* the proto-port was successfully added.
|
|
45
73
|
*
|
|
46
74
|
* @method OcaBlockFactory#DefineProtoPort
|
|
47
75
|
* @param {string} name
|
|
48
|
-
*
|
|
49
|
-
* @param {OcaPortMode} portmode
|
|
76
|
+
* @param {IOcaPortMode} portmode
|
|
50
77
|
*
|
|
51
78
|
* @returns {Promise<OcaProtoPortID>}
|
|
52
79
|
* A promise which resolves to a single value of type :class:`OcaProtoPortID`.
|
|
@@ -57,25 +84,30 @@ export declare class OcaBlockFactory extends OcaWorker {
|
|
|
57
84
|
): Promise<OcaProtoPortID>;
|
|
58
85
|
|
|
59
86
|
/**
|
|
60
|
-
* Deletes a proto-port from the factory. The return value indicates whether
|
|
87
|
+
* Deletes a proto-port from the factory. The return value indicates whether
|
|
88
|
+
* the proto-port was successfully deleted.
|
|
61
89
|
*
|
|
62
90
|
* @method OcaBlockFactory#UndefineProtoPort
|
|
63
|
-
* @param {
|
|
91
|
+
* @param {IOcaProtoPortID} ProtoPortID
|
|
64
92
|
*
|
|
65
93
|
* @returns {Promise<void>}
|
|
66
94
|
*/
|
|
67
95
|
UndefineProtoPort(ProtoPortID: IOcaProtoPortID): Promise<void>;
|
|
68
96
|
|
|
69
97
|
/**
|
|
70
|
-
* Gets the factory's list of proto-ports. The return value indicates whether
|
|
98
|
+
* Gets the factory's list of proto-ports. The return value indicates whether
|
|
99
|
+
* the list was successfully retrieved.
|
|
71
100
|
*
|
|
72
101
|
* @method OcaBlockFactory#GetProtoPorts
|
|
73
102
|
* @returns {Promise<OcaProtoPort[]>}
|
|
74
|
-
* A promise which resolves to a single value of type
|
|
103
|
+
* A promise which resolves to a single value of type :class:`OcaProtoPort[]`.
|
|
75
104
|
*/
|
|
76
105
|
GetProtoPorts(): Promise<OcaProtoPort[]>;
|
|
106
|
+
|
|
77
107
|
/**
|
|
78
|
-
* Defines a proto-member which will be instantiated by a specified factory
|
|
108
|
+
* Defines a proto-member which will be instantiated by a specified factory
|
|
109
|
+
* when the block is built. The return value indicates whether the
|
|
110
|
+
* proto-member was successfully defined.
|
|
79
111
|
*
|
|
80
112
|
* @method OcaBlockFactory#DefineProtoMemberUsingFactory
|
|
81
113
|
* @param {number} FactoryONo
|
|
@@ -86,7 +118,9 @@ export declare class OcaBlockFactory extends OcaWorker {
|
|
|
86
118
|
DefineProtoMemberUsingFactory(FactoryONo: number): Promise<number>;
|
|
87
119
|
|
|
88
120
|
/**
|
|
89
|
-
* Deletes a proto-member from the factory. Deletes all proto-signal paths
|
|
121
|
+
* Deletes a proto-member from the factory. Deletes all proto-signal paths
|
|
122
|
+
* attached to its ports. The return value indicates whether the member was
|
|
123
|
+
* successfully deleted.
|
|
90
124
|
*
|
|
91
125
|
* @method OcaBlockFactory#UndefineProtoMember
|
|
92
126
|
* @param {number} ProtoObjectNumber
|
|
@@ -96,19 +130,22 @@ export declare class OcaBlockFactory extends OcaWorker {
|
|
|
96
130
|
UndefineProtoMember(ProtoObjectNumber: number): Promise<void>;
|
|
97
131
|
|
|
98
132
|
/**
|
|
99
|
-
* Gets the factory's list of proto-members. Does not recurse inner
|
|
133
|
+
* Gets the factory's list of proto-members. Does not recurse inner
|
|
134
|
+
* proto-blocks. The return value indicates whether the list was successfully
|
|
135
|
+
* retrieved.
|
|
100
136
|
*
|
|
101
137
|
* @method OcaBlockFactory#GetProtoMembers
|
|
102
138
|
* @returns {Promise<OcaProtoObjectIdentification[]>}
|
|
103
|
-
* A promise which resolves to a single value of type
|
|
139
|
+
* A promise which resolves to a single value of type :class:`OcaProtoObjectIdentification[]`.
|
|
104
140
|
*/
|
|
105
141
|
GetProtoMembers(): Promise<OcaProtoObjectIdentification[]>;
|
|
106
142
|
|
|
107
143
|
/**
|
|
108
|
-
* Defines a proto-signal path in the factory. The return value indicates
|
|
144
|
+
* Defines a proto-signal path in the factory. The return value indicates
|
|
145
|
+
* whether the proto-signal path was successfully defined.
|
|
109
146
|
*
|
|
110
147
|
* @method OcaBlockFactory#DefineProtoSignalPath
|
|
111
|
-
* @param {
|
|
148
|
+
* @param {IOcaProtoSignalPath} Path
|
|
112
149
|
*
|
|
113
150
|
* @returns {Promise<number>}
|
|
114
151
|
* A promise which resolves to a single value of type ``number``.
|
|
@@ -116,7 +153,8 @@ export declare class OcaBlockFactory extends OcaWorker {
|
|
|
116
153
|
DefineProtoSignalPath(Path: IOcaProtoSignalPath): Promise<number>;
|
|
117
154
|
|
|
118
155
|
/**
|
|
119
|
-
* Deletes a proto-signal path from the factory. The return value indicates
|
|
156
|
+
* Deletes a proto-signal path from the factory. The return value indicates
|
|
157
|
+
* whether the signal path was successfully added.
|
|
120
158
|
*
|
|
121
159
|
* @method OcaBlockFactory#UndefineProtoSignalPath
|
|
122
160
|
* @returns {Promise<number>}
|
|
@@ -125,7 +163,9 @@ export declare class OcaBlockFactory extends OcaWorker {
|
|
|
125
163
|
UndefineProtoSignalPath(): Promise<number>;
|
|
126
164
|
|
|
127
165
|
/**
|
|
128
|
-
* Gets the factory's list of proto-signal paths. Map key is proto-signal path
|
|
166
|
+
* Gets the factory's list of proto-signal paths. Map key is proto-signal path
|
|
167
|
+
* ID. Does not recurse inner proto-blocks. The return value indicates whether
|
|
168
|
+
* the list was successfully retrieved.
|
|
129
169
|
*
|
|
130
170
|
* @method OcaBlockFactory#GetProtoSignalPaths
|
|
131
171
|
* @returns {Promise<Map<number, OcaProtoSignalPath>>}
|
|
@@ -134,7 +174,9 @@ export declare class OcaBlockFactory extends OcaWorker {
|
|
|
134
174
|
GetProtoSignalPaths(): Promise<Map<number, OcaProtoSignalPath>>;
|
|
135
175
|
|
|
136
176
|
/**
|
|
137
|
-
* Gets the global type identifier for blocks created by this factory. The
|
|
177
|
+
* Gets the global type identifier for blocks created by this factory. The
|
|
178
|
+
* return value indicates whether the identifier was successfully retrieved.
|
|
179
|
+
* **Added in version 2 of this class.**
|
|
138
180
|
*
|
|
139
181
|
* @method OcaBlockFactory#GetGlobalType
|
|
140
182
|
* @returns {Promise<OcaGlobalTypeIdentifier>}
|
|
@@ -143,10 +185,12 @@ export declare class OcaBlockFactory extends OcaWorker {
|
|
|
143
185
|
GetGlobalType(): Promise<OcaGlobalTypeIdentifier>;
|
|
144
186
|
|
|
145
187
|
/**
|
|
146
|
-
* Sets the global type identifier for blocks created by this factory. The
|
|
188
|
+
* Sets the global type identifier for blocks created by this factory. The
|
|
189
|
+
* return value indicates whether the identifier was successfully set. **Added
|
|
190
|
+
* in version 2 of this class.**
|
|
147
191
|
*
|
|
148
192
|
* @method OcaBlockFactory#SetGlobalType
|
|
149
|
-
* @param {
|
|
193
|
+
* @param {IOcaGlobalTypeIdentifier} GlobalType
|
|
150
194
|
*
|
|
151
195
|
* @returns {Promise<void>}
|
|
152
196
|
*/
|