aes70 1.6.1 → 2.0.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/COPYING +7 -7
- package/Changelog +9 -0
- package/README.md +74 -42
- package/dist/AES70.es5.js +24520 -1
- package/package.json +3 -3
- package/src/OCP1/Arguments.js +3 -0
- package/src/OCP1/Enum.js +8 -0
- package/src/OCP1/OcaActionObjectSearchResult.js +20 -0
- package/src/OCP1/OcaActionObjectSearchResultFlags.js +3 -0
- package/src/OCP1/OcaArray1D.js +108 -0
- package/src/OCP1/OcaBitstring.js +3 -0
- package/src/OCP1/OcaBlob.js +2 -43
- package/src/OCP1/OcaBlobFixedLen.js +8 -0
- package/src/OCP1/OcaBlockConfigurability.js +3 -0
- package/src/OCP1/OcaBoolean.js +3 -0
- package/src/OCP1/OcaCommand.js +17 -0
- package/src/OCP1/OcaCommandResult.js +17 -0
- package/src/OCP1/OcaCommandSetResult.js +17 -0
- package/src/OCP1/OcaConstructionParameter.js +16 -0
- package/src/OCP1/OcaCounter.js +22 -0
- package/src/OCP1/OcaCounterNotifierFilterParameters.js +19 -0
- package/src/OCP1/OcaCounterSet.js +17 -0
- package/src/OCP1/OcaCounterUpdate.js +18 -0
- package/src/OCP1/OcaCounterUpdateEventData.js +15 -0
- package/src/OCP1/OcaDatasetSearchResult.js +17 -0
- package/src/OCP1/OcaDeviceGenericState.js +4 -0
- package/src/OCP1/OcaDeviceOperationalState.js +16 -0
- package/src/OCP1/OcaExecutableType.js +4 -0
- package/src/OCP1/OcaFloat32.js +3 -0
- package/src/OCP1/OcaFloat64.js +3 -0
- package/src/OCP1/OcaGenericEndState.js +4 -0
- package/src/OCP1/OcaGlobalTypeIdentifier.js +1 -1
- package/src/OCP1/OcaGroupException.js +18 -0
- package/src/OCP1/OcaIODirection.js +4 -0
- package/src/OCP1/OcaIP4AutoconfigMode.js +4 -0
- package/src/OCP1/OcaIP4Gateway.js +17 -0
- package/src/OCP1/OcaIP4NetworkSettings.js +23 -0
- package/src/OCP1/OcaIP6AutoconfigMode.js +4 -0
- package/src/OCP1/OcaIP6Gateway.js +17 -0
- package/src/OCP1/OcaIP6NetworkSettings.js +24 -0
- package/src/OCP1/OcaInt16.js +3 -0
- package/src/OCP1/OcaInt32.js +3 -0
- package/src/OCP1/OcaInt64.js +3 -0
- package/src/OCP1/OcaInt8.js +3 -0
- package/src/OCP1/OcaInterval.js +18 -0
- package/src/OCP1/OcaIntervalBounds.js +3 -0
- package/src/OCP1/OcaJobDisposedEventData.js +18 -0
- package/src/OCP1/OcaJobDisposition.js +4 -0
- package/src/OCP1/OcaJobQueueItem.js +24 -0
- package/src/OCP1/OcaList.js +2 -127
- package/src/OCP1/OcaList2D.js +6 -0
- package/src/OCP1/OcaList32.js +3 -0
- package/src/OCP1/OcaLockState.js +4 -0
- package/src/OCP1/OcaLogFilter.js +20 -0
- package/src/OCP1/OcaLogRecord.js +21 -0
- package/src/OCP1/OcaLongBlob.js +3 -0
- package/src/OCP1/OcaManufacturer.js +19 -0
- package/src/OCP1/OcaMap.js +3 -0
- package/src/OCP1/OcaMatrixCommand.js +19 -0
- package/src/OCP1/OcaMatrixCoordinates.js +15 -0
- package/src/OCP1/OcaMediaAccessMode.js +4 -0
- package/src/OCP1/OcaMediaFrameFormat.js +4 -0
- package/src/OCP1/OcaMediaPlayOption.js +4 -0
- package/src/OCP1/OcaMediaRecorderPlayerState.js +4 -0
- package/src/OCP1/OcaMediaStreamEndpoint.js +40 -0
- package/src/OCP1/OcaMediaStreamEndpointCommand.js +4 -0
- package/src/OCP1/OcaMediaStreamEndpointState.js +4 -0
- package/src/OCP1/OcaMediaStreamEndpointStatus.js +16 -0
- package/src/OCP1/OcaMediaStreamMode.js +21 -0
- package/src/OCP1/OcaMediaStreamModeCapability.js +29 -0
- package/src/OCP1/OcaMediaStreamModeCapabilityDirection.js +3 -0
- package/src/OCP1/OcaMediaTrackFunction.js +3 -0
- package/src/OCP1/OcaMediaTransportSession.js +30 -0
- package/src/OCP1/OcaMediaTransportSessionConnection.js +17 -0
- package/src/OCP1/OcaMediaTransportSessionConnectionState.js +15 -0
- package/src/OCP1/OcaMediaTransportSessionState.js +4 -0
- package/src/OCP1/OcaMediaTransportSessionStatus.js +16 -0
- package/src/OCP1/OcaMediaTransportTimingParameters.js +16 -0
- package/src/OCP1/OcaMediaVolumePosition.js +16 -0
- package/src/OCP1/OcaMediaVolumePositionType.js +4 -0
- package/src/OCP1/OcaMultiMap.js +3 -0
- package/src/OCP1/OcaNetworkAdvertisingMechanism.js +16 -0
- package/src/OCP1/OcaNetworkAdvertisingService.js +4 -0
- package/src/OCP1/OcaNetworkInterfaceAssignment.js +23 -0
- package/src/OCP1/OcaNetworkInterfaceCommand.js +4 -0
- package/src/OCP1/OcaNetworkInterfaceState.js +4 -0
- package/src/OCP1/OcaNetworkInterfaceStatus.js +16 -0
- package/src/OCP1/OcaObjectSearchResult.js +2 -18
- package/src/OCP1/OcaObjectSearchResultFlags.js +5 -3
- package/src/OCP1/OcaPort.js +1 -1
- package/src/OCP1/OcaPortClockMapEntry.js +16 -0
- package/src/OCP1/OcaPortID.js +2 -2
- package/src/OCP1/OcaPortIdentification.js +16 -0
- package/src/OCP1/OcaPortMode.js +5 -4
- package/src/OCP1/OcaPositionDescriptor.js +2 -2
- package/src/OCP1/OcaProduct.js +19 -0
- package/src/OCP1/OcaProgramResult.js +17 -0
- package/src/OCP1/OcaProgramRunMode.js +3 -0
- package/src/OCP1/OcaProtoPort.js +2 -2
- package/src/OCP1/OcaProtoPortClockMapEntry.js +17 -0
- package/src/OCP1/OcaProtoSignalPath.js +2 -2
- package/src/OCP1/OcaSamplingRateConverterType.js +4 -0
- package/src/OCP1/OcaSecurityType.js +4 -0
- package/src/OCP1/OcaSignalPath.js +2 -2
- package/src/OCP1/OcaString.js +3 -0
- package/src/OCP1/OcaTask.js +4 -3
- package/src/OCP1/OcaTaskExecutionTerminatedEventData.js +20 -0
- package/src/OCP1/OcaTaskGenericState.js +4 -0
- package/src/OCP1/OcaTaskOperationalState.js +17 -0
- package/src/OCP1/OcaTaskSchedulerState.js +4 -0
- package/src/OCP1/OcaTaskStatusChangedEventData.js +18 -0
- package/src/OCP1/OcaTime.js +18 -0
- package/src/OCP1/OcaTimeDeliveryMechanism.js +4 -0
- package/src/OCP1/OcaTimeDeliveryParameters_StreamEndpoint.js +15 -0
- package/src/OCP1/OcaTimePTP.js +2 -15
- package/src/OCP1/OcaTypedBlob.js +16 -0
- package/src/OCP1/OcaUint16.js +3 -0
- package/src/OCP1/OcaUint32.js +3 -0
- package/src/OCP1/OcaUint64.js +3 -0
- package/src/OCP1/OcaUint8.js +3 -0
- package/src/OCP1/OcaVariant.js +92 -0
- package/src/OCP1/OcaWhenPhysicalAbsolute.js +16 -0
- package/src/OCP1/OcaWhenPhysicalRelative.js +16 -0
- package/src/OCP1/RestWithOffset.js +3 -0
- package/src/OCP1/String16.js +3 -0
- package/src/OCP1/Struct.js +12 -0
- package/src/OCP1/Tuple.js +3 -0
- package/src/OCP1/createBlobType.js +58 -0
- package/src/OCP1/createListType.js +137 -0
- package/src/OCP1/createType.js +8 -4
- package/src/OCP1/decode_message.js +10 -2
- package/src/OCP1/encode_message.js +5 -1
- package/src/OCP1/getLengthEncoder.js +23 -0
- package/src/OCP1/notification2.js +70 -0
- package/src/OCP1/protocol_version.js +4 -0
- package/src/connection.js +14 -6
- package/src/controller/ControlClasses/OcaActuator.d.ts +3 -3
- package/src/controller/ControlClasses/OcaActuator.js +4 -4
- package/src/controller/ControlClasses/OcaAgent.d.ts +6 -14
- package/src/controller/ControlClasses/OcaAgent.js +8 -18
- package/src/controller/ControlClasses/OcaApplicationNetwork.d.ts +9 -17
- package/src/controller/ControlClasses/OcaApplicationNetwork.js +11 -32
- package/src/controller/ControlClasses/OcaAudioLevelSensor.d.ts +4 -7
- package/src/controller/ControlClasses/OcaAudioLevelSensor.js +5 -8
- package/src/controller/ControlClasses/OcaAudioProcessingManager.d.ts +1 -1
- package/src/controller/ControlClasses/OcaAudioProcessingManager.js +2 -2
- package/src/controller/ControlClasses/OcaBasicActuator.d.ts +1 -1
- package/src/controller/ControlClasses/OcaBasicActuator.js +2 -2
- package/src/controller/ControlClasses/OcaBasicSensor.d.ts +1 -1
- package/src/controller/ControlClasses/OcaBasicSensor.js +2 -2
- package/src/controller/ControlClasses/OcaBitstringActuator.d.ts +34 -13
- package/src/controller/ControlClasses/OcaBitstringActuator.js +35 -18
- package/src/controller/ControlClasses/OcaBitstringSensor.d.ts +19 -7
- package/src/controller/ControlClasses/OcaBitstringSensor.js +22 -12
- package/src/controller/ControlClasses/OcaBlock.d.ts +455 -89
- package/src/controller/ControlClasses/OcaBlock.js +477 -103
- package/src/controller/ControlClasses/OcaBlockFactoryAgent.d.ts +299 -0
- package/src/controller/ControlClasses/OcaBlockFactoryAgent.js +360 -0
- package/src/controller/ControlClasses/OcaBooleanActuator.d.ts +2 -4
- package/src/controller/ControlClasses/OcaBooleanActuator.js +3 -5
- package/src/controller/ControlClasses/OcaBooleanSensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaBooleanSensor.js +3 -4
- package/src/controller/ControlClasses/OcaCodingManager.js +1 -1
- package/src/controller/ControlClasses/OcaCommandSet.d.ts +89 -0
- package/src/controller/ControlClasses/OcaCommandSet.js +94 -0
- package/src/controller/ControlClasses/OcaCommandSetAgent.d.ts +31 -0
- package/src/controller/ControlClasses/OcaCommandSetAgent.js +38 -0
- package/src/controller/ControlClasses/OcaCounterNotifier.d.ts +89 -0
- package/src/controller/ControlClasses/OcaCounterNotifier.js +101 -0
- package/src/controller/ControlClasses/OcaCurrentSensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaCurrentSensor.js +3 -4
- package/src/controller/ControlClasses/OcaDataset.d.ts +223 -0
- package/src/controller/ControlClasses/OcaDataset.js +234 -0
- package/src/controller/ControlClasses/OcaDatasetWorker.d.ts +31 -0
- package/src/controller/ControlClasses/OcaDatasetWorker.js +40 -0
- package/src/controller/ControlClasses/OcaDelay.d.ts +2 -4
- package/src/controller/ControlClasses/OcaDelay.js +3 -5
- package/src/controller/ControlClasses/OcaDelayExtended.d.ts +5 -7
- package/src/controller/ControlClasses/OcaDelayExtended.js +6 -8
- package/src/controller/ControlClasses/OcaDeviceManager.d.ts +123 -62
- package/src/controller/ControlClasses/OcaDeviceManager.js +161 -83
- package/src/controller/ControlClasses/OcaDeviceTimeManager.d.ts +43 -25
- package/src/controller/ControlClasses/OcaDeviceTimeManager.js +43 -28
- package/src/controller/ControlClasses/OcaDiagnosticManager.d.ts +1 -13
- package/src/controller/ControlClasses/OcaDiagnosticManager.js +3 -16
- package/src/controller/ControlClasses/OcaDynamics.d.ts +38 -63
- package/src/controller/ControlClasses/OcaDynamics.js +48 -71
- package/src/controller/ControlClasses/OcaDynamicsCurve.d.ts +169 -82
- package/src/controller/ControlClasses/OcaDynamicsCurve.js +189 -93
- package/src/controller/ControlClasses/OcaDynamicsDetector.d.ts +8 -16
- package/src/controller/ControlClasses/OcaDynamicsDetector.js +9 -17
- package/src/controller/ControlClasses/OcaFilterArbitraryCurve.d.ts +5 -7
- package/src/controller/ControlClasses/OcaFilterArbitraryCurve.js +10 -12
- package/src/controller/ControlClasses/OcaFilterClassical.d.ts +15 -26
- package/src/controller/ControlClasses/OcaFilterClassical.js +15 -27
- package/src/controller/ControlClasses/OcaFilterFIR.d.ts +6 -11
- package/src/controller/ControlClasses/OcaFilterFIR.js +12 -18
- package/src/controller/ControlClasses/OcaFilterParametric.d.ts +55 -26
- package/src/controller/ControlClasses/OcaFilterParametric.js +63 -32
- package/src/controller/ControlClasses/OcaFilterPolynomial.d.ts +5 -4
- package/src/controller/ControlClasses/OcaFilterPolynomial.js +8 -7
- package/src/controller/ControlClasses/OcaFirmwareManager.d.ts +6 -11
- package/src/controller/ControlClasses/OcaFirmwareManager.js +5 -11
- package/src/controller/ControlClasses/OcaFloat32Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaFloat32Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaFloat32Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaFloat32Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaFloat64Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaFloat64Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaFloat64Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaFloat64Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaFrequencyActuator.d.ts +2 -4
- package/src/controller/ControlClasses/OcaFrequencyActuator.js +3 -5
- package/src/controller/ControlClasses/OcaFrequencySensor.d.ts +1 -2
- package/src/controller/ControlClasses/OcaFrequencySensor.js +2 -3
- package/src/controller/ControlClasses/OcaGain.d.ts +2 -4
- package/src/controller/ControlClasses/OcaGain.js +3 -5
- package/src/controller/ControlClasses/OcaGainSensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaGainSensor.js +3 -4
- package/src/controller/ControlClasses/OcaGroup.d.ts +140 -0
- package/src/controller/ControlClasses/OcaGroup.js +156 -0
- package/src/controller/ControlClasses/OcaGrouper.d.ts +20 -140
- package/src/controller/ControlClasses/OcaGrouper.js +34 -171
- package/src/controller/ControlClasses/OcaIdentificationActuator.d.ts +5 -7
- package/src/controller/ControlClasses/OcaIdentificationActuator.js +7 -9
- package/src/controller/ControlClasses/OcaIdentificationSensor.d.ts +5 -6
- package/src/controller/ControlClasses/OcaIdentificationSensor.js +6 -7
- package/src/controller/ControlClasses/OcaImpedanceSensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaImpedanceSensor.js +3 -4
- package/src/controller/ControlClasses/OcaInt16Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaInt16Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaInt16Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaInt16Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaInt32Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaInt32Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaInt32Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaInt32Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaInt64Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaInt64Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaInt64Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaInt64Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaInt8Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaInt8Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaInt8Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaInt8Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaJsonActuator.d.ts +46 -0
- package/src/controller/ControlClasses/OcaJsonActuator.js +58 -0
- package/src/controller/ControlClasses/OcaJsonSensor.d.ts +51 -0
- package/src/controller/ControlClasses/OcaJsonSensor.js +65 -0
- package/src/controller/ControlClasses/OcaLevelSensor.d.ts +1 -2
- package/src/controller/ControlClasses/OcaLevelSensor.js +2 -3
- package/src/controller/ControlClasses/OcaLibraryManager.d.ts +1 -1
- package/src/controller/ControlClasses/OcaLibraryManager.js +3 -3
- package/src/controller/ControlClasses/OcaLockManager.d.ts +44 -0
- package/src/controller/ControlClasses/OcaLockManager.js +53 -0
- package/src/controller/ControlClasses/OcaLog.d.ts +128 -0
- package/src/controller/ControlClasses/OcaLog.js +142 -0
- package/src/controller/ControlClasses/OcaManager.js +1 -1
- package/src/controller/ControlClasses/OcaMatrix.d.ts +104 -82
- package/src/controller/ControlClasses/OcaMatrix.js +121 -93
- package/src/controller/ControlClasses/OcaMediaClock.d.ts +27 -0
- package/src/controller/ControlClasses/OcaMediaClock.js +28 -4
- package/src/controller/ControlClasses/OcaMediaClock3.d.ts +16 -22
- package/src/controller/ControlClasses/OcaMediaClock3.js +22 -29
- package/src/controller/ControlClasses/OcaMediaClockManager.d.ts +7 -10
- package/src/controller/ControlClasses/OcaMediaClockManager.js +9 -13
- package/src/controller/ControlClasses/OcaMediaRecorderPlayer.d.ts +235 -0
- package/src/controller/ControlClasses/OcaMediaRecorderPlayer.js +261 -0
- package/src/controller/ControlClasses/OcaMediaTransportApplication.d.ts +612 -0
- package/src/controller/ControlClasses/OcaMediaTransportApplication.js +704 -0
- package/src/controller/ControlClasses/OcaMediaTransportNetwork.d.ts +12 -25
- package/src/controller/ControlClasses/OcaMediaTransportNetwork.js +12 -35
- package/src/controller/ControlClasses/OcaMediaTransportSessionAgent.d.ts +235 -0
- package/src/controller/ControlClasses/OcaMediaTransportSessionAgent.js +249 -0
- package/src/controller/ControlClasses/OcaMute.d.ts +2 -4
- package/src/controller/ControlClasses/OcaMute.js +3 -5
- package/src/controller/ControlClasses/OcaNetwork.js +1 -1
- package/src/controller/ControlClasses/OcaNetworkApplication.d.ts +179 -0
- package/src/controller/ControlClasses/OcaNetworkApplication.js +202 -0
- package/src/controller/ControlClasses/OcaNetworkInterface.d.ts +318 -0
- package/src/controller/ControlClasses/OcaNetworkInterface.js +353 -0
- package/src/controller/ControlClasses/OcaNetworkManager.d.ts +45 -17
- package/src/controller/ControlClasses/OcaNetworkManager.js +59 -22
- package/src/controller/ControlClasses/OcaNetworkSignalChannel.js +1 -1
- package/src/controller/ControlClasses/OcaNumericObserver.d.ts +24 -40
- package/src/controller/ControlClasses/OcaNumericObserver.js +25 -40
- package/src/controller/ControlClasses/OcaNumericObserverList.d.ts +20 -33
- package/src/controller/ControlClasses/OcaNumericObserverList.js +26 -39
- package/src/controller/ControlClasses/OcaPanBalance.d.ts +4 -8
- package/src/controller/ControlClasses/OcaPanBalance.js +5 -9
- package/src/controller/ControlClasses/OcaPhysicalPosition.d.ts +3 -6
- package/src/controller/ControlClasses/OcaPhysicalPosition.js +4 -7
- package/src/controller/ControlClasses/OcaPolarity.d.ts +2 -4
- package/src/controller/ControlClasses/OcaPolarity.js +3 -5
- package/src/controller/ControlClasses/OcaPowerManager.d.ts +30 -14
- package/src/controller/ControlClasses/OcaPowerManager.js +32 -17
- package/src/controller/ControlClasses/OcaPowerSensor.d.ts +38 -0
- package/src/controller/ControlClasses/OcaPowerSensor.js +51 -0
- package/src/controller/ControlClasses/OcaPowerSupply.d.ts +8 -16
- package/src/controller/ControlClasses/OcaPowerSupply.js +13 -21
- package/src/controller/ControlClasses/OcaProgram.d.ts +63 -0
- package/src/controller/ControlClasses/OcaProgram.js +82 -0
- package/src/controller/ControlClasses/OcaRamper.d.ts +46 -10
- package/src/controller/ControlClasses/OcaRamper.js +65 -12
- package/src/controller/ControlClasses/OcaRoot.d.ts +69 -24
- package/src/controller/ControlClasses/OcaRoot.js +67 -26
- package/src/controller/ControlClasses/OcaSamplingRateConverter.d.ts +22 -0
- package/src/controller/ControlClasses/OcaSamplingRateConverter.js +28 -0
- package/src/controller/ControlClasses/OcaSecurityManager.d.ts +12 -13
- package/src/controller/ControlClasses/OcaSecurityManager.js +10 -12
- package/src/controller/ControlClasses/OcaSensor.d.ts +1 -2
- package/src/controller/ControlClasses/OcaSensor.js +2 -3
- package/src/controller/ControlClasses/OcaSignalGenerator.d.ts +21 -39
- package/src/controller/ControlClasses/OcaSignalGenerator.js +22 -40
- package/src/controller/ControlClasses/OcaSignalInput.d.ts +4 -4
- package/src/controller/ControlClasses/OcaSignalInput.js +5 -5
- package/src/controller/ControlClasses/OcaSignalOutput.d.ts +4 -4
- package/src/controller/ControlClasses/OcaSignalOutput.js +5 -5
- package/src/controller/ControlClasses/OcaStateSensor.d.ts +58 -0
- package/src/controller/ControlClasses/OcaStateSensor.js +75 -0
- package/src/controller/ControlClasses/OcaStreamConnector.js +1 -1
- package/src/controller/ControlClasses/OcaStreamNetwork.js +1 -1
- package/src/controller/ControlClasses/OcaStringActuator.d.ts +7 -8
- package/src/controller/ControlClasses/OcaStringActuator.js +7 -8
- package/src/controller/ControlClasses/OcaStringSensor.d.ts +20 -9
- package/src/controller/ControlClasses/OcaStringSensor.js +23 -13
- package/src/controller/ControlClasses/OcaSubscriptionManager.d.ts +211 -41
- package/src/controller/ControlClasses/OcaSubscriptionManager.js +224 -39
- package/src/controller/ControlClasses/OcaSummingPoint.d.ts +3 -2
- package/src/controller/ControlClasses/OcaSummingPoint.js +4 -3
- package/src/controller/ControlClasses/OcaSwitch.d.ts +70 -25
- package/src/controller/ControlClasses/OcaSwitch.js +113 -35
- package/src/controller/ControlClasses/OcaTaskAgent.d.ts +192 -0
- package/src/controller/ControlClasses/OcaTaskAgent.js +212 -0
- package/src/controller/ControlClasses/OcaTaskManager.d.ts +4 -6
- package/src/controller/ControlClasses/OcaTaskManager.js +7 -9
- package/src/controller/ControlClasses/OcaTaskScheduler.d.ts +150 -0
- package/src/controller/ControlClasses/OcaTaskScheduler.js +159 -0
- package/src/controller/ControlClasses/OcaTemperatureActuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaTemperatureActuator.js +4 -6
- package/src/controller/ControlClasses/OcaTemperatureSensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaTemperatureSensor.js +3 -4
- package/src/controller/ControlClasses/OcaTimeIntervalSensor.d.ts +1 -2
- package/src/controller/ControlClasses/OcaTimeIntervalSensor.js +2 -3
- package/src/controller/ControlClasses/OcaTimeSource.d.ts +108 -37
- package/src/controller/ControlClasses/OcaTimeSource.js +148 -48
- package/src/controller/ControlClasses/OcaUint16Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaUint16Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaUint16Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaUint16Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaUint32Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaUint32Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaUint32Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaUint32Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaUint64Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaUint64Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaUint64Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaUint64Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaUint8Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaUint8Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaUint8Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaUint8Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaVoltageSensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaVoltageSensor.js +3 -4
- package/src/controller/ControlClasses/OcaWorker.d.ts +84 -37
- package/src/controller/ControlClasses/OcaWorker.js +93 -43
- package/src/controller/base_event.js +71 -23
- package/src/controller/client_connection.d.ts +26 -0
- package/src/controller/client_connection.js +39 -7
- package/src/controller/event.js +17 -20
- package/src/controller/make_control_class.js +3 -1
- package/src/controller/notification_error.d.ts +40 -0
- package/src/controller/notification_error.js +62 -0
- package/src/controller/observeProperty.js +8 -8
- package/src/controller/property_event.js +18 -10
- package/src/controller/remote_device.js +137 -49
- package/src/controller/tcp_connection.d.ts +8 -6
- package/src/index.default.d.ts +1 -0
- package/src/index.default.js +1 -0
- package/src/types/Enum.js +8 -0
- package/src/types/OcaActionObjectSearchResult.d.ts +73 -0
- package/src/types/OcaActionObjectSearchResult.js +34 -0
- package/src/types/OcaActionObjectSearchResultFlags.d.ts +37 -0
- package/src/types/OcaActionObjectSearchResultFlags.js +52 -0
- package/src/types/OcaApplicationNetworkCommand.d.ts +1 -19
- package/src/types/OcaApplicationNetworkCommand.js +0 -24
- package/src/types/OcaApplicationNetworkState.d.ts +1 -37
- package/src/types/OcaApplicationNetworkState.js +0 -48
- package/src/types/OcaBlockConfigurability.d.ts +26 -0
- package/src/types/OcaBlockConfigurability.js +35 -0
- package/src/types/OcaClassicalFilterShape.d.ts +1 -1
- package/src/types/OcaClassicalFilterShape.js +1 -1
- package/src/types/OcaCommand.d.ts +44 -0
- package/src/types/OcaCommand.js +25 -0
- package/src/types/OcaCommandResult.d.ts +42 -0
- package/src/types/OcaCommandResult.js +24 -0
- package/src/types/OcaCommandSetResult.d.ts +41 -0
- package/src/types/OcaCommandSetResult.js +23 -0
- package/src/types/OcaConstructionParameter.d.ts +40 -0
- package/src/types/OcaConstructionParameter.js +23 -0
- package/src/types/OcaCounter.d.ts +81 -0
- package/src/types/OcaCounter.js +38 -0
- package/src/types/OcaCounterNotifierFilterParameters.d.ts +81 -0
- package/src/types/OcaCounterNotifierFilterParameters.js +37 -0
- package/src/types/OcaCounterSet.d.ts +38 -0
- package/src/types/OcaCounterSet.js +22 -0
- package/src/types/OcaCounterUpdate.d.ts +54 -0
- package/src/types/OcaCounterUpdate.js +28 -0
- package/src/types/OcaCounterUpdateEventData.d.ts +27 -0
- package/src/types/OcaCounterUpdateEventData.js +17 -0
- package/src/types/OcaDatasetSearchResult.d.ts +51 -0
- package/src/types/OcaDatasetSearchResult.js +28 -0
- package/src/types/OcaDelayUnit.d.ts +2 -1
- package/src/types/OcaDelayUnit.js +2 -1
- package/src/types/OcaDelayValue.d.ts +2 -1
- package/src/types/OcaDelayValue.js +2 -1
- package/src/types/OcaDeviceGenericState.d.ts +62 -0
- package/src/types/OcaDeviceGenericState.js +52 -0
- package/src/types/OcaDeviceOperationalState.d.ts +42 -0
- package/src/types/OcaDeviceOperationalState.js +22 -0
- package/src/types/OcaDeviceState.d.ts +2 -2
- package/src/types/OcaDeviceState.js +2 -2
- package/src/types/OcaExecutableType.d.ts +50 -0
- package/src/types/OcaExecutableType.js +36 -0
- package/src/types/OcaGenericEndState.d.ts +56 -0
- package/src/types/OcaGenericEndState.js +44 -0
- package/src/types/OcaGlobalTypeIdentifier.d.ts +12 -12
- package/src/types/OcaGlobalTypeIdentifier.js +8 -7
- package/src/types/OcaGroupException.d.ts +53 -0
- package/src/types/OcaGroupException.js +28 -0
- package/src/types/OcaGrouperCitizen.d.ts +10 -10
- package/src/types/OcaGrouperCitizen.js +6 -6
- package/src/types/OcaGrouperEnrollment.d.ts +4 -9
- package/src/types/OcaGrouperEnrollment.js +3 -5
- package/src/types/OcaGrouperGroup.d.ts +9 -9
- package/src/types/OcaGrouperGroup.js +5 -5
- package/src/types/OcaGrouperMode.d.ts +4 -3
- package/src/types/OcaGrouperMode.js +4 -3
- package/src/types/OcaGrouperStatusChangeEventData.d.ts +2 -2
- package/src/types/OcaGrouperStatusChangeEventData.js +2 -2
- package/src/types/OcaGrouperStatusChangeType.d.ts +1 -1
- package/src/types/OcaGrouperStatusChangeType.js +1 -1
- package/src/types/OcaIODirection.d.ts +39 -0
- package/src/types/OcaIODirection.js +28 -0
- package/src/types/OcaIP4AutoconfigMode.d.ts +56 -0
- package/src/types/OcaIP4AutoconfigMode.js +44 -0
- package/src/types/OcaIP4Gateway.d.ts +53 -0
- package/src/types/OcaIP4Gateway.js +27 -0
- package/src/types/OcaIP4NetworkSettings.d.ts +111 -0
- package/src/types/OcaIP4NetworkSettings.js +56 -0
- package/src/types/OcaIP6AutoconfigMode.d.ts +56 -0
- package/src/types/OcaIP6AutoconfigMode.js +44 -0
- package/src/types/OcaIP6Gateway.d.ts +53 -0
- package/src/types/OcaIP6Gateway.js +27 -0
- package/src/types/OcaIP6NetworkSettings.d.ts +123 -0
- package/src/types/OcaIP6NetworkSettings.js +61 -0
- package/src/types/OcaInterval.d.ts +8 -0
- package/src/types/OcaInterval.js +84 -0
- package/src/types/OcaIntervalBounds.d.ts +41 -0
- package/src/types/OcaIntervalBounds.js +53 -0
- package/src/types/OcaJobDisposedEventData.d.ts +57 -0
- package/src/types/OcaJobDisposedEventData.js +28 -0
- package/src/types/OcaJobDisposition.d.ts +68 -0
- package/src/types/OcaJobDisposition.js +60 -0
- package/src/types/OcaJobQueueItem.d.ts +105 -0
- package/src/types/OcaJobQueueItem.js +44 -0
- package/src/types/OcaLibVolType.d.ts +2 -4
- package/src/types/OcaLibVolType.js +1 -2
- package/src/types/OcaLockState.d.ts +50 -0
- package/src/types/OcaLockState.js +36 -0
- package/src/types/OcaLogFilter.d.ts +70 -0
- package/src/types/OcaLogFilter.js +33 -0
- package/src/types/OcaLogRecord.d.ts +85 -0
- package/src/types/OcaLogRecord.js +40 -0
- package/src/types/OcaManagerDefaultObjectNumbers.d.ts +7 -0
- package/src/types/OcaManagerDefaultObjectNumbers.js +7 -0
- package/src/types/OcaManagerDescriptor.d.ts +11 -9
- package/src/types/OcaManagerDescriptor.js +6 -5
- package/src/types/OcaManufacturer.d.ts +87 -0
- package/src/types/OcaManufacturer.js +47 -0
- package/src/types/OcaMatrixCommand.d.ts +61 -0
- package/src/types/OcaMatrixCommand.js +29 -0
- package/src/types/OcaMatrixCoordinates.d.ts +38 -0
- package/src/types/OcaMatrixCoordinates.js +23 -0
- package/src/types/OcaMediaAccessMode.d.ts +50 -0
- package/src/types/OcaMediaAccessMode.js +36 -0
- package/src/types/OcaMediaClockAvailability.d.ts +1 -1
- package/src/types/OcaMediaClockAvailability.js +1 -1
- package/src/types/OcaMediaClockRate.d.ts +7 -7
- package/src/types/OcaMediaClockRate.js +4 -4
- package/src/types/OcaMediaConnection.d.ts +2 -2
- package/src/types/OcaMediaConnection.js +1 -1
- package/src/types/OcaMediaFrameFormat.d.ts +74 -0
- package/src/types/OcaMediaFrameFormat.js +68 -0
- package/src/types/OcaMediaPlayOption.d.ts +50 -0
- package/src/types/OcaMediaPlayOption.js +36 -0
- package/src/types/OcaMediaRecorderPlayerState.d.ts +62 -0
- package/src/types/OcaMediaRecorderPlayerState.js +52 -0
- package/src/types/OcaMediaStreamCastMode.d.ts +3 -3
- package/src/types/OcaMediaStreamCastMode.js +3 -3
- package/src/types/OcaMediaStreamEndpoint.d.ts +238 -0
- package/src/types/OcaMediaStreamEndpoint.js +114 -0
- package/src/types/OcaMediaStreamEndpointCommand.d.ts +80 -0
- package/src/types/OcaMediaStreamEndpointCommand.js +76 -0
- package/src/types/OcaMediaStreamEndpointState.d.ts +68 -0
- package/src/types/OcaMediaStreamEndpointState.js +60 -0
- package/src/types/OcaMediaStreamEndpointStatus.d.ts +44 -0
- package/src/types/OcaMediaStreamEndpointStatus.js +23 -0
- package/src/types/OcaMediaStreamMode.d.ts +83 -0
- package/src/types/OcaMediaStreamMode.js +43 -0
- package/src/types/OcaMediaStreamModeCapability.d.ts +167 -0
- package/src/types/OcaMediaStreamModeCapability.js +81 -0
- package/src/types/OcaMediaStreamModeCapabilityDirection.d.ts +21 -0
- package/src/types/OcaMediaStreamModeCapabilityDirection.js +27 -0
- package/src/types/OcaMediaTrackFunction.d.ts +27 -0
- package/src/types/OcaMediaTrackFunction.js +36 -0
- package/src/types/OcaMediaTransportSession.d.ts +119 -0
- package/src/types/OcaMediaTransportSession.js +58 -0
- package/src/types/OcaMediaTransportSessionConnection.d.ts +63 -0
- package/src/types/OcaMediaTransportSessionConnection.js +32 -0
- package/src/types/OcaMediaTransportSessionConnectionState.d.ts +47 -0
- package/src/types/OcaMediaTransportSessionConnectionState.js +24 -0
- package/src/types/OcaMediaTransportSessionState.d.ts +62 -0
- package/src/types/OcaMediaTransportSessionState.js +52 -0
- package/src/types/OcaMediaTransportSessionStatus.d.ts +43 -0
- package/src/types/OcaMediaTransportSessionStatus.js +23 -0
- package/src/types/OcaMediaTransportTimingParameters.d.ts +54 -0
- package/src/types/OcaMediaTransportTimingParameters.js +31 -0
- package/src/types/OcaMediaVolumePosition.d.ts +46 -0
- package/src/types/OcaMediaVolumePosition.js +23 -0
- package/src/types/OcaMediaVolumePositionType.d.ts +44 -0
- package/src/types/OcaMediaVolumePositionType.js +28 -0
- package/src/types/OcaModelGUID.d.ts +0 -1
- package/src/types/OcaModelGUID.js +0 -1
- package/src/types/OcaNetworkAdvertisingMechanism.d.ts +43 -0
- package/src/types/OcaNetworkAdvertisingMechanism.js +23 -0
- package/src/types/OcaNetworkAdvertisingService.d.ts +56 -0
- package/src/types/OcaNetworkAdvertisingService.js +44 -0
- package/src/types/OcaNetworkInterfaceAssignment.d.ts +99 -0
- package/src/types/OcaNetworkInterfaceAssignment.js +51 -0
- package/src/types/OcaNetworkInterfaceCommand.d.ts +50 -0
- package/src/types/OcaNetworkInterfaceCommand.js +36 -0
- package/src/types/OcaNetworkInterfaceState.d.ts +50 -0
- package/src/types/OcaNetworkInterfaceState.js +36 -0
- package/src/types/OcaNetworkInterfaceStatus.d.ts +42 -0
- package/src/types/OcaNetworkInterfaceStatus.js +22 -0
- package/src/types/OcaNotificationDeliveryMode.d.ts +13 -1
- package/src/types/OcaNotificationDeliveryMode.js +17 -1
- package/src/types/OcaOPath.d.ts +16 -2
- package/src/types/OcaOPath.js +8 -1
- package/src/types/OcaObjectListEventData.d.ts +2 -2
- package/src/types/OcaObjectListEventData.js +2 -2
- package/src/types/OcaObjectSearchResult.d.ts +4 -83
- package/src/types/OcaObjectSearchResult.js +2 -37
- package/src/types/OcaObjectSearchResultFlags.d.ts +4 -33
- package/src/types/OcaObjectSearchResultFlags.js +2 -48
- package/src/types/OcaObservationEventData.d.ts +2 -2
- package/src/types/OcaObservationEventData.js +2 -2
- package/src/types/OcaObservationListEventData.d.ts +2 -2
- package/src/types/OcaObservationListEventData.js +2 -2
- package/src/types/OcaObserverState.d.ts +1 -1
- package/src/types/OcaObserverState.js +1 -1
- package/src/types/OcaParameterMask.d.ts +81 -1
- package/src/types/OcaParameterMask.js +131 -1
- package/src/types/OcaPort.d.ts +7 -5
- package/src/types/OcaPort.js +4 -3
- package/src/types/OcaPortClockMapEntry.d.ts +42 -0
- package/src/types/OcaPortClockMapEntry.js +23 -0
- package/src/types/OcaPortID.d.ts +12 -10
- package/src/types/OcaPortID.js +7 -6
- package/src/types/OcaPortIdentification.d.ts +39 -0
- package/src/types/OcaPortIdentification.js +23 -0
- package/src/types/OcaPortMode.d.ts +4 -36
- package/src/types/OcaPortMode.js +2 -25
- package/src/types/OcaPositionDescriptor.d.ts +6 -6
- package/src/types/OcaPositionDescriptor.js +2 -2
- package/src/types/OcaPositionDescriptorFieldFlags.d.ts +33 -3
- package/src/types/OcaPositionDescriptorFieldFlags.js +53 -3
- package/src/types/OcaPowerSupplyState.d.ts +1 -1
- package/src/types/OcaPowerSupplyState.js +1 -1
- package/src/types/OcaProduct.d.ts +92 -0
- package/src/types/OcaProduct.js +42 -0
- package/src/types/OcaProgramResult.d.ts +39 -0
- package/src/types/OcaProgramResult.js +22 -0
- package/src/types/OcaProgramRunMode.d.ts +24 -0
- package/src/types/OcaProgramRunMode.js +30 -0
- package/src/types/OcaProperty.d.ts +2 -2
- package/src/types/OcaProperty.js +2 -2
- package/src/types/OcaProtoObjectIdentification.d.ts +1 -1
- package/src/types/OcaProtoObjectIdentification.js +1 -1
- package/src/types/OcaProtoPort.d.ts +16 -18
- package/src/types/OcaProtoPort.js +6 -8
- package/src/types/OcaProtoPortClockMapEntry.d.ts +46 -0
- package/src/types/OcaProtoPortClockMapEntry.js +25 -0
- package/src/types/OcaProtoSignalPath.d.ts +12 -10
- package/src/types/OcaProtoSignalPath.js +7 -6
- package/src/types/OcaRamperState.d.ts +19 -18
- package/src/types/OcaRamperState.js +19 -18
- package/src/types/OcaResetCause.d.ts +7 -1
- package/src/types/OcaResetCause.js +8 -0
- package/src/types/OcaSamplingRateConverterType.d.ts +50 -0
- package/src/types/OcaSamplingRateConverterType.js +36 -0
- package/src/types/OcaSecurityType.d.ts +39 -0
- package/src/types/OcaSecurityType.js +28 -0
- package/src/types/OcaSignalPath.d.ts +10 -10
- package/src/types/OcaSignalPath.js +6 -6
- package/src/types/OcaStatus.d.ts +19 -1
- package/src/types/OcaStatus.js +24 -0
- package/src/types/OcaStream.d.ts +2 -2
- package/src/types/OcaStream.js +1 -1
- package/src/types/OcaTask.d.ts +23 -24
- package/src/types/OcaTask.js +7 -7
- package/src/types/OcaTaskCommand.d.ts +2 -7
- package/src/types/OcaTaskCommand.js +2 -9
- package/src/types/OcaTaskExecutionTerminatedEventData.d.ts +64 -0
- package/src/types/OcaTaskExecutionTerminatedEventData.js +30 -0
- package/src/types/OcaTaskGenericState.d.ts +64 -0
- package/src/types/OcaTaskGenericState.js +54 -0
- package/src/types/OcaTaskManagerState.d.ts +1 -0
- package/src/types/OcaTaskManagerState.js +1 -0
- package/src/types/OcaTaskOperationalState.d.ts +43 -0
- package/src/types/OcaTaskOperationalState.js +22 -0
- package/src/types/OcaTaskSchedulerState.d.ts +63 -0
- package/src/types/OcaTaskSchedulerState.js +53 -0
- package/src/types/OcaTaskStatus.d.ts +2 -12
- package/src/types/OcaTaskStatus.js +2 -12
- package/src/types/OcaTaskStatusChangedEventData.d.ts +61 -0
- package/src/types/OcaTaskStatusChangedEventData.js +29 -0
- package/src/types/OcaTime.d.ts +56 -0
- package/src/types/OcaTime.js +32 -0
- package/src/types/OcaTimeDeliveryMechanism.d.ts +167 -0
- package/src/types/OcaTimeDeliveryMechanism.js +191 -0
- package/src/types/OcaTimeDeliveryParameters_StreamEndpoint.d.ts +40 -0
- package/src/types/OcaTimeDeliveryParameters_StreamEndpoint.js +24 -0
- package/src/types/OcaTimePTP.d.ts +4 -51
- package/src/types/OcaTimePTP.js +2 -28
- package/src/types/OcaTimeReferenceType.d.ts +7 -13
- package/src/types/OcaTimeReferenceType.js +6 -14
- package/src/types/OcaTimeSourceAvailability.d.ts +1 -1
- package/src/types/OcaTimeSourceAvailability.js +1 -1
- package/src/types/OcaTimeSourceSyncStatus.d.ts +1 -1
- package/src/types/OcaTimeSourceSyncStatus.js +1 -1
- package/src/types/OcaTransferFunction.d.ts +1 -1
- package/src/types/OcaTransferFunction.js +1 -1
- package/src/types/OcaTypedBlob.d.ts +40 -0
- package/src/types/OcaTypedBlob.js +24 -0
- package/src/types/OcaVariant.d.ts +19 -0
- package/src/types/OcaVariant.js +18 -0
- package/src/types/OcaWhenPhysicalAbsolute.d.ts +39 -0
- package/src/types/OcaWhenPhysicalAbsolute.js +22 -0
- package/src/types/OcaWhenPhysicalRelative.d.ts +39 -0
- package/src/types/OcaWhenPhysicalRelative.js +22 -0
|
@@ -1,4 +1,11 @@
|
|
|
1
|
+
import { OcaCommandResult } from '../../OCP1/OcaCommandResult.js';
|
|
2
|
+
import { OcaList } from '../../OCP1/OcaList.js';
|
|
1
3
|
import { OcaList2D } from '../../OCP1/OcaList2D.js';
|
|
4
|
+
import { OcaList32 } from '../../OCP1/OcaList32.js';
|
|
5
|
+
import { OcaLongBlob } from '../../OCP1/OcaLongBlob.js';
|
|
6
|
+
import { OcaMatrixCommand } from '../../OCP1/OcaMatrixCommand.js';
|
|
7
|
+
import { OcaMatrixCoordinates } from '../../OCP1/OcaMatrixCoordinates.js';
|
|
8
|
+
import { OcaMethodID } from '../../OCP1/OcaMethodID.js';
|
|
2
9
|
import { OcaUint16 } from '../../OCP1/OcaUint16.js';
|
|
3
10
|
import { OcaUint32 } from '../../OCP1/OcaUint32.js';
|
|
4
11
|
import { OcaUint8 } from '../../OCP1/OcaUint8.js';
|
|
@@ -6,48 +13,23 @@ import { make_control_class } from '../make_control_class.js';
|
|
|
6
13
|
import { OcaWorker } from './OcaWorker.js';
|
|
7
14
|
|
|
8
15
|
/**
|
|
9
|
-
*
|
|
10
|
-
* coordinate addressable and has sets of common
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
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` ``>``
|
|
43
|
-
* 0, the list will be the single ONo of the addressed cell. If x :sub:`1` = 0
|
|
44
|
-
* and y :sub:`1` ``>`` 0, the list will be the list of ONos of the cells in row
|
|
45
|
-
* y :sub:`1` . If x :sub:`1` ``>`` 0 and y :sub:`1` = 0, the list will be the
|
|
46
|
-
* list of ONos of the cells in column x :sub:`1`. If x :sub:`1` = 0 and y
|
|
47
|
-
* :sub:`1` = 0, the list will be the list of ONos of all cells of the matrix. -
|
|
48
|
-
* call the given **Set** method for each target member in the ONo list. -
|
|
49
|
-
* aggregate the **OcaResult** from each **Set** call into a consolidated
|
|
50
|
-
* **OcaResult**. - unlock the **OcaMatrix** instance.
|
|
16
|
+
* Rectangular array of identical objects (**Matrix Members,** or just****
|
|
17
|
+
* **Members** in context) that is coordinate addressable and has sets of common
|
|
18
|
+
* input and output ports. An **OcaMatrix** instance is a container for a
|
|
19
|
+
* two-dimensional collection of members. Matrix members may be workers
|
|
20
|
+
* (including blocks or other matrices), or agents. All members of a given
|
|
21
|
+
* matrix shall be of the same class (*the* **member class**). No object shall
|
|
22
|
+
* belong to more than one matrix at a time. No object shall appear more than
|
|
23
|
+
* once in a given matrix. The **OcaMatrix** object shall not instantiate the
|
|
24
|
+
* Members, but instead shall provide the coordinate addressing, implement the
|
|
25
|
+
* common input and output ports, and provide certain other aggregate functions.
|
|
26
|
+
* The term M**atrix** means an **OcaMatrix** object *plus* the ancillary
|
|
27
|
+
* objects that collectively provide matrixing functionality. Specifically, a
|
|
28
|
+
* Matrix shall consists of: 1. One instance of the **OcaMatrix** class (the
|
|
29
|
+
* **matrix object**); and 2. **(N x M) members**, where each member shall be an
|
|
30
|
+
* instance of the member class; and The normative specification of the
|
|
31
|
+
* **OcaMatrix** class is here. The normative specification of the overall
|
|
32
|
+
* Matrix mechanism, with informative examples, is in [AES70-1(Matrices)].
|
|
51
33
|
* @extends OcaWorker
|
|
52
34
|
* @class OcaMatrix
|
|
53
35
|
*/
|
|
@@ -55,7 +37,7 @@ export const OcaMatrix = make_control_class(
|
|
|
55
37
|
'OcaMatrix',
|
|
56
38
|
3,
|
|
57
39
|
'\u0001\u0001\u0005',
|
|
58
|
-
|
|
40
|
+
4,
|
|
59
41
|
OcaWorker,
|
|
60
42
|
[
|
|
61
43
|
['GetCurrentXY', 3, 1, [], [OcaUint16, OcaUint16]],
|
|
@@ -80,6 +62,20 @@ export const OcaMatrix = make_control_class(
|
|
|
80
62
|
['SetPortsPerColumn', 3, 14, [OcaUint8], []],
|
|
81
63
|
['SetCurrentXYLock', 3, 15, [OcaUint16, OcaUint16], []],
|
|
82
64
|
['UnlockCurrent', 3, 16, [], []],
|
|
65
|
+
[
|
|
66
|
+
'ExecuteMethod',
|
|
67
|
+
3,
|
|
68
|
+
17,
|
|
69
|
+
[OcaList32(OcaMatrixCoordinates), OcaMethodID, OcaList(OcaLongBlob)],
|
|
70
|
+
[OcaList(OcaCommandResult)],
|
|
71
|
+
],
|
|
72
|
+
[
|
|
73
|
+
'ExecuteCommands',
|
|
74
|
+
3,
|
|
75
|
+
18,
|
|
76
|
+
[OcaList32(OcaMatrixCommand)],
|
|
77
|
+
[OcaList32(OcaCommandResult)],
|
|
78
|
+
],
|
|
83
79
|
],
|
|
84
80
|
[
|
|
85
81
|
['X', [OcaUint16], 3, 1, false, false, null],
|
|
@@ -88,15 +84,14 @@ export const OcaMatrix = make_control_class(
|
|
|
88
84
|
['ySize', [OcaUint16], 3, 4, false, false, null],
|
|
89
85
|
['Members', [OcaList2D(OcaUint32)], 3, 5, false, false, null],
|
|
90
86
|
['Proxy', [OcaUint32], 3, 6, false, false, null],
|
|
91
|
-
['PortsPerRow', [OcaUint8], 3, 7, false, false, null],
|
|
92
|
-
['PortsPerColumn', [OcaUint8], 3, 8, false, false, null],
|
|
93
87
|
],
|
|
94
88
|
[]
|
|
95
89
|
);
|
|
96
90
|
|
|
97
91
|
/**
|
|
98
92
|
* Gets coordinates of the currently active area (cell, row, column, or whole
|
|
99
|
-
* matrix).
|
|
93
|
+
* matrix). See the definitions of the properties **X** and **Y** for
|
|
94
|
+
* specification of X and Y values.
|
|
100
95
|
* The return values of this method are
|
|
101
96
|
*
|
|
102
97
|
* - x of type ``number``
|
|
@@ -106,8 +101,12 @@ export const OcaMatrix = make_control_class(
|
|
|
106
101
|
* @returns {Promise<Arguments<number,number>>}
|
|
107
102
|
*/
|
|
108
103
|
/**
|
|
109
|
-
* Sets the currently active area (cell, row, column, or whole matrix).
|
|
110
|
-
*
|
|
104
|
+
* Sets the currently active area (cell, row, column, or whole matrix).
|
|
105
|
+
* Automatically locks the **OcaMatrix** object and the Matrix Proxy object.
|
|
106
|
+
* Does not lock the addressed matrix Members. Locks shall persist until any
|
|
107
|
+
* matrix proxy method is called in the same Control Session. See the
|
|
108
|
+
* definitions of the properties **X** and **Y** for specification of X and Y
|
|
109
|
+
* values.
|
|
111
110
|
*
|
|
112
111
|
* @method OcaMatrix#SetCurrentXY
|
|
113
112
|
* @param {number} x
|
|
@@ -116,8 +115,7 @@ export const OcaMatrix = make_control_class(
|
|
|
116
115
|
* @returns {Promise<void>}
|
|
117
116
|
*/
|
|
118
117
|
/**
|
|
119
|
-
* Gets the matrix size.
|
|
120
|
-
* successful.
|
|
118
|
+
* Gets the matrix size.
|
|
121
119
|
* The return values of this method are
|
|
122
120
|
*
|
|
123
121
|
* - xSize of type ``number``
|
|
@@ -131,8 +129,8 @@ export const OcaMatrix = make_control_class(
|
|
|
131
129
|
* @returns {Promise<Arguments<number,number,number,number,number,number>>}
|
|
132
130
|
*/
|
|
133
131
|
/**
|
|
134
|
-
* Sets the matrix size.
|
|
135
|
-
*
|
|
132
|
+
* Sets the matrix size. This method will not be available for fixed-size
|
|
133
|
+
* matrices.
|
|
136
134
|
*
|
|
137
135
|
* @method OcaMatrix#SetSize
|
|
138
136
|
* @param {number} xSize
|
|
@@ -141,16 +139,18 @@ export const OcaMatrix = make_control_class(
|
|
|
141
139
|
* @returns {Promise<void>}
|
|
142
140
|
*/
|
|
143
141
|
/**
|
|
144
|
-
* Retrieves the 2D array of
|
|
145
|
-
*
|
|
142
|
+
* Retrieves the 2D array of Member ONos. Cells for which no Member has been
|
|
143
|
+
* provided will contain the value zero.
|
|
146
144
|
*
|
|
147
145
|
* @method OcaMatrix#GetMembers
|
|
148
146
|
* @returns {Promise<number[][]>}
|
|
149
147
|
* A promise which resolves to a single value of type ``number[][]``.
|
|
150
148
|
*/
|
|
151
149
|
/**
|
|
152
|
-
* Sets the entire 2D array of
|
|
153
|
-
* **
|
|
150
|
+
* Sets the entire 2D array of Member Object Numbers. Row and column dimensions
|
|
151
|
+
* of the M**embers** parameter shall be equal to the current row and column
|
|
152
|
+
* counts of the Matrix. In the list, a Member Object Number value of zero shall
|
|
153
|
+
* remove any Member at the given position.
|
|
154
154
|
*
|
|
155
155
|
* @method OcaMatrix#SetMembers
|
|
156
156
|
* @param {number[][]} members
|
|
@@ -158,8 +158,8 @@ export const OcaMatrix = make_control_class(
|
|
|
158
158
|
* @returns {Promise<void>}
|
|
159
159
|
*/
|
|
160
160
|
/**
|
|
161
|
-
* Retrieves the object number of the
|
|
162
|
-
* defined at this position,
|
|
161
|
+
* Retrieves the object number of the Member at position (x,y). If no Member is
|
|
162
|
+
* defined at this position, shall return the value zero.
|
|
163
163
|
*
|
|
164
164
|
* @method OcaMatrix#GetMember
|
|
165
165
|
* @param {number} x
|
|
@@ -169,8 +169,10 @@ export const OcaMatrix = make_control_class(
|
|
|
169
169
|
* A promise which resolves to a single value of type ``number``.
|
|
170
170
|
*/
|
|
171
171
|
/**
|
|
172
|
-
* Installs a particular object as a
|
|
173
|
-
*
|
|
172
|
+
* Installs a particular object as a Member at position (x,y). If another object
|
|
173
|
+
* is already at this position, it is replaced. If value of the **memberONo**
|
|
174
|
+
* parameter is zero, any object already at this position is removed and not
|
|
175
|
+
* replaced.
|
|
174
176
|
*
|
|
175
177
|
* @method OcaMatrix#SetMember
|
|
176
178
|
* @param {number} x
|
|
@@ -180,14 +182,14 @@ export const OcaMatrix = make_control_class(
|
|
|
180
182
|
* @returns {Promise<void>}
|
|
181
183
|
*/
|
|
182
184
|
/**
|
|
183
|
-
* Gets the object number of the
|
|
185
|
+
* Gets the object number of the Matrix Proxy.
|
|
184
186
|
*
|
|
185
187
|
* @method OcaMatrix#GetProxy
|
|
186
188
|
* @returns {Promise<number>}
|
|
187
189
|
* A promise which resolves to a single value of type ``number``.
|
|
188
190
|
*/
|
|
189
191
|
/**
|
|
190
|
-
* Sets the object number of the
|
|
192
|
+
* Sets the object number of the Matrix Proxy.
|
|
191
193
|
*
|
|
192
194
|
* @method OcaMatrix#SetProxy
|
|
193
195
|
* @param {number} ONo
|
|
@@ -195,14 +197,14 @@ export const OcaMatrix = make_control_class(
|
|
|
195
197
|
* @returns {Promise<void>}
|
|
196
198
|
*/
|
|
197
199
|
/**
|
|
198
|
-
* Gets the number of
|
|
200
|
+
* Gets the number of Ports per row. Note: these are Input Ports.
|
|
199
201
|
*
|
|
200
202
|
* @method OcaMatrix#GetPortsPerRow
|
|
201
203
|
* @returns {Promise<number>}
|
|
202
204
|
* A promise which resolves to a single value of type ``number``.
|
|
203
205
|
*/
|
|
204
206
|
/**
|
|
205
|
-
* Sets the number of
|
|
207
|
+
* Sets the number of Ports per row. These shall be Input Ports.
|
|
206
208
|
*
|
|
207
209
|
* @method OcaMatrix#SetPortsPerRow
|
|
208
210
|
* @param {number} Ports
|
|
@@ -210,14 +212,14 @@ export const OcaMatrix = make_control_class(
|
|
|
210
212
|
* @returns {Promise<void>}
|
|
211
213
|
*/
|
|
212
214
|
/**
|
|
213
|
-
* Gets the number of
|
|
215
|
+
* Gets the number of Ports per column. Note: these are Output Ports.
|
|
214
216
|
*
|
|
215
217
|
* @method OcaMatrix#GetPortsPerColumn
|
|
216
218
|
* @returns {Promise<number>}
|
|
217
219
|
* A promise which resolves to a single value of type ``number``.
|
|
218
220
|
*/
|
|
219
221
|
/**
|
|
220
|
-
* Sets the number of
|
|
222
|
+
* Sets the number of Ports per column. These shall be Output Ports.
|
|
221
223
|
*
|
|
222
224
|
* @method OcaMatrix#SetPortsPerColumn
|
|
223
225
|
* @param {number} Ports
|
|
@@ -225,9 +227,15 @@ export const OcaMatrix = make_control_class(
|
|
|
225
227
|
* @returns {Promise<void>}
|
|
226
228
|
*/
|
|
227
229
|
/**
|
|
228
|
-
* Sets the currently active area (cell, row, column, or whole matrix)
|
|
229
|
-
*
|
|
230
|
-
*
|
|
230
|
+
* Sets the currently active area (cell, row, column, or whole matrix), locks
|
|
231
|
+
* the **OcaMatrix** object, locks the Matrix Proxy object, and locks all the
|
|
232
|
+
* Members in the active area. Fails if the referenced members cannot all be
|
|
233
|
+
* locked. The **OcaMatrix** and Matrix Proxy locks shall persist until any
|
|
234
|
+
* Matrix Proxy method is called in the same Control Session. The Member locks
|
|
235
|
+
* shall persist until unlocked by calls to their **Unlock()** methods or by a
|
|
236
|
+
* call to the **OcaMatrix** method **UnlockCurrent**. The returned status
|
|
237
|
+
* indicates whether the operation was successful. See the definitions of the
|
|
238
|
+
* properties **X** and **Y** for specification of X and Y values.
|
|
231
239
|
*
|
|
232
240
|
* @method OcaMatrix#SetCurrentXYLock
|
|
233
241
|
* @param {number} x
|
|
@@ -236,21 +244,54 @@ export const OcaMatrix = make_control_class(
|
|
|
236
244
|
* @returns {Promise<void>}
|
|
237
245
|
*/
|
|
238
246
|
/**
|
|
239
|
-
* Unlocks the currently active area of the
|
|
240
|
-
*
|
|
241
|
-
*
|
|
242
|
-
*
|
|
243
|
-
* successful.
|
|
247
|
+
* Unlocks the Member objects in the currently active area of the Matrix.
|
|
248
|
+
* Succeeds only if all the Members of the currently active area can be
|
|
249
|
+
* unlocked. Failure shall not be**** triggered if one or more Members of the
|
|
250
|
+
* currently active area are already unlocked. The returned status indicates
|
|
251
|
+
* whether the operation was successful.
|
|
244
252
|
*
|
|
245
253
|
* @method OcaMatrix#UnlockCurrent
|
|
246
254
|
* @returns {Promise<void>}
|
|
247
255
|
*/
|
|
256
|
+
/**
|
|
257
|
+
* Execute the same method in various Matrix Members with a common set of input
|
|
258
|
+
* parameters. Return the status and returned parameter values from each call.
|
|
259
|
+
* When an addressed Member is a Block, this method shall not be capable of
|
|
260
|
+
* executing methods of objects inside the Block. The **OcaStatus** value
|
|
261
|
+
* returned by this** ExecuteMethods(...)** method shall be as follows: **OK **
|
|
262
|
+
* Requested methods were called; all, none, or some of them succeeded.
|
|
263
|
+
* **<anything else>** Problem, no method calls were attempted
|
|
264
|
+
*
|
|
265
|
+
* @method OcaMatrix#ExecuteMethod
|
|
266
|
+
* @param {IOcaMatrixCoordinates[]} TargetMembers
|
|
267
|
+
* @param {IOcaMethodID} TargetMethod
|
|
268
|
+
* @param {Uint8Array[]} InData
|
|
269
|
+
*
|
|
270
|
+
* @returns {Promise<OcaCommandResult[]>}
|
|
271
|
+
* A promise which resolves to a single value of type :class:`OcaCommandResult[]`.
|
|
272
|
+
*/
|
|
273
|
+
/**
|
|
274
|
+
* Execute various methods in various Matrix Members with individual parameter
|
|
275
|
+
* sets for each. Return the status and returned parameter values, if any, from
|
|
276
|
+
* each call. When an addressed Member is a Block, this method shall not be
|
|
277
|
+
* capable of executing methods of objects inside the Block. The **OcaStatus**
|
|
278
|
+
* value returned by this** ExecuteMethods(...)** method shall be as follows:
|
|
279
|
+
* **OK ** Requested methods were called; all, none, or some of them succeeded.
|
|
280
|
+
* **<anything else>** Problem, no method calls were attempted
|
|
281
|
+
*
|
|
282
|
+
* @method OcaMatrix#ExecuteCommands
|
|
283
|
+
* @param {IOcaMatrixCommand[]} Commands
|
|
284
|
+
*
|
|
285
|
+
* @returns {Promise<OcaCommandResult[]>}
|
|
286
|
+
* A promise which resolves to a single value of type :class:`OcaCommandResult[]`.
|
|
287
|
+
*/
|
|
248
288
|
/**
|
|
249
289
|
* This event is emitted when the property ``X`` changes in the remote object.
|
|
250
290
|
* The property ``X`` is described in the AES70 standard as follows.
|
|
251
291
|
* Active column index. The active column is the column to which matrix proxy
|
|
252
292
|
* method calls will be reflected. Value is zero-relative, i.e. the first column
|
|
253
293
|
* is number zero. A value of 65535 means all columns in the matrix.
|
|
294
|
+
* **Deprecated** in version 4 of this class (AES70-2024).
|
|
254
295
|
*
|
|
255
296
|
* @member {PropertyEvent<number>} OcaMatrix#OnXChanged
|
|
256
297
|
*/
|
|
@@ -259,7 +300,8 @@ export const OcaMatrix = make_control_class(
|
|
|
259
300
|
* The property ``Y`` is described in the AES70 standard as follows.
|
|
260
301
|
* Active row index. The active row is the row to which matrix proxy changes
|
|
261
302
|
* 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.
|
|
303
|
+
* A value of 65535 means all rows in the matrix. **Deprecated** in version 4 of
|
|
304
|
+
* this class (AES70-2024).
|
|
263
305
|
*
|
|
264
306
|
* @member {PropertyEvent<number>} OcaMatrix#OnYChanged
|
|
265
307
|
*/
|
|
@@ -280,30 +322,16 @@ export const OcaMatrix = make_control_class(
|
|
|
280
322
|
/**
|
|
281
323
|
* This event is emitted when the property ``Members`` changes in the remote object.
|
|
282
324
|
* The property ``Members`` is described in the AES70 standard as follows.
|
|
283
|
-
* 2D array of
|
|
325
|
+
* 2D array of Member object numbers. A zero value shall indicate the absence of
|
|
326
|
+
* a Member at the position in question.
|
|
284
327
|
*
|
|
285
328
|
* @member {PropertyEvent<number[][]>} OcaMatrix#OnMembersChanged
|
|
286
329
|
*/
|
|
287
330
|
/**
|
|
288
331
|
* This event is emitted when the property ``Proxy`` changes in the remote object.
|
|
289
332
|
* The property ``Proxy`` is described in the AES70 standard as follows.
|
|
290
|
-
* Object number of the
|
|
333
|
+
* Object number of the Matrix Proxy. **Deprecated** in version 4 of this class
|
|
334
|
+
* (AES70-2024).
|
|
291
335
|
*
|
|
292
336
|
* @member {PropertyEvent<number>} OcaMatrix#OnProxyChanged
|
|
293
337
|
*/
|
|
294
|
-
/**
|
|
295
|
-
* This event is emitted when the property ``PortsPerRow`` changes in the remote object.
|
|
296
|
-
* The property ``PortsPerRow`` is described in the AES70 standard as follows.
|
|
297
|
-
* Number of input ports per row- e.g. for a stereo matrix, the value would be
|
|
298
|
-
* 2.
|
|
299
|
-
*
|
|
300
|
-
* @member {PropertyEvent<number>} OcaMatrix#OnPortsPerRowChanged
|
|
301
|
-
*/
|
|
302
|
-
/**
|
|
303
|
-
* This event is emitted when the property ``PortsPerColumn`` changes in the remote object.
|
|
304
|
-
* The property ``PortsPerColumn`` is described in the AES70 standard as follows.
|
|
305
|
-
* Number of output ports per column - e.g. for a stereo matrix, the value would
|
|
306
|
-
* be 2.
|
|
307
|
-
*
|
|
308
|
-
* @member {PropertyEvent<number>} OcaMatrix#OnPortsPerColumnChanged
|
|
309
|
-
*/
|
|
@@ -38,6 +38,10 @@ export declare class OcaMediaClock extends OcaAgent {
|
|
|
38
38
|
*/
|
|
39
39
|
OnCurrentRateChanged: PropertyEvent<OcaMediaClockRate>;
|
|
40
40
|
|
|
41
|
+
/**
|
|
42
|
+
* An alias for OnCurrentRateChanged
|
|
43
|
+
*/
|
|
44
|
+
OnRateChanged: PropertyEvent<OcaMediaClockRate>;
|
|
41
45
|
/**
|
|
42
46
|
* This event is emitted whenever LockState changes.
|
|
43
47
|
*/
|
|
@@ -103,6 +107,17 @@ export declare class OcaMediaClock extends OcaAgent {
|
|
|
103
107
|
* Gets the current sampling rate. The return value indicates whether the
|
|
104
108
|
* value was successfully retrieved.
|
|
105
109
|
*
|
|
110
|
+
* @method OcaMediaClock#GetRate
|
|
111
|
+
* @returns {Promise<OcaMediaClockRate>}
|
|
112
|
+
* A promise which resolves to a single value of type :class:`OcaMediaClockRate`.
|
|
113
|
+
*/
|
|
114
|
+
GetRate(): Promise<OcaMediaClockRate>;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Gets the current sampling rate. The return value indicates whether the
|
|
118
|
+
* value was successfully retrieved.
|
|
119
|
+
* An alias for GetRate.
|
|
120
|
+
*
|
|
106
121
|
* @method OcaMediaClock#GetCurrentRate
|
|
107
122
|
* @returns {Promise<OcaMediaClockRate>}
|
|
108
123
|
* A promise which resolves to a single value of type :class:`OcaMediaClockRate`.
|
|
@@ -113,6 +128,18 @@ export declare class OcaMediaClock extends OcaAgent {
|
|
|
113
128
|
* Sets the sampling rate. The return value indicates whether the rate was
|
|
114
129
|
* successfully set.
|
|
115
130
|
*
|
|
131
|
+
* @method OcaMediaClock#SetRate
|
|
132
|
+
* @param {IOcaMediaClockRate} rate
|
|
133
|
+
*
|
|
134
|
+
* @returns {Promise<void>}
|
|
135
|
+
*/
|
|
136
|
+
SetRate(rate: IOcaMediaClockRate): Promise<void>;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Sets the sampling rate. The return value indicates whether the rate was
|
|
140
|
+
* successfully set.
|
|
141
|
+
* An alias for SetRate.
|
|
142
|
+
*
|
|
116
143
|
* @method OcaMediaClock#SetCurrentRate
|
|
117
144
|
* @param {IOcaMediaClockRate} rate
|
|
118
145
|
*
|
|
@@ -16,7 +16,7 @@ export const OcaMediaClock = make_control_class(
|
|
|
16
16
|
'OcaMediaClock',
|
|
17
17
|
3,
|
|
18
18
|
'\u0001\u0002\u0006',
|
|
19
|
-
|
|
19
|
+
3,
|
|
20
20
|
OcaAgent,
|
|
21
21
|
[
|
|
22
22
|
['GetType', 3, 1, [], [OcaMediaClockType]],
|
|
@@ -24,15 +24,15 @@ export const OcaMediaClock = make_control_class(
|
|
|
24
24
|
['GetDomainID', 3, 3, [], [OcaUint16]],
|
|
25
25
|
['SetDomainID', 3, 4, [OcaUint16], []],
|
|
26
26
|
['GetSupportedRates', 3, 5, [], [OcaList(OcaMediaClockRate)]],
|
|
27
|
-
['
|
|
28
|
-
['
|
|
27
|
+
['GetRate', 3, 6, [], [OcaMediaClockRate], ['GetCurrentRate']],
|
|
28
|
+
['SetRate', 3, 7, [OcaMediaClockRate], [], ['SetCurrentRate']],
|
|
29
29
|
['GetLockState', 3, 8, [], [OcaMediaClockLockState]],
|
|
30
30
|
],
|
|
31
31
|
[
|
|
32
32
|
['Type', [OcaMediaClockType], 3, 1, false, false, null],
|
|
33
33
|
['DomainID', [OcaUint16], 3, 2, false, false, null],
|
|
34
34
|
['RatesSupported', [OcaList(OcaMediaClockRate)], 3, 3, false, false, null],
|
|
35
|
-
['CurrentRate', [OcaMediaClockRate], 3, 4, false, false,
|
|
35
|
+
['CurrentRate', [OcaMediaClockRate], 3, 4, false, false, ['Rate']],
|
|
36
36
|
['LockState', [OcaMediaClockLockState], 3, 5, false, false, null],
|
|
37
37
|
],
|
|
38
38
|
[]
|
|
@@ -86,6 +86,15 @@ export const OcaMediaClock = make_control_class(
|
|
|
86
86
|
* Gets the current sampling rate. The return value indicates whether the value
|
|
87
87
|
* was successfully retrieved.
|
|
88
88
|
*
|
|
89
|
+
* @method OcaMediaClock#GetRate
|
|
90
|
+
* @returns {Promise<OcaMediaClockRate>}
|
|
91
|
+
* A promise which resolves to a single value of type :class:`OcaMediaClockRate`.
|
|
92
|
+
*/
|
|
93
|
+
/**
|
|
94
|
+
* Gets the current sampling rate. The return value indicates whether the value
|
|
95
|
+
* was successfully retrieved.
|
|
96
|
+
* An alias for GetRate.
|
|
97
|
+
*
|
|
89
98
|
* @method OcaMediaClock#GetCurrentRate
|
|
90
99
|
* @returns {Promise<OcaMediaClockRate>}
|
|
91
100
|
* A promise which resolves to a single value of type :class:`OcaMediaClockRate`.
|
|
@@ -94,6 +103,16 @@ export const OcaMediaClock = make_control_class(
|
|
|
94
103
|
* Sets the sampling rate. The return value indicates whether the rate was
|
|
95
104
|
* successfully set.
|
|
96
105
|
*
|
|
106
|
+
* @method OcaMediaClock#SetRate
|
|
107
|
+
* @param {IOcaMediaClockRate} rate
|
|
108
|
+
*
|
|
109
|
+
* @returns {Promise<void>}
|
|
110
|
+
*/
|
|
111
|
+
/**
|
|
112
|
+
* Sets the sampling rate. The return value indicates whether the rate was
|
|
113
|
+
* successfully set.
|
|
114
|
+
* An alias for SetRate.
|
|
115
|
+
*
|
|
97
116
|
* @method OcaMediaClock#SetCurrentRate
|
|
98
117
|
* @param {IOcaMediaClockRate} rate
|
|
99
118
|
*
|
|
@@ -135,6 +154,11 @@ export const OcaMediaClock = make_control_class(
|
|
|
135
154
|
*
|
|
136
155
|
* @member {PropertyEvent<OcaMediaClockRate>} OcaMediaClock#OnCurrentRateChanged
|
|
137
156
|
*/
|
|
157
|
+
/**
|
|
158
|
+
* An alias for OnCurrentRateChanged
|
|
159
|
+
*
|
|
160
|
+
* @member {PropertyEvent<OcaMediaClockRate>} OcaMediaClock#OnRateChanged
|
|
161
|
+
*/
|
|
138
162
|
/**
|
|
139
163
|
* This event is emitted when the property ``LockState`` changes in the remote object.
|
|
140
164
|
* The property ``LockState`` is described in the AES70 standard as follows.
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
IOcaMediaClockRate,
|
|
7
7
|
OcaMediaClockRate,
|
|
8
8
|
} from '../../types/OcaMediaClockRate';
|
|
9
|
-
import {
|
|
9
|
+
import { IOcaTime, OcaTime } from '../../types/OcaTime';
|
|
10
10
|
import { Arguments } from '../arguments';
|
|
11
11
|
import { PropertyEvent } from '../property_event';
|
|
12
12
|
import { RemoteDevice } from '../remote_device';
|
|
@@ -32,7 +32,7 @@ export declare class OcaMediaClock3 extends OcaAgent {
|
|
|
32
32
|
/**
|
|
33
33
|
* This event is emitted whenever Offset changes.
|
|
34
34
|
*/
|
|
35
|
-
OnOffsetChanged: PropertyEvent<
|
|
35
|
+
OnOffsetChanged: PropertyEvent<OcaTime>;
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
38
|
* This event is emitted whenever CurrentRate changes.
|
|
@@ -47,8 +47,7 @@ export declare class OcaMediaClock3 extends OcaAgent {
|
|
|
47
47
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
|
-
* Gets the value of the **Availability** property.
|
|
51
|
-
* whether the value was successfully retrieved.
|
|
50
|
+
* Gets the value of the **Availability** property.
|
|
52
51
|
*
|
|
53
52
|
* @method OcaMediaClock3#GetAvailability
|
|
54
53
|
* @returns {Promise<OcaMediaClockAvailability>}
|
|
@@ -57,9 +56,8 @@ export declare class OcaMediaClock3 extends OcaAgent {
|
|
|
57
56
|
GetAvailability(): Promise<OcaMediaClockAvailability>;
|
|
58
57
|
|
|
59
58
|
/**
|
|
60
|
-
* Sets the value of the **Availability** property.
|
|
61
|
-
*
|
|
62
|
-
* supported in all implementations.
|
|
59
|
+
* Sets the value of the **Availability** property. Optional method, need not
|
|
60
|
+
* be supported in all implementations.
|
|
63
61
|
*
|
|
64
62
|
* @method OcaMediaClock3#SetAvailability
|
|
65
63
|
* @param {IOcaMediaClockAvailability} Availability
|
|
@@ -70,8 +68,7 @@ export declare class OcaMediaClock3 extends OcaAgent {
|
|
|
70
68
|
|
|
71
69
|
/**
|
|
72
70
|
* Gets the current clock rate and the ONo of the associated **OcaTimeSource**
|
|
73
|
-
* object.
|
|
74
|
-
* retrieved.
|
|
71
|
+
* object.
|
|
75
72
|
* The return values of this method are
|
|
76
73
|
*
|
|
77
74
|
* - Rate of type ``IOcaMediaClockRate``
|
|
@@ -84,8 +81,7 @@ export declare class OcaMediaClock3 extends OcaAgent {
|
|
|
84
81
|
|
|
85
82
|
/**
|
|
86
83
|
* Sets the clock rate and the ONo of the associated **OcaTimeSource** object.
|
|
87
|
-
*
|
|
88
|
-
* method, may not be supported in all implementations.
|
|
84
|
+
* Optional method, may not be supported in all implementations.
|
|
89
85
|
*
|
|
90
86
|
* @method OcaMediaClock3#SetCurrentRate
|
|
91
87
|
* @param {IOcaMediaClockRate} Rate
|
|
@@ -100,31 +96,29 @@ export declare class OcaMediaClock3 extends OcaAgent {
|
|
|
100
96
|
|
|
101
97
|
/**
|
|
102
98
|
* Gets the offset of this media clock's time from that of the associated
|
|
103
|
-
* **OcaTimeSource** object.
|
|
104
|
-
* successfully retrieved.
|
|
99
|
+
* **OcaTimeSource** object.
|
|
105
100
|
*
|
|
106
101
|
* @method OcaMediaClock3#GetOffset
|
|
107
|
-
* @returns {Promise<
|
|
108
|
-
* A promise which resolves to a single value of type :class:`
|
|
102
|
+
* @returns {Promise<OcaTime>}
|
|
103
|
+
* A promise which resolves to a single value of type :class:`OcaTime`.
|
|
109
104
|
*/
|
|
110
|
-
GetOffset(): Promise<
|
|
105
|
+
GetOffset(): Promise<OcaTime>;
|
|
111
106
|
|
|
112
107
|
/**
|
|
113
108
|
* Sets the offset of this media clock's time from that of the associated
|
|
114
|
-
* **OcaTimeSource** object.
|
|
115
|
-
* successfully set. Optional method, may not be supported in all
|
|
109
|
+
* **OcaTimeSource** object. Optional method, may not be supported in all
|
|
116
110
|
* implementations.
|
|
117
111
|
*
|
|
118
112
|
* @method OcaMediaClock3#SetOffset
|
|
119
|
-
* @param {
|
|
113
|
+
* @param {IOcaTime} Offset
|
|
120
114
|
*
|
|
121
115
|
* @returns {Promise<void>}
|
|
122
116
|
*/
|
|
123
|
-
SetOffset(Offset:
|
|
117
|
+
SetOffset(Offset: IOcaTime): Promise<void>;
|
|
124
118
|
|
|
125
119
|
/**
|
|
126
|
-
* Gets the list of supported media clock rates for
|
|
127
|
-
*
|
|
120
|
+
* Gets the list of supported media clock rates for each supported time
|
|
121
|
+
* source.
|
|
128
122
|
*
|
|
129
123
|
* @method OcaMediaClock3#GetSupportedRates
|
|
130
124
|
* @returns {Promise<Map<number, OcaMediaClockRate[]>>}
|