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.
Files changed (430) hide show
  1. package/Changelog +14 -1
  2. package/dist/AES70.es5.js +1 -1
  3. package/package.json +1 -1
  4. package/src/OCP1/OcaBlockMember.js +1 -1
  5. package/src/OCP1/OcaClassAuthorityID.js +1 -1
  6. package/src/OCP1/OcaClassIdentification.js +1 -1
  7. package/src/OCP1/OcaDBr.js +1 -1
  8. package/src/OCP1/OcaDelayValue.js +1 -1
  9. package/src/OCP1/OcaEvent.js +1 -1
  10. package/src/OCP1/OcaEventID.js +1 -1
  11. package/src/OCP1/OcaGlobalTypeIdentifier.js +1 -1
  12. package/src/OCP1/OcaGrouperCitizen.js +1 -1
  13. package/src/OCP1/OcaGrouperEnrollment.js +1 -1
  14. package/src/OCP1/OcaGrouperGroup.js +1 -1
  15. package/src/OCP1/OcaGrouperStatusChangeEventData.js +1 -3
  16. package/src/OCP1/OcaImpedance.js +1 -1
  17. package/src/OCP1/OcaLibParamSetAssignment.js +1 -1
  18. package/src/OCP1/OcaLibVol.js +1 -1
  19. package/src/OCP1/OcaLibVolChangedEventData.js +1 -3
  20. package/src/OCP1/OcaLibVolData_ParamSet.js +1 -1
  21. package/src/OCP1/OcaLibVolIdentifier.js +1 -1
  22. package/src/OCP1/OcaLibVolMetadata.js +1 -1
  23. package/src/OCP1/OcaLibVolType.js +1 -1
  24. package/src/OCP1/OcaLibraryIdentifier.js +1 -1
  25. package/src/OCP1/OcaManagerDescriptor.js +1 -1
  26. package/src/OCP1/OcaMediaClockRate.js +1 -1
  27. package/src/OCP1/OcaMediaCoding.js +1 -1
  28. package/src/OCP1/OcaMediaConnection.js +1 -1
  29. package/src/OCP1/OcaMediaConnectorElement.js +2 -2
  30. package/src/OCP1/OcaMediaConnectorStatus.js +1 -1
  31. package/src/OCP1/OcaMediaConnectorStatusChangedEventData.js +1 -3
  32. package/src/OCP1/OcaMediaSinkConnector.js +1 -1
  33. package/src/OCP1/OcaMediaSinkConnectorChangedEventData.js +1 -3
  34. package/src/OCP1/OcaMediaSourceConnector.js +1 -1
  35. package/src/OCP1/OcaMediaSourceConnectorChangedEventData.js +1 -3
  36. package/src/OCP1/OcaMethod.js +1 -1
  37. package/src/OCP1/OcaMethodID.js +1 -1
  38. package/src/OCP1/OcaModelDescription.js +1 -1
  39. package/src/OCP1/OcaModelGUID.js +1 -1
  40. package/src/OCP1/OcaNetworkStatistics.js +1 -1
  41. package/src/OCP1/OcaNetworkSystemInterfaceDescriptor.js +1 -1
  42. package/src/OCP1/OcaNetworkSystemInterfaceID.js +1 -1
  43. package/src/OCP1/OcaOPath.js +1 -1
  44. package/src/OCP1/OcaObjectIdentification.js +1 -1
  45. package/src/OCP1/OcaObjectListEventData.js +1 -3
  46. package/src/OCP1/OcaObjectSearchResult.js +1 -1
  47. package/src/OCP1/OcaObservationEventData.js +1 -3
  48. package/src/OCP1/OcaObservationListEventData.js +1 -3
  49. package/src/OCP1/OcaParameterMask.js +3 -0
  50. package/src/OCP1/OcaPilotToneDetectorSpec.js +1 -1
  51. package/src/OCP1/OcaPort.js +1 -1
  52. package/src/OCP1/OcaPortID.js +1 -1
  53. package/src/OCP1/OcaPositionDescriptor.js +3 -3
  54. package/src/OCP1/OcaPositionDescriptorFieldFlags.js +3 -0
  55. package/src/OCP1/OcaProperty.js +1 -1
  56. package/src/OCP1/OcaPropertyDescriptor.js +1 -1
  57. package/src/OCP1/OcaPropertyID.js +1 -1
  58. package/src/OCP1/OcaProtoObjectIdentification.js +1 -1
  59. package/src/OCP1/OcaProtoPort.js +1 -1
  60. package/src/OCP1/OcaProtoPortID.js +1 -1
  61. package/src/OCP1/OcaProtoSignalPath.js +1 -1
  62. package/src/OCP1/OcaSignalPath.js +1 -1
  63. package/src/OCP1/OcaStream.js +1 -1
  64. package/src/OCP1/OcaStreamConnectorIdentification.js +1 -1
  65. package/src/OCP1/OcaTask.js +1 -1
  66. package/src/OCP1/OcaTaskStateChangedEventData.js +1 -1
  67. package/src/OCP1/OcaTaskStatus.js +1 -1
  68. package/src/OCP1/OcaTimePTP.js +1 -1
  69. package/src/OCP1/OcaTransferFunction.js +1 -1
  70. package/src/OCP1/OcaVersion.js +1 -1
  71. package/src/controller/ControlClasses/OcaActuator.d.ts +3 -1
  72. package/src/controller/ControlClasses/OcaActuator.js +3 -1
  73. package/src/controller/ControlClasses/OcaAgent.d.ts +10 -7
  74. package/src/controller/ControlClasses/OcaAgent.js +12 -8
  75. package/src/controller/ControlClasses/OcaApplicationNetwork.d.ts +35 -21
  76. package/src/controller/ControlClasses/OcaApplicationNetwork.js +43 -32
  77. package/src/controller/ControlClasses/OcaAudioLevelSensor.d.ts +14 -8
  78. package/src/controller/ControlClasses/OcaAudioLevelSensor.js +13 -9
  79. package/src/controller/ControlClasses/OcaAudioProcessingManager.d.ts +3 -2
  80. package/src/controller/ControlClasses/OcaAudioProcessingManager.js +3 -2
  81. package/src/controller/ControlClasses/OcaBitstringActuator.d.ts +11 -8
  82. package/src/controller/ControlClasses/OcaBitstringActuator.js +13 -9
  83. package/src/controller/ControlClasses/OcaBitstringSensor.d.ts +7 -5
  84. package/src/controller/ControlClasses/OcaBitstringSensor.js +9 -6
  85. package/src/controller/ControlClasses/OcaBlock.d.ts +88 -74
  86. package/src/controller/ControlClasses/OcaBlock.js +80 -63
  87. package/src/controller/ControlClasses/OcaBlockFactory.d.ts +73 -29
  88. package/src/controller/ControlClasses/OcaBlockFactory.js +69 -42
  89. package/src/controller/ControlClasses/OcaBooleanActuator.d.ts +5 -4
  90. package/src/controller/ControlClasses/OcaBooleanActuator.js +6 -4
  91. package/src/controller/ControlClasses/OcaBooleanSensor.d.ts +3 -3
  92. package/src/controller/ControlClasses/OcaBooleanSensor.js +4 -3
  93. package/src/controller/ControlClasses/OcaCodingManager.d.ts +10 -7
  94. package/src/controller/ControlClasses/OcaCodingManager.js +17 -13
  95. package/src/controller/ControlClasses/OcaControlNetwork.d.ts +4 -5
  96. package/src/controller/ControlClasses/OcaControlNetwork.js +5 -6
  97. package/src/controller/ControlClasses/OcaCurrentSensor.d.ts +4 -4
  98. package/src/controller/ControlClasses/OcaCurrentSensor.js +4 -3
  99. package/src/controller/ControlClasses/OcaDelay.d.ts +6 -5
  100. package/src/controller/ControlClasses/OcaDelay.js +6 -4
  101. package/src/controller/ControlClasses/OcaDelayExtended.d.ts +18 -15
  102. package/src/controller/ControlClasses/OcaDelayExtended.js +17 -12
  103. package/src/controller/ControlClasses/OcaDeviceManager.d.ts +56 -31
  104. package/src/controller/ControlClasses/OcaDeviceManager.js +75 -51
  105. package/src/controller/ControlClasses/OcaDeviceTimeManager.d.ts +33 -16
  106. package/src/controller/ControlClasses/OcaDeviceTimeManager.js +36 -18
  107. package/src/controller/ControlClasses/OcaDiagnosticManager.d.ts +6 -3
  108. package/src/controller/ControlClasses/OcaDiagnosticManager.js +8 -5
  109. package/src/controller/ControlClasses/OcaDynamics.d.ts +89 -61
  110. package/src/controller/ControlClasses/OcaDynamics.js +101 -79
  111. package/src/controller/ControlClasses/OcaDynamicsCurve.d.ts +77 -30
  112. package/src/controller/ControlClasses/OcaDynamicsCurve.js +85 -37
  113. package/src/controller/ControlClasses/OcaDynamicsDetector.d.ts +30 -22
  114. package/src/controller/ControlClasses/OcaDynamicsDetector.js +36 -24
  115. package/src/controller/ControlClasses/OcaEventHandler.d.ts +8 -6
  116. package/src/controller/ControlClasses/OcaEventHandler.js +9 -6
  117. package/src/controller/ControlClasses/OcaFilterArbitraryCurve.d.ts +13 -9
  118. package/src/controller/ControlClasses/OcaFilterArbitraryCurve.js +15 -12
  119. package/src/controller/ControlClasses/OcaFilterClassical.d.ts +43 -30
  120. package/src/controller/ControlClasses/OcaFilterClassical.js +40 -31
  121. package/src/controller/ControlClasses/OcaFilterFIR.d.ts +12 -8
  122. package/src/controller/ControlClasses/OcaFilterFIR.js +19 -14
  123. package/src/controller/ControlClasses/OcaFilterParametric.d.ts +34 -25
  124. package/src/controller/ControlClasses/OcaFilterParametric.js +39 -33
  125. package/src/controller/ControlClasses/OcaFilterPolynomial.d.ts +6 -6
  126. package/src/controller/ControlClasses/OcaFilterPolynomial.js +11 -10
  127. package/src/controller/ControlClasses/OcaFirmwareManager.d.ts +71 -21
  128. package/src/controller/ControlClasses/OcaFirmwareManager.js +71 -22
  129. package/src/controller/ControlClasses/OcaFloat32Actuator.d.ts +6 -5
  130. package/src/controller/ControlClasses/OcaFloat32Actuator.js +6 -4
  131. package/src/controller/ControlClasses/OcaFloat32Sensor.d.ts +4 -4
  132. package/src/controller/ControlClasses/OcaFloat32Sensor.js +4 -3
  133. package/src/controller/ControlClasses/OcaFloat64Actuator.d.ts +6 -5
  134. package/src/controller/ControlClasses/OcaFloat64Actuator.js +6 -4
  135. package/src/controller/ControlClasses/OcaFloat64Sensor.d.ts +4 -4
  136. package/src/controller/ControlClasses/OcaFloat64Sensor.js +4 -3
  137. package/src/controller/ControlClasses/OcaFrequencyActuator.d.ts +6 -5
  138. package/src/controller/ControlClasses/OcaFrequencyActuator.js +6 -4
  139. package/src/controller/ControlClasses/OcaFrequencySensor.d.ts +4 -4
  140. package/src/controller/ControlClasses/OcaFrequencySensor.js +4 -3
  141. package/src/controller/ControlClasses/OcaGain.d.ts +6 -5
  142. package/src/controller/ControlClasses/OcaGain.js +6 -4
  143. package/src/controller/ControlClasses/OcaGainSensor.d.ts +6 -5
  144. package/src/controller/ControlClasses/OcaGainSensor.js +6 -4
  145. package/src/controller/ControlClasses/OcaGrouper.d.ts +138 -58
  146. package/src/controller/ControlClasses/OcaGrouper.js +139 -61
  147. package/src/controller/ControlClasses/OcaIdentificationActuator.d.ts +9 -10
  148. package/src/controller/ControlClasses/OcaIdentificationActuator.js +10 -10
  149. package/src/controller/ControlClasses/OcaIdentificationSensor.d.ts +6 -4
  150. package/src/controller/ControlClasses/OcaIdentificationSensor.js +5 -3
  151. package/src/controller/ControlClasses/OcaImpedanceSensor.d.ts +8 -8
  152. package/src/controller/ControlClasses/OcaImpedanceSensor.js +7 -6
  153. package/src/controller/ControlClasses/OcaInt16Actuator.d.ts +6 -5
  154. package/src/controller/ControlClasses/OcaInt16Actuator.js +6 -4
  155. package/src/controller/ControlClasses/OcaInt16Sensor.d.ts +4 -4
  156. package/src/controller/ControlClasses/OcaInt16Sensor.js +4 -3
  157. package/src/controller/ControlClasses/OcaInt32Actuator.d.ts +6 -5
  158. package/src/controller/ControlClasses/OcaInt32Actuator.js +6 -4
  159. package/src/controller/ControlClasses/OcaInt32Sensor.d.ts +4 -4
  160. package/src/controller/ControlClasses/OcaInt32Sensor.js +4 -3
  161. package/src/controller/ControlClasses/OcaInt64Actuator.d.ts +6 -5
  162. package/src/controller/ControlClasses/OcaInt64Actuator.js +6 -4
  163. package/src/controller/ControlClasses/OcaInt64Sensor.d.ts +4 -4
  164. package/src/controller/ControlClasses/OcaInt64Sensor.js +4 -3
  165. package/src/controller/ControlClasses/OcaInt8Actuator.d.ts +6 -5
  166. package/src/controller/ControlClasses/OcaInt8Actuator.js +6 -4
  167. package/src/controller/ControlClasses/OcaInt8Sensor.d.ts +4 -4
  168. package/src/controller/ControlClasses/OcaInt8Sensor.js +4 -3
  169. package/src/controller/ControlClasses/OcaLevelSensor.d.ts +4 -4
  170. package/src/controller/ControlClasses/OcaLevelSensor.js +4 -3
  171. package/src/controller/ControlClasses/OcaLibrary.d.ts +50 -25
  172. package/src/controller/ControlClasses/OcaLibrary.js +54 -26
  173. package/src/controller/ControlClasses/OcaLibraryManager.d.ts +22 -16
  174. package/src/controller/ControlClasses/OcaLibraryManager.js +22 -17
  175. package/src/controller/ControlClasses/OcaManager.d.ts +4 -1
  176. package/src/controller/ControlClasses/OcaManager.js +4 -1
  177. package/src/controller/ControlClasses/OcaMatrix.d.ts +69 -20
  178. package/src/controller/ControlClasses/OcaMatrix.js +86 -38
  179. package/src/controller/ControlClasses/OcaMediaClock.d.ts +33 -19
  180. package/src/controller/ControlClasses/OcaMediaClock.js +30 -19
  181. package/src/controller/ControlClasses/OcaMediaClock3.d.ts +37 -22
  182. package/src/controller/ControlClasses/OcaMediaClock3.js +39 -27
  183. package/src/controller/ControlClasses/OcaMediaClockManager.d.ts +15 -9
  184. package/src/controller/ControlClasses/OcaMediaClockManager.js +28 -23
  185. package/src/controller/ControlClasses/OcaMediaTransportNetwork.d.ts +106 -74
  186. package/src/controller/ControlClasses/OcaMediaTransportNetwork.js +121 -111
  187. package/src/controller/ControlClasses/OcaMute.d.ts +7 -7
  188. package/src/controller/ControlClasses/OcaMute.js +7 -5
  189. package/src/controller/ControlClasses/OcaNetwork.d.ts +38 -20
  190. package/src/controller/ControlClasses/OcaNetwork.js +58 -42
  191. package/src/controller/ControlClasses/OcaNetworkManager.d.ts +20 -9
  192. package/src/controller/ControlClasses/OcaNetworkManager.js +33 -23
  193. package/src/controller/ControlClasses/OcaNetworkSignalChannel.d.ts +43 -19
  194. package/src/controller/ControlClasses/OcaNetworkSignalChannel.js +67 -44
  195. package/src/controller/ControlClasses/OcaNumericObserver.d.ts +77 -38
  196. package/src/controller/ControlClasses/OcaNumericObserver.js +95 -59
  197. package/src/controller/ControlClasses/OcaNumericObserverList.d.ts +96 -45
  198. package/src/controller/ControlClasses/OcaNumericObserverList.js +129 -80
  199. package/src/controller/ControlClasses/OcaPanBalance.d.ts +10 -7
  200. package/src/controller/ControlClasses/OcaPanBalance.js +14 -11
  201. package/src/controller/ControlClasses/OcaPhysicalPosition.d.ts +31 -18
  202. package/src/controller/ControlClasses/OcaPhysicalPosition.js +43 -18
  203. package/src/controller/ControlClasses/OcaPolarity.d.ts +10 -7
  204. package/src/controller/ControlClasses/OcaPolarity.js +7 -5
  205. package/src/controller/ControlClasses/OcaPowerManager.d.ts +20 -14
  206. package/src/controller/ControlClasses/OcaPowerManager.js +27 -21
  207. package/src/controller/ControlClasses/OcaPowerSupply.d.ts +24 -15
  208. package/src/controller/ControlClasses/OcaPowerSupply.js +31 -23
  209. package/src/controller/ControlClasses/OcaRamper.d.ts +55 -34
  210. package/src/controller/ControlClasses/OcaRamper.js +58 -37
  211. package/src/controller/ControlClasses/OcaRoot.d.ts +28 -14
  212. package/src/controller/ControlClasses/OcaRoot.js +32 -24
  213. package/src/controller/ControlClasses/OcaSecurityManager.d.ts +29 -13
  214. package/src/controller/ControlClasses/OcaSecurityManager.js +31 -14
  215. package/src/controller/ControlClasses/OcaSensor.d.ts +4 -4
  216. package/src/controller/ControlClasses/OcaSensor.js +6 -5
  217. package/src/controller/ControlClasses/OcaSignalGenerator.d.ts +48 -38
  218. package/src/controller/ControlClasses/OcaSignalGenerator.js +57 -46
  219. package/src/controller/ControlClasses/OcaSignalInput.d.ts +4 -1
  220. package/src/controller/ControlClasses/OcaSignalInput.js +4 -1
  221. package/src/controller/ControlClasses/OcaSignalOutput.d.ts +4 -1
  222. package/src/controller/ControlClasses/OcaSignalOutput.js +4 -1
  223. package/src/controller/ControlClasses/OcaStreamConnector.d.ts +59 -24
  224. package/src/controller/ControlClasses/OcaStreamConnector.js +80 -48
  225. package/src/controller/ControlClasses/OcaStreamNetwork.d.ts +100 -27
  226. package/src/controller/ControlClasses/OcaStreamNetwork.js +124 -54
  227. package/src/controller/ControlClasses/OcaStringActuator.d.ts +5 -4
  228. package/src/controller/ControlClasses/OcaStringActuator.js +7 -5
  229. package/src/controller/ControlClasses/OcaStringSensor.d.ts +7 -5
  230. package/src/controller/ControlClasses/OcaStringSensor.js +10 -7
  231. package/src/controller/ControlClasses/OcaSubscriptionManager.d.ts +73 -46
  232. package/src/controller/ControlClasses/OcaSubscriptionManager.js +78 -51
  233. package/src/controller/ControlClasses/OcaSummingPoint.d.ts +2 -1
  234. package/src/controller/ControlClasses/OcaSummingPoint.js +2 -1
  235. package/src/controller/ControlClasses/OcaSwitch.d.ts +23 -15
  236. package/src/controller/ControlClasses/OcaSwitch.js +31 -23
  237. package/src/controller/ControlClasses/OcaTaskManager.d.ts +47 -38
  238. package/src/controller/ControlClasses/OcaTaskManager.js +48 -37
  239. package/src/controller/ControlClasses/OcaTemperatureActuator.d.ts +6 -5
  240. package/src/controller/ControlClasses/OcaTemperatureActuator.js +6 -4
  241. package/src/controller/ControlClasses/OcaTemperatureSensor.d.ts +4 -4
  242. package/src/controller/ControlClasses/OcaTemperatureSensor.js +4 -3
  243. package/src/controller/ControlClasses/OcaTimeIntervalSensor.d.ts +4 -4
  244. package/src/controller/ControlClasses/OcaTimeIntervalSensor.js +4 -3
  245. package/src/controller/ControlClasses/OcaTimeSource.d.ts +38 -22
  246. package/src/controller/ControlClasses/OcaTimeSource.js +41 -27
  247. package/src/controller/ControlClasses/OcaUint16Actuator.d.ts +6 -5
  248. package/src/controller/ControlClasses/OcaUint16Actuator.js +6 -4
  249. package/src/controller/ControlClasses/OcaUint16Sensor.d.ts +4 -4
  250. package/src/controller/ControlClasses/OcaUint16Sensor.js +4 -3
  251. package/src/controller/ControlClasses/OcaUint32Actuator.d.ts +6 -5
  252. package/src/controller/ControlClasses/OcaUint32Actuator.js +6 -4
  253. package/src/controller/ControlClasses/OcaUint32Sensor.d.ts +4 -4
  254. package/src/controller/ControlClasses/OcaUint32Sensor.js +4 -3
  255. package/src/controller/ControlClasses/OcaUint64Actuator.d.ts +6 -5
  256. package/src/controller/ControlClasses/OcaUint64Actuator.js +6 -4
  257. package/src/controller/ControlClasses/OcaUint64Sensor.d.ts +4 -4
  258. package/src/controller/ControlClasses/OcaUint64Sensor.js +4 -3
  259. package/src/controller/ControlClasses/OcaUint8Actuator.d.ts +6 -5
  260. package/src/controller/ControlClasses/OcaUint8Actuator.js +6 -4
  261. package/src/controller/ControlClasses/OcaUint8Sensor.d.ts +4 -4
  262. package/src/controller/ControlClasses/OcaUint8Sensor.js +4 -3
  263. package/src/controller/ControlClasses/OcaVoltageSensor.d.ts +4 -4
  264. package/src/controller/ControlClasses/OcaVoltageSensor.js +4 -3
  265. package/src/controller/ControlClasses/OcaWorker.d.ts +38 -28
  266. package/src/controller/ControlClasses/OcaWorker.js +50 -40
  267. package/src/controller/abstract_udp_connection.js +11 -7
  268. package/src/controller/client_connection.d.ts +1 -1
  269. package/src/controller/node_udp.js +2 -3
  270. package/src/controller/property_event.js +1 -1
  271. package/src/types/OcaBlockMember.d.ts +1 -2
  272. package/src/types/OcaClassAuthorityID.d.ts +14 -3
  273. package/src/types/OcaClassAuthorityID.js +8 -2
  274. package/src/types/OcaClassIdentification.d.ts +4 -3
  275. package/src/types/OcaClassIdentification.js +2 -2
  276. package/src/types/OcaComponent.d.ts +3 -1
  277. package/src/types/OcaComponent.js +3 -1
  278. package/src/types/OcaDBr.d.ts +6 -4
  279. package/src/types/OcaDBr.js +3 -2
  280. package/src/types/OcaDelayValue.d.ts +1 -2
  281. package/src/types/OcaDeviceState.d.ts +4 -1
  282. package/src/types/OcaDeviceState.js +4 -1
  283. package/src/types/OcaDynamicsFunction.d.ts +2 -1
  284. package/src/types/OcaDynamicsFunction.js +2 -1
  285. package/src/types/OcaEvent.d.ts +3 -3
  286. package/src/types/OcaEvent.js +2 -1
  287. package/src/types/OcaEventID.d.ts +3 -1
  288. package/src/types/OcaEventID.js +3 -1
  289. package/src/types/OcaGlobalTypeIdentifier.d.ts +10 -4
  290. package/src/types/OcaGlobalTypeIdentifier.js +5 -2
  291. package/src/types/OcaGrouperCitizen.d.ts +7 -5
  292. package/src/types/OcaGrouperCitizen.js +4 -2
  293. package/src/types/OcaGrouperEnrollment.d.ts +8 -4
  294. package/src/types/OcaGrouperEnrollment.js +4 -2
  295. package/src/types/OcaGrouperGroup.d.ts +4 -2
  296. package/src/types/OcaGrouperGroup.js +2 -1
  297. package/src/types/OcaGrouperMode.d.ts +1 -1
  298. package/src/types/OcaGrouperMode.js +1 -1
  299. package/src/types/OcaGrouperStatusChangeEventData.d.ts +7 -19
  300. package/src/types/OcaGrouperStatusChangeEventData.js +5 -8
  301. package/src/types/OcaGrouperStatusChangeType.d.ts +2 -1
  302. package/src/types/OcaGrouperStatusChangeType.js +2 -1
  303. package/src/types/OcaLevelDetectionLaw.d.ts +2 -1
  304. package/src/types/OcaLevelDetectionLaw.js +2 -1
  305. package/src/types/OcaLibParamSetAssignment.d.ts +3 -3
  306. package/src/types/OcaLibParamSetAssignment.js +2 -1
  307. package/src/types/OcaLibVol.d.ts +3 -3
  308. package/src/types/OcaLibVol.js +3 -2
  309. package/src/types/OcaLibVolChangedEventData.d.ts +4 -21
  310. package/src/types/OcaLibVolChangedEventData.js +3 -7
  311. package/src/types/OcaLibVolData_ParamSet.d.ts +13 -3
  312. package/src/types/OcaLibVolData_ParamSet.js +11 -3
  313. package/src/types/OcaLibVolMetadata.d.ts +4 -5
  314. package/src/types/OcaLibVolMetadata.js +1 -1
  315. package/src/types/OcaLibVolType.d.ts +12 -4
  316. package/src/types/OcaLibVolType.js +6 -2
  317. package/src/types/OcaLibraryIdentifier.d.ts +3 -3
  318. package/src/types/OcaLibraryIdentifier.js +2 -1
  319. package/src/types/OcaManagerDefaultObjectNumbers.d.ts +58 -116
  320. package/src/types/OcaManagerDefaultObjectNumbers.js +2 -2
  321. package/src/types/OcaManagerDescriptor.d.ts +4 -0
  322. package/src/types/OcaManagerDescriptor.js +2 -0
  323. package/src/types/OcaMediaClockRate.d.ts +12 -6
  324. package/src/types/OcaMediaClockRate.js +6 -3
  325. package/src/types/OcaMediaCoding.d.ts +4 -2
  326. package/src/types/OcaMediaCoding.js +2 -1
  327. package/src/types/OcaMediaConnection.d.ts +21 -8
  328. package/src/types/OcaMediaConnection.js +18 -5
  329. package/src/types/OcaMediaConnectorStatus.d.ts +5 -4
  330. package/src/types/OcaMediaConnectorStatus.js +2 -1
  331. package/src/types/OcaMediaConnectorStatusChangedEventData.d.ts +2 -17
  332. package/src/types/OcaMediaConnectorStatusChangedEventData.js +1 -7
  333. package/src/types/OcaMediaSinkConnector.d.ts +43 -15
  334. package/src/types/OcaMediaSinkConnector.js +23 -7
  335. package/src/types/OcaMediaSinkConnectorChangedEventData.d.ts +20 -30
  336. package/src/types/OcaMediaSinkConnectorChangedEventData.js +8 -11
  337. package/src/types/OcaMediaSourceConnector.d.ts +33 -13
  338. package/src/types/OcaMediaSourceConnector.js +17 -7
  339. package/src/types/OcaMediaSourceConnectorChangedEventData.d.ts +20 -30
  340. package/src/types/OcaMediaSourceConnectorChangedEventData.js +8 -11
  341. package/src/types/OcaMethod.d.ts +8 -5
  342. package/src/types/OcaMethod.js +5 -2
  343. package/src/types/OcaMethodID.d.ts +3 -1
  344. package/src/types/OcaMethodID.js +3 -1
  345. package/src/types/OcaModelGUID.d.ts +4 -2
  346. package/src/types/OcaModelGUID.js +5 -4
  347. package/src/types/OcaNetworkMediaSourceOrSink.d.ts +2 -1
  348. package/src/types/OcaNetworkMediaSourceOrSink.js +2 -1
  349. package/src/types/OcaNetworkSystemInterfaceDescriptor.d.ts +2 -1
  350. package/src/types/OcaNetworkSystemInterfaceDescriptor.js +3 -2
  351. package/src/types/OcaNetworkSystemInterfaceID.d.ts +2 -1
  352. package/src/types/OcaNetworkSystemInterfaceID.js +3 -2
  353. package/src/types/OcaNotificationDeliveryMode.d.ts +2 -1
  354. package/src/types/OcaNotificationDeliveryMode.js +2 -1
  355. package/src/types/OcaOPath.d.ts +2 -1
  356. package/src/types/OcaOPath.js +2 -1
  357. package/src/types/OcaObjectIdentification.d.ts +3 -3
  358. package/src/types/OcaObjectIdentification.js +2 -1
  359. package/src/types/OcaObjectListEventData.d.ts +3 -16
  360. package/src/types/OcaObjectListEventData.js +4 -8
  361. package/src/types/OcaObjectSearchResult.d.ts +5 -3
  362. package/src/types/OcaObjectSearchResult.js +4 -1
  363. package/src/types/OcaObjectSearchResultFlags.d.ts +1 -1
  364. package/src/types/OcaObjectSearchResultFlags.js +1 -1
  365. package/src/types/OcaObservationEventData.d.ts +8 -16
  366. package/src/types/OcaObservationEventData.js +8 -7
  367. package/src/types/OcaObservationListEventData.d.ts +8 -16
  368. package/src/types/OcaObservationListEventData.js +9 -8
  369. package/src/types/OcaParameterMask.d.ts +13 -0
  370. package/src/types/OcaParameterMask.js +11 -0
  371. package/src/types/OcaPilotToneDetectorSpec.d.ts +1 -2
  372. package/src/types/OcaPort.d.ts +3 -3
  373. package/src/types/OcaPort.js +2 -1
  374. package/src/types/OcaPortID.d.ts +4 -3
  375. package/src/types/OcaPortID.js +3 -1
  376. package/src/types/OcaPositionCoordinateSystem.d.ts +2 -1
  377. package/src/types/OcaPositionCoordinateSystem.js +2 -1
  378. package/src/types/OcaPositionDescriptor.d.ts +21 -20
  379. package/src/types/OcaPositionDescriptor.js +12 -14
  380. package/src/types/OcaPositionDescriptorFieldFlags.d.ts +13 -0
  381. package/src/types/OcaPositionDescriptorFieldFlags.js +11 -0
  382. package/src/types/OcaPowerState.d.ts +2 -1
  383. package/src/types/OcaPowerState.js +2 -1
  384. package/src/types/OcaPresentationUnit.d.ts +8 -1
  385. package/src/types/OcaPresentationUnit.js +8 -1
  386. package/src/types/OcaProperty.d.ts +3 -3
  387. package/src/types/OcaProperty.js +2 -1
  388. package/src/types/OcaPropertyDescriptor.d.ts +9 -9
  389. package/src/types/OcaPropertyDescriptor.js +4 -3
  390. package/src/types/OcaPropertyID.d.ts +3 -1
  391. package/src/types/OcaPropertyID.js +3 -1
  392. package/src/types/OcaProtoObjectIdentification.d.ts +3 -3
  393. package/src/types/OcaProtoObjectIdentification.js +2 -1
  394. package/src/types/OcaProtoPort.d.ts +9 -5
  395. package/src/types/OcaProtoPort.js +5 -2
  396. package/src/types/OcaProtoPortID.d.ts +4 -3
  397. package/src/types/OcaProtoPortID.js +3 -1
  398. package/src/types/OcaProtoSignalPath.d.ts +1 -2
  399. package/src/types/OcaRamperCommand.d.ts +1 -1
  400. package/src/types/OcaRamperCommand.js +1 -1
  401. package/src/types/OcaRamperState.d.ts +15 -10
  402. package/src/types/OcaRamperState.js +15 -10
  403. package/src/types/OcaSensorReadingState.d.ts +2 -1
  404. package/src/types/OcaSensorReadingState.js +2 -1
  405. package/src/types/OcaSignalPath.d.ts +1 -2
  406. package/src/types/OcaStream.d.ts +23 -10
  407. package/src/types/OcaStream.js +17 -5
  408. package/src/types/OcaStreamConnectorIdentification.d.ts +17 -7
  409. package/src/types/OcaStreamConnectorIdentification.js +15 -6
  410. package/src/types/OcaSubscriptionManagerState.d.ts +1 -1
  411. package/src/types/OcaSubscriptionManagerState.js +1 -1
  412. package/src/types/OcaTask.d.ts +27 -13
  413. package/src/types/OcaTask.js +14 -6
  414. package/src/types/OcaTaskManagerState.d.ts +13 -9
  415. package/src/types/OcaTaskManagerState.js +13 -9
  416. package/src/types/OcaTaskState.d.ts +3 -1
  417. package/src/types/OcaTaskState.js +3 -1
  418. package/src/types/OcaTaskStateChangedEventData.d.ts +6 -6
  419. package/src/types/OcaTaskStateChangedEventData.js +2 -2
  420. package/src/types/OcaTaskStatus.d.ts +6 -5
  421. package/src/types/OcaTaskStatus.js +5 -3
  422. package/src/types/OcaTimeMode.d.ts +1 -1
  423. package/src/types/OcaTimeMode.js +1 -1
  424. package/src/types/OcaTimePTP.d.ts +8 -3
  425. package/src/types/OcaTimePTP.js +6 -2
  426. package/src/types/OcaTransferFunction.js +3 -3
  427. package/src/types/OcaUnitOfMeasure.d.ts +5 -1
  428. package/src/types/OcaUnitOfMeasure.js +5 -1
  429. package/src/types/OcaVersion.d.ts +7 -5
  430. package/src/types/OcaVersion.js +4 -2
@@ -1,15 +1,30 @@
1
- import { make_control_class } from '../make_control_class.js';
2
- import { OcaAgent } from './OcaAgent.js';
3
1
  import { OcaLibAccess } from '../../OCP1/OcaLibAccess.js';
4
2
  import { OcaLibVol } from '../../OCP1/OcaLibVol.js';
3
+ import { OcaLibVolChangedEventData } from '../../OCP1/OcaLibVolChangedEventData.js';
5
4
  import { OcaLibVolType } from '../../OCP1/OcaLibVolType.js';
6
5
  import { OcaMap } from '../../OCP1/OcaMap.js';
7
- import { OcaPropertyChangeType } from '../../OCP1/OcaPropertyChangeType.js';
8
6
  import { OcaUint16 } from '../../OCP1/OcaUint16.js';
9
7
  import { OcaUint32 } from '../../OCP1/OcaUint32.js';
8
+ import { make_control_class } from '../make_control_class.js';
9
+ import { OcaAgent } from './OcaAgent.js';
10
10
 
11
11
  /**
12
- * A **library** is an agent that holds a collection of datasets. We refer to each dataset as a **Volume** . There are two kinds of volumes: **ParamSet** (parameter set). A ParamSet is a collection of operating parameter settings that can be applied to a block. Each ParamSet is associated with a specific block type, but not with a specific instance of that type. A ParamSet may be applied to any block instance of the associated type. A block's type is the object number of its factory or, for factory-defined blocks, a unique identifier set at time of manufacture. **Patch** . A Patch is a collection of ParamSet assignments. A ParamSet assigment is the description of a binding of a ParamSet to a block instance. To "apply" a Patch is to apply all of its assignments. To apply an assignment is to set all of its ParamSet's parameter values into its block. A given library instance can only hold one class of volume. A device that supports libraries can have any number of Patch and ParamSet libraries. If a device implements a Patch library, it must also implement at least one ParamSet library. However, the reverse is not true: a device may implement one or more ParamSet libraries without a Patch library.
12
+ * A **library** is an agent that holds a collection of datasets. We refer to
13
+ * each dataset as a **Volume**. There are two kinds of volumes: **ParamSet**
14
+ * (parameter set). A ParamSet is a collection of operating parameter settings
15
+ * that can be applied to a block. Each ParamSet is associated with a specific
16
+ * block type, but not with a specific instance of that type. A ParamSet may be
17
+ * applied to any block instance of the associated type. A block's type is the
18
+ * object number of its factory or, for factory-defined blocks, a unique
19
+ * identifier set at time of manufacture. **Patch**. A Patch is a collection of
20
+ * ParamSet assignments. A ParamSet assigment is the description of a binding of
21
+ * a ParamSet to a block instance. To "apply" a Patch is to apply all of its
22
+ * assignments. To apply an assignment is to set all of its ParamSet's parameter
23
+ * values into its block. A given library instance can only hold one class of
24
+ * volume. A device that supports libraries can have any number of Patch and
25
+ * ParamSet libraries. If a device implements a Patch library, it must also
26
+ * implement at least one ParamSet library. However, the reverse is not true: a
27
+ * device may implement one or more ParamSet libraries without a Patch library.
13
28
  * @extends OcaAgent
14
29
  * @class OcaLibrary
15
30
  */
@@ -34,30 +49,36 @@ export const OcaLibrary = make_control_class(
34
49
  ['Access', [OcaLibAccess], 3, 2, false, false, null],
35
50
  ['Volumes', [OcaMap(OcaUint32, OcaLibVol)], 3, 3, false, false, null],
36
51
  ],
37
- [['OcaLibVolChanged', 3, 1, [OcaUint32, OcaPropertyChangeType]]]
52
+ [['OcaLibVolChanged', 3, 1, [OcaLibVolChangedEventData]]]
38
53
  );
39
54
 
40
55
  /**
41
- * Adds a volume to the library and returns its volume ID. The return value indicates whether the volume was successfully added. Changed in version 2 because the definition of OcaLibVolMetaData, which is part of OcaLibVol, has changed.
56
+ * Adds a volume to the library and returns its volume ID. The return value
57
+ * indicates whether the volume was successfully added. Changed in version 2
58
+ * because the definition of OcaLibVolMetaData, which is part of OcaLibVol, has
59
+ * changed.
42
60
  *
43
61
  * @method OcaLibrary#AddVolume
44
- * @param {OcaLibVol} Volume
62
+ * @param {IOcaLibVol} Volume
45
63
  *
46
64
  * @returns {Promise<number>}
47
65
  * A promise which resolves to a single value of type ``number``.
48
66
  */
49
67
  /**
50
- * Replaces a volume in the library at the given volume ID. The return value indicates whether the volume was successfully replaced. Changed in version 2 because the definition of OcaLibVolMetaData, which is part of OcaLibVol, has changed.
68
+ * Replaces a volume in the library at the given volume ID. The return value
69
+ * indicates whether the volume was successfully replaced. Changed in version 2
70
+ * because the definition of OcaLibVolMetaData, which is part of OcaLibVol, has
71
+ * changed.
51
72
  *
52
73
  * @method OcaLibrary#ReplaceVolume
53
74
  * @param {number} ID
54
- *
55
- * @param {OcaLibVol} Volume
75
+ * @param {IOcaLibVol} Volume
56
76
  *
57
77
  * @returns {Promise<void>}
58
78
  */
59
79
  /**
60
- * Deletes a volume from the library. The return value indicates whether the group was successfully deleted.
80
+ * Deletes a volume from the library. The return value indicates whether the
81
+ * group was successfully deleted.
61
82
  *
62
83
  * @method OcaLibrary#DeleteVolume
63
84
  * @param {number} ID
@@ -65,7 +86,9 @@ export const OcaLibrary = make_control_class(
65
86
  * @returns {Promise<void>}
66
87
  */
67
88
  /**
68
- * Retrieves a library volume. The return value indicates whether the volume was successfully retrieved. Changed in version 2 because the definition of OcaLibVolMetaData, which is part of OcaLibVol, has changed.
89
+ * Retrieves a library volume. The return value indicates whether the volume was
90
+ * successfully retrieved. Changed in version 2 because the definition of
91
+ * OcaLibVolMetaData, which is part of OcaLibVol, has changed.
69
92
  *
70
93
  * @method OcaLibrary#GetVolume
71
94
  * @param {number} ID
@@ -74,61 +97,66 @@ export const OcaLibrary = make_control_class(
74
97
  * A promise which resolves to a single value of type :class:`OcaLibVol`.
75
98
  */
76
99
  /**
77
- * Gets the count of volumes in this library. The return value indicates whether the count was successfully retrieved.
100
+ * Gets the count of volumes in this library. The return value indicates whether
101
+ * the count was successfully retrieved.
78
102
  *
79
103
  * @method OcaLibrary#GetVolumeCount
80
104
  * @returns {Promise<number>}
81
105
  * A promise which resolves to a single value of type ``number``.
82
106
  */
83
107
  /**
84
- * Gets the list of volumes held in this library. The return value indicates whether the list was successfully retrieved. Changed in version 2 because the definition of OcaLibVolMetaData, which is part of OcaLibVol, has changed.
108
+ * Gets the list of volumes held in this library. The return value indicates
109
+ * whether the list was successfully retrieved. Changed in version 2 because the
110
+ * definition of OcaLibVolMetaData, which is part of OcaLibVol, has changed.
85
111
  *
86
112
  * @method OcaLibrary#GetVolumes
87
113
  * @returns {Promise<Map<number, OcaLibVol>>}
88
114
  * A promise which resolves to a single value of type ``Map<number, OcaLibVol>``.
89
115
  */
90
116
  /**
91
- * Gets allowed access mode for this library. The return value indicates whether the property was successfully retrieved.
117
+ * Gets allowed access mode for this library. The return value indicates whether
118
+ * the property was successfully retrieved.
92
119
  *
93
120
  * @method OcaLibrary#GetAccess
94
121
  * @returns {Promise<OcaLibAccess>}
95
122
  * A promise which resolves to a single value of type :class:`OcaLibAccess`.
96
123
  */
97
124
  /**
98
- * Sets allowed access mode for this library. The return value indicates whether the property was successfully set. Not implemented for static, manufacturer-supplied libraries.
125
+ * Sets allowed access mode for this library. The return value indicates whether
126
+ * the property was successfully set. Not implemented for static,
127
+ * manufacturer-supplied libraries.
99
128
  *
100
129
  * @method OcaLibrary#SetAccess
101
- * @param {OcaLibAccess} Access
130
+ * @param {IOcaLibAccess} Access
102
131
  *
103
132
  * @returns {Promise<void>}
104
133
  */
105
134
  /**
106
- * Event that is raised whenever private property **Volumes** changes. Added in OcaLibrary Version 2.
135
+ * Event that is raised whenever private property **Volumes** changes. Added in
136
+ * OcaLibrary Version 2.
107
137
  * @member OcaLibrary#OnOcaLibVolChanged {Event}
108
- * Event that is raised whenever private property <b>Volumes </b>changes.
109
- * Added in OcaLibrary Version 2.
110
138
  */
111
139
  /**
112
- * This event is emitted when the property VolumeType changes in the remote object.
140
+ * This event is emitted when the property ``VolumeType`` changes in the remote object.
113
141
  * The property ``VolumeType`` is described in the AES70 standard as follows.
114
142
  * Type of library volumes:
115
143
  *
116
144
  * @member {PropertyEvent<OcaLibVolType>} OcaLibrary#OnVolumeTypeChanged
117
145
  */
118
146
  /**
119
- * This event is emitted when the property Access changes in the remote object.
147
+ * This event is emitted when the property ``Access`` changes in the remote object.
120
148
  * The property ``Access`` is described in the AES70 standard as follows.
121
149
  * Readonly, read-expand, or full.
122
150
  *
123
151
  * @member {PropertyEvent<OcaLibAccess>} OcaLibrary#OnAccessChanged
124
152
  */
125
153
  /**
126
- * This event is emitted when the property Volumes changes in the remote object.
154
+ * This event is emitted when the property ``Volumes`` changes in the remote object.
127
155
  * The property ``Volumes`` is described in the AES70 standard as follows.
128
156
  * Map of volumes held in the Library. Changed in version 2 because the
129
- * definition of OcaLibVolMetaData, which is part of OcaLibVol, has
130
- * changed, and because it is now a private property whose changes are
131
- * signaled by the <b>OcaLibVolChanged </b>event.
157
+ * definition of OcaLibVolMetaData, which is part of OcaLibVol, has changed, and
158
+ * because it is now a private property whose changes are signaled by the
159
+ * **OcaLibVolChanged** event.
132
160
  *
133
161
  * @member {PropertyEvent<Map<number, OcaLibVol>>} OcaLibrary#OnVolumesChanged
134
162
  */
@@ -1,20 +1,22 @@
1
- import { RemoteDevice } from '../remote_device';
2
- import { OcaManager } from './OcaManager';
3
-
4
- import { PropertyEvent } from '../property_event';
5
- import { IOcaLibVolIdentifier } from '../../types/OcaLibVolIdentifier';
1
+ import {
2
+ IOcaLibVolIdentifier,
3
+ OcaLibVolIdentifier,
4
+ } from '../../types/OcaLibVolIdentifier';
6
5
  import { IOcaLibVolType } from '../../types/OcaLibVolType';
7
- import { OcaLibVolIdentifier } from '../../types/OcaLibVolIdentifier';
8
6
  import { OcaLibraryIdentifier } from '../../types/OcaLibraryIdentifier';
7
+ import { PropertyEvent } from '../property_event';
8
+ import { RemoteDevice } from '../remote_device';
9
+ import { OcaManager } from './OcaManager';
9
10
 
10
11
  /**
11
12
  * Optional manager for handling device presets -- Patch and ParamSet libraries.
12
13
  *
13
- * - May be instantiated once in any device.
14
14
  *
15
+ * - May be instantiated once in any device.
15
16
  *
16
17
  * - If instantiated, object number must be 8.
17
18
  *
19
+ *
18
20
  * @extends OcaManager
19
21
  * @class OcaLibraryManager
20
22
  */
@@ -32,10 +34,11 @@ export declare class OcaLibraryManager extends OcaManager {
32
34
  constructor(objectNumber: number, device: RemoteDevice);
33
35
 
34
36
  /**
35
- * Adds a library to the device. Return value indicates whether the library was successfully added.
37
+ * Adds a library to the device. Return value indicates whether the library
38
+ * was successfully added.
36
39
  *
37
40
  * @method OcaLibraryManager#AddLibrary
38
- * @param {OcaLibVolType} Type
41
+ * @param {IOcaLibVolType} Type
39
42
  *
40
43
  * @returns {Promise<OcaLibraryIdentifier>}
41
44
  * A promise which resolves to a single value of type :class:`OcaLibraryIdentifier`.
@@ -53,10 +56,11 @@ export declare class OcaLibraryManager extends OcaManager {
53
56
  DeleteLibrary(ID: number): Promise<void>;
54
57
 
55
58
  /**
56
- * Returns the number of libraries of the given type that are instantiated in the device..
59
+ * Returns the number of libraries of the given type that are instantiated in
60
+ * the device..
57
61
  *
58
62
  * @method OcaLibraryManager#GetLibraryCount
59
- * @param {OcaLibVolType} Type
63
+ * @param {IOcaLibVolType} Type
60
64
  *
61
65
  * @returns {Promise<number>}
62
66
  * A promise which resolves to a single value of type ``number``.
@@ -64,18 +68,20 @@ export declare class OcaLibraryManager extends OcaManager {
64
68
  GetLibraryCount(Type: IOcaLibVolType): Promise<number>;
65
69
 
66
70
  /**
67
- * Returns the list of object numbers of libraries of libraries of the given type that are instantiated in the device.
71
+ * Returns the list of object numbers of libraries of libraries of the given
72
+ * type that are instantiated in the device.
68
73
  *
69
74
  * @method OcaLibraryManager#GetLibraryList
70
- * @param {OcaLibVolType} Type
75
+ * @param {IOcaLibVolType} Type
71
76
  *
72
77
  * @returns {Promise<OcaLibraryIdentifier[]>}
73
- * A promise which resolves to a single value of type ``OcaLibraryIdentifier[]``.
78
+ * A promise which resolves to a single value of type :class:`OcaLibraryIdentifier[]`.
74
79
  */
75
80
  GetLibraryList(Type: IOcaLibVolType): Promise<OcaLibraryIdentifier[]>;
76
81
 
77
82
  /**
78
- * Return the identifier of the most recently applied patch. The return value indicates whether the method succeeded.
83
+ * Return the identifier of the most recently applied patch. The return value
84
+ * indicates whether the method succeeded.
79
85
  *
80
86
  * @method OcaLibraryManager#GetCurrentPatch
81
87
  * @returns {Promise<OcaLibVolIdentifier>}
@@ -87,7 +93,7 @@ export declare class OcaLibraryManager extends OcaManager {
87
93
  * Apply a patch to the device.
88
94
  *
89
95
  * @method OcaLibraryManager#ApplyPatch
90
- * @param {OcaLibVolIdentifier} ID
96
+ * @param {IOcaLibVolIdentifier} ID
91
97
  *
92
98
  * @returns {Promise<void>}
93
99
  */
@@ -1,20 +1,21 @@
1
- import { make_control_class } from '../make_control_class.js';
2
- import { OcaManager } from './OcaManager.js';
3
1
  import { OcaLibVolIdentifier } from '../../OCP1/OcaLibVolIdentifier.js';
4
2
  import { OcaLibVolType } from '../../OCP1/OcaLibVolType.js';
5
3
  import { OcaLibraryIdentifier } from '../../OCP1/OcaLibraryIdentifier.js';
6
4
  import { OcaList } from '../../OCP1/OcaList.js';
7
5
  import { OcaUint16 } from '../../OCP1/OcaUint16.js';
8
6
  import { OcaUint32 } from '../../OCP1/OcaUint32.js';
7
+ import { make_control_class } from '../make_control_class.js';
8
+ import { OcaManager } from './OcaManager.js';
9
9
 
10
10
  /**
11
11
  * Optional manager for handling device presets -- Patch and ParamSet libraries.
12
12
  *
13
- * - May be instantiated once in any device.
14
13
  *
14
+ * - May be instantiated once in any device.
15
15
  *
16
16
  * - If instantiated, object number must be 8.
17
17
  *
18
+ *
18
19
  * @extends OcaManager
19
20
  * @class OcaLibraryManager
20
21
  */
@@ -40,10 +41,11 @@ export const OcaLibraryManager = make_control_class(
40
41
  );
41
42
 
42
43
  /**
43
- * Adds a library to the device. Return value indicates whether the library was successfully added.
44
+ * Adds a library to the device. Return value indicates whether the library was
45
+ * successfully added.
44
46
  *
45
47
  * @method OcaLibraryManager#AddLibrary
46
- * @param {OcaLibVolType} Type
48
+ * @param {IOcaLibVolType} Type
47
49
  *
48
50
  * @returns {Promise<OcaLibraryIdentifier>}
49
51
  * A promise which resolves to a single value of type :class:`OcaLibraryIdentifier`.
@@ -57,25 +59,28 @@ export const OcaLibraryManager = make_control_class(
57
59
  * @returns {Promise<void>}
58
60
  */
59
61
  /**
60
- * Returns the number of libraries of the given type that are instantiated in the device..
62
+ * Returns the number of libraries of the given type that are instantiated in
63
+ * the device..
61
64
  *
62
65
  * @method OcaLibraryManager#GetLibraryCount
63
- * @param {OcaLibVolType} Type
66
+ * @param {IOcaLibVolType} Type
64
67
  *
65
68
  * @returns {Promise<number>}
66
69
  * A promise which resolves to a single value of type ``number``.
67
70
  */
68
71
  /**
69
- * Returns the list of object numbers of libraries of libraries of the given type that are instantiated in the device.
72
+ * Returns the list of object numbers of libraries of libraries of the given
73
+ * type that are instantiated in the device.
70
74
  *
71
75
  * @method OcaLibraryManager#GetLibraryList
72
- * @param {OcaLibVolType} Type
76
+ * @param {IOcaLibVolType} Type
73
77
  *
74
78
  * @returns {Promise<OcaLibraryIdentifier[]>}
75
- * A promise which resolves to a single value of type ``OcaLibraryIdentifier[]``.
79
+ * A promise which resolves to a single value of type :class:`OcaLibraryIdentifier[]`.
76
80
  */
77
81
  /**
78
- * Return the identifier of the most recently applied patch. The return value indicates whether the method succeeded.
82
+ * Return the identifier of the most recently applied patch. The return value
83
+ * indicates whether the method succeeded.
79
84
  *
80
85
  * @method OcaLibraryManager#GetCurrentPatch
81
86
  * @returns {Promise<OcaLibVolIdentifier>}
@@ -85,23 +90,23 @@ export const OcaLibraryManager = make_control_class(
85
90
  * Apply a patch to the device.
86
91
  *
87
92
  * @method OcaLibraryManager#ApplyPatch
88
- * @param {OcaLibVolIdentifier} ID
93
+ * @param {IOcaLibVolIdentifier} ID
89
94
  *
90
95
  * @returns {Promise<void>}
91
96
  */
92
97
  /**
93
- * This event is emitted when the property Libraries changes in the remote object.
98
+ * This event is emitted when the property ``Libraries`` changes in the remote object.
94
99
  * The property ``Libraries`` is described in the AES70 standard as follows.
95
100
  * List of identifiers of all libraries in the device.
96
101
  *
97
102
  * @member {PropertyEvent<OcaLibraryIdentifier[]>} OcaLibraryManager#OnLibrariesChanged
98
103
  */
99
104
  /**
100
- * This event is emitted when the property CurrentPatch changes in the remote object.
105
+ * This event is emitted when the property ``CurrentPatch`` changes in the remote object.
101
106
  * The property ``CurrentPatch`` is described in the AES70 standard as follows.
102
- * Library volume identifier of the most-recently applied patch in this
103
- * device. Changing the value of this property applies the patch
104
- * represented by the new value.
107
+ * Library volume identifier of the most-recently applied patch in this device.
108
+ * Changing the value of this property applies the patch represented by the new
109
+ * value.
105
110
  *
106
111
  * @member {PropertyEvent<OcaLibVolIdentifier>} OcaLibraryManager#OnCurrentPatchChanged
107
112
  */
@@ -2,7 +2,10 @@ import { RemoteDevice } from '../remote_device';
2
2
  import { OcaRoot } from './OcaRoot';
3
3
 
4
4
  /**
5
- * Abstract base class for classes that represent non-audio (i.e. control and monitoring) functions. All concrete manager objects are lockable (the constructor of this class initializes the Root object with property Lockable true).
5
+ * Abstract base class for classes that represent non-audio (i.e. control and
6
+ * monitoring) functions. All concrete manager objects are lockable (the
7
+ * constructor of this class initializes the Root object with property Lockable
8
+ * true).
6
9
  * @extends OcaRoot
7
10
  * @class OcaManager
8
11
  */
@@ -2,7 +2,10 @@ import { make_control_class } from '../make_control_class.js';
2
2
  import { OcaRoot } from './OcaRoot.js';
3
3
 
4
4
  /**
5
- * Abstract base class for classes that represent non-audio (i.e. control and monitoring) functions. All concrete manager objects are lockable (the constructor of this class initializes the Root object with property Lockable true).
5
+ * Abstract base class for classes that represent non-audio (i.e. control and
6
+ * monitoring) functions. All concrete manager objects are lockable (the
7
+ * constructor of this class initializes the Root object with property Lockable
8
+ * true).
6
9
  * @extends OcaRoot
7
10
  * @class OcaManager
8
11
  */
@@ -1,11 +1,51 @@
1
- import { RemoteDevice } from '../remote_device';
2
- import { OcaWorker } from './OcaWorker';
3
1
  import { Arguments } from '../arguments';
4
-
5
2
  import { PropertyEvent } from '../property_event';
3
+ import { RemoteDevice } from '../remote_device';
4
+ import { OcaWorker } from './OcaWorker';
6
5
 
7
6
  /**
8
- * A matrix is a rectangular array of identical objects (" **members** ") that is coordinate addressable and has sets of common input and output ports. The matrix host does not instantiate these objects, but instead mediates the coordinate addressing, implements the common input and output ports, and provdes certain other aggregate functions. Matrix members may be workers (including blocks), or agents. All members of a matrix must be of the same class. No object may belong to more than one matrix at a time. No object may appear more than once in a given matrix. The complete model of an OCA matrix consists of: 1. One instance of **OcaMatrix.** 2. **(N x M) members** , where each member is an instance of a worker or agent class. For any given matrix, this class must be the same for all members, and is referred to as the **member class.** Members are sometimes referred to as **cells** of the matrix. 3. One additional instance of the member class, called the **matrix proxy.** Thus, the **OcaMatrix** instance is a container for the two-dimensional collection of its members. Once a matrix is set up, the controller may get and set member properties by the following procedures: **Get** To get a property value of member (x1, y1): 1. Controller calls **OcaMatrix.SetXY(x1, y1)** . This action: - locks the **OcaMatrix** instance, and - posts x1 and y1 as coordinates of the object whose property value is to be retrieved. 2. Controller calls the matrix proxy's **Get** method for the property value desired. This action causes the **OcaMatrix** instance to: - decode the posted x1 and y1 values into a member ONo. - call the given **Get** method for the object identified by the decoded ONo. - aggregate the **OcaResult** from each **Get** call into a consolidated **OcaResult** . - unlock the **OcaMatrix** instance. - return the consolidated **OcaResult** to the controller. **Set** To set a property value of member (x1, y1), or of row (0, y1) or column (x1, 0) or whole matrix (0,0) 1. Controller calls **OcaMatrix.SetXY(x1, y1)** . This action: - locks the **OcaMatrix** instance, and - posts x1 and y1 as coordinates of the object whose property value is to be changed. 2. Controller calls the matrix proxy's **Set** method for the target property. This action causes the **OcaMatrix** instance to: - decode the posted x1 and y1 values into a list of target member ONos, as follows: If x1 :raw:html:`&gt;` 0 and y1 :raw:html:`&gt;` 0, the list will be the single ONo of the addressed cell. If x1 = 0 and y1 :raw:html:`&gt;` 0, the list will be the list of ONos of the cells in row y1 . If x1 :raw:html:`&gt;` 0 and y1 = 0, the list will be the list of ONos of the cells in column x1. If x1 = 0 and y1 = 0, the list will be the list of ONos of all cells of the matrix. - call the given **Set** method for each target member in the ONo list. - aggregate the **OcaResult** from each **Set** call into a consolidated **OcaResult** . - unlock the **OcaMatrix** instance.
7
+ * A matrix is a rectangular array of identical objects ("**members**") that is
8
+ * coordinate addressable and has sets of common input and output ports. The
9
+ * matrix host does not instantiate these objects, but instead mediates the
10
+ * coordinate addressing, implements the common input and output ports, and
11
+ * provdes certain other aggregate functions. Matrix members may be workers
12
+ * (including blocks), or agents. All members of a matrix must be of the same
13
+ * class. No object may belong to more than one matrix at a time. No object may
14
+ * appear more than once in a given matrix. The complete model of an OCA matrix
15
+ * consists of: 1. One instance of **OcaMatrix.** 2. **(N x M) members**, where
16
+ * each member is an instance of a worker or agent class. For any given matrix,
17
+ * this class must be the same for all members, and is referred to as the
18
+ * **member class.** Members are sometimes referred to as **cells** of the
19
+ * matrix. 3. One additional instance of the member class, called the **matrix
20
+ * proxy.** Thus, the **OcaMatrix** instance is a container for the
21
+ * two-dimensional collection of its members. Once a matrix is set up, the
22
+ * controller may get and set member properties by the following procedures:
23
+ * **Get** To get a property value of member (x :sub:`1`, y :sub:`1`): 1.
24
+ * Controller calls **OcaMatrix.SetXY(x1, y1)**. This action: - locks the
25
+ * **OcaMatrix** instance, and - posts x :sub:`1` and y :sub:`1` as coordinates
26
+ * of the object whose property value is to be retrieved. 2. Controller calls
27
+ * the matrix proxy's **Get** method for the property value desired. This action
28
+ * causes the **OcaMatrix** instance to: - decode the posted x :sub:`1` and y
29
+ * :sub:`1` values into a member ONo. - call the given **Get** method for the
30
+ * object identified by the decoded ONo. - aggregate the **OcaResult** from each
31
+ * **Get** call into a consolidated **OcaResult**. - unlock the **OcaMatrix**
32
+ * instance. - return the consolidated **OcaResult** to the controller. **Set**
33
+ * ** **To set a property value of member (x :sub:`1`, y :sub:`1`), or of row
34
+ * (0, y :sub:`1`) or column (x :sub:`1`, 0) or whole matrix (0,0) 1. Controller
35
+ * calls **OcaMatrix.SetXY(x1, y1)**. This action: - locks the **OcaMatrix**
36
+ * instance, and - posts x :sub:`1` and y :sub:`1` as coordinates of the object
37
+ * whose property value is to be changed. 2. Controller calls the matrix proxy's
38
+ * **Set** method for the target property. This action causes the **OcaMatrix**
39
+ * instance to: - decode the posted x :sub:`1` and y :sub:`1` values into a list
40
+ * of target member ONos, as follows: If x :sub:`1` > 0 and y :sub:`1` > 0, the
41
+ * list will be the single ONo of the addressed cell. If x :sub:`1` = 0 and y
42
+ * :sub:`1` > 0, the list will be the list of ONos of the cells in row y
43
+ * :sub:`1` . If x :sub:`1` > 0 and y :sub:`1` = 0, the list will be the list of
44
+ * ONos of the cells in column x :sub:`1`. If x :sub:`1` = 0 and y :sub:`1` = 0,
45
+ * the list will be the list of ONos of all cells of the matrix. - call the
46
+ * given **Set** method for each target member in the ONo list. - aggregate the
47
+ * **OcaResult** from each **Set** call into a consolidated **OcaResult**. -
48
+ * unlock the **OcaMatrix** instance.
9
49
  * @extends OcaWorker
10
50
  * @class OcaMatrix
11
51
  */
@@ -53,7 +93,9 @@ export declare class OcaMatrix extends OcaWorker {
53
93
  constructor(objectNumber: number, device: RemoteDevice);
54
94
 
55
95
  /**
56
- * Gets coordinates of the currently active area (cell, row, column, or whole matrix). The returned status indicates whether the operation was successful.
96
+ * Gets coordinates of the currently active area (cell, row, column, or whole
97
+ * matrix). The returned status indicates whether the operation was
98
+ * successful.
57
99
  * The return values of this method are
58
100
  *
59
101
  * - x of type ``number``
@@ -65,11 +107,11 @@ export declare class OcaMatrix extends OcaWorker {
65
107
  GetCurrentXY(): Promise<Arguments<[number, number]>>;
66
108
 
67
109
  /**
68
- * Sets the currently active area (cell, row, column, or whole matrix). The returned status indicates whether the operation was successful.
110
+ * Sets the currently active area (cell, row, column, or whole matrix). The
111
+ * returned status indicates whether the operation was successful.
69
112
  *
70
113
  * @method OcaMatrix#SetCurrentXY
71
114
  * @param {number} x
72
- *
73
115
  * @param {number} y
74
116
  *
75
117
  * @returns {Promise<void>}
@@ -77,7 +119,8 @@ export declare class OcaMatrix extends OcaWorker {
77
119
  SetCurrentXY(x: number, y: number): Promise<void>;
78
120
 
79
121
  /**
80
- * Gets the matrix size. The returned status indicates whether the operation was successful.
122
+ * Gets the matrix size. The returned status indicates whether the operation
123
+ * was successful.
81
124
  * The return values of this method are
82
125
  *
83
126
  * - xSize of type ``number``
@@ -95,11 +138,11 @@ export declare class OcaMatrix extends OcaWorker {
95
138
  >;
96
139
 
97
140
  /**
98
- * Sets the matrix size. The returned status indicates whether the operation was successful. This method will not be available for fixed-size matrices.
141
+ * Sets the matrix size. The returned status indicates whether the operation
142
+ * was successful. This method will not be available for fixed-size matrices.
99
143
  *
100
144
  * @method OcaMatrix#SetSize
101
145
  * @param {number} xSize
102
- *
103
146
  * @param {number} ySize
104
147
  *
105
148
  * @returns {Promise<void>}
@@ -107,7 +150,8 @@ export declare class OcaMatrix extends OcaWorker {
107
150
  SetSize(xSize: number, ySize: number): Promise<void>;
108
151
 
109
152
  /**
110
- * Retrieves the 2D array of member object numbers. Cells for which no member has been defined will return Zero as the object number.
153
+ * Retrieves the 2D array of member object numbers. Cells for which no member
154
+ * has been defined will return Zero as the object number.
111
155
  *
112
156
  * @method OcaMatrix#GetMembers
113
157
  * @returns {Promise<number[][]>}
@@ -116,7 +160,8 @@ export declare class OcaMatrix extends OcaWorker {
116
160
  GetMembers(): Promise<number[][]>;
117
161
 
118
162
  /**
119
- * Sets the entire 2D array of member object numbers. Row and column size of the **members** parameter must be equal to the current size of the matrix.
163
+ * Sets the entire 2D array of member object numbers. Row and column size of
164
+ * the **members** parameter must be equal to the current size of the matrix.
120
165
  *
121
166
  * @method OcaMatrix#SetMembers
122
167
  * @param {number[][]} members
@@ -126,11 +171,11 @@ export declare class OcaMatrix extends OcaWorker {
126
171
  SetMembers(members: number[][]): Promise<void>;
127
172
 
128
173
  /**
129
- * Retrieves the object number of the member at position (x,y). If no member is defined at this position, returns an object number value of Zero.
174
+ * Retrieves the object number of the member at position (x,y). If no member
175
+ * is defined at this position, returns an object number value of Zero.
130
176
  *
131
177
  * @method OcaMatrix#GetMember
132
178
  * @param {number} x
133
- *
134
179
  * @param {number} y
135
180
  *
136
181
  * @returns {Promise<number>}
@@ -139,13 +184,12 @@ export declare class OcaMatrix extends OcaWorker {
139
184
  GetMember(x: number, y: number): Promise<number>;
140
185
 
141
186
  /**
142
- * Installs a particular object as a member at position (x,y). If another object was at this position, it is removed.
187
+ * Installs a particular object as a member at position (x,y). If another
188
+ * object was at this position, it is removed.
143
189
  *
144
190
  * @method OcaMatrix#SetMember
145
191
  * @param {number} x
146
- *
147
192
  * @param {number} y
148
- *
149
193
  * @param {number} memberONo
150
194
  *
151
195
  * @returns {Promise<void>}
@@ -210,11 +254,12 @@ export declare class OcaMatrix extends OcaWorker {
210
254
  SetPortsPerColumn(Ports: number): Promise<void>;
211
255
 
212
256
  /**
213
- * Sets the currently active area (cell, row, column, or whole matrix) and locks it. Fails if the referenced members cannot all be locked. The returned status indicates whether the operation was successful.
257
+ * Sets the currently active area (cell, row, column, or whole matrix) and
258
+ * locks it. Fails if the referenced members cannot all be locked. The
259
+ * returned status indicates whether the operation was successful.
214
260
  *
215
261
  * @method OcaMatrix#SetCurrentXYLock
216
262
  * @param {number} x
217
- *
218
263
  * @param {number} y
219
264
  *
220
265
  * @returns {Promise<void>}
@@ -222,7 +267,11 @@ export declare class OcaMatrix extends OcaWorker {
222
267
  SetCurrentXYLock(x: number, y: number): Promise<void>;
223
268
 
224
269
  /**
225
- * Unlocks the currently active area of the matrix. Fails if all the members of the currently active area cannot be unlocked. Failure is _not_ triggered if one or more members of the currently active area are already unlocked at the time Unlock() is called. The returned status indicates whether the operation was successful.
270
+ * Unlocks the currently active area of the matrix. Fails if all the members
271
+ * of the currently active area cannot be unlocked. Failure is not triggered
272
+ * if one or more members of the currently active area are already unlocked at
273
+ * the time Unlock() is called. The returned status indicates whether the
274
+ * operation was successful.
226
275
  *
227
276
  * @method OcaMatrix#UnlockCurrent
228
277
  * @returns {Promise<void>}