aes70 2.0.4 → 2.0.7

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 (242) hide show
  1. package/dist/AES70.es5.js +15326 -9479
  2. package/package.json +1 -1
  3. package/src/OCP1/OcaInterval.js +2 -3
  4. package/src/connection.d.ts +1 -1
  5. package/src/controller/ControlClasses/OcaActuator.d.ts +2 -2
  6. package/src/controller/ControlClasses/OcaAgent.d.ts +4 -4
  7. package/src/controller/ControlClasses/OcaApplicationNetwork.d.ts +6 -6
  8. package/src/controller/ControlClasses/OcaAudioLevelSensor.d.ts +4 -4
  9. package/src/controller/ControlClasses/OcaAudioProcessingManager.d.ts +2 -2
  10. package/src/controller/ControlClasses/OcaBasicActuator.d.ts +2 -2
  11. package/src/controller/ControlClasses/OcaBasicSensor.d.ts +2 -2
  12. package/src/controller/ControlClasses/OcaBitstringActuator.d.ts +3 -3
  13. package/src/controller/ControlClasses/OcaBitstringSensor.d.ts +3 -3
  14. package/src/controller/ControlClasses/OcaBlock.d.ts +15 -15
  15. package/src/controller/ControlClasses/OcaBlockFactoryAgent.d.ts +11 -11
  16. package/src/controller/ControlClasses/OcaBooleanActuator.d.ts +3 -3
  17. package/src/controller/ControlClasses/OcaBooleanSensor.d.ts +3 -3
  18. package/src/controller/ControlClasses/OcaCodingManager.d.ts +3 -3
  19. package/src/controller/ControlClasses/OcaCommandSet.d.ts +4 -4
  20. package/src/controller/ControlClasses/OcaCommandSetAgent.d.ts +4 -4
  21. package/src/controller/ControlClasses/OcaControlNetwork.d.ts +4 -4
  22. package/src/controller/ControlClasses/OcaCounterNotifier.d.ts +6 -6
  23. package/src/controller/ControlClasses/OcaCurrentSensor.d.ts +4 -4
  24. package/src/controller/ControlClasses/OcaDataset.d.ts +6 -6
  25. package/src/controller/ControlClasses/OcaDatasetWorker.d.ts +3 -3
  26. package/src/controller/ControlClasses/OcaDelay.d.ts +4 -4
  27. package/src/controller/ControlClasses/OcaDelayExtended.d.ts +6 -6
  28. package/src/controller/ControlClasses/OcaDeviceManager.d.ts +11 -11
  29. package/src/controller/ControlClasses/OcaDeviceTimeManager.d.ts +4 -4
  30. package/src/controller/ControlClasses/OcaDiagnosticManager.d.ts +2 -2
  31. package/src/controller/ControlClasses/OcaDynamics.d.ts +9 -9
  32. package/src/controller/ControlClasses/OcaDynamicsCurve.d.ts +6 -6
  33. package/src/controller/ControlClasses/OcaDynamicsDetector.d.ts +6 -6
  34. package/src/controller/ControlClasses/OcaFilterArbitraryCurve.d.ts +5 -5
  35. package/src/controller/ControlClasses/OcaFilterClassical.d.ts +7 -7
  36. package/src/controller/ControlClasses/OcaFilterFIR.d.ts +4 -4
  37. package/src/controller/ControlClasses/OcaFilterParametric.d.ts +6 -6
  38. package/src/controller/ControlClasses/OcaFilterPolynomial.d.ts +4 -4
  39. package/src/controller/ControlClasses/OcaFirmwareManager.d.ts +5 -5
  40. package/src/controller/ControlClasses/OcaFloat32Actuator.d.ts +4 -4
  41. package/src/controller/ControlClasses/OcaFloat32Sensor.d.ts +4 -4
  42. package/src/controller/ControlClasses/OcaFloat64Actuator.d.ts +4 -4
  43. package/src/controller/ControlClasses/OcaFloat64Sensor.d.ts +4 -4
  44. package/src/controller/ControlClasses/OcaFrequencyActuator.d.ts +4 -4
  45. package/src/controller/ControlClasses/OcaFrequencySensor.d.ts +4 -4
  46. package/src/controller/ControlClasses/OcaGain.d.ts +4 -4
  47. package/src/controller/ControlClasses/OcaGainSensor.d.ts +4 -4
  48. package/src/controller/ControlClasses/OcaGroup.d.ts +4 -4
  49. package/src/controller/ControlClasses/OcaGrouper.d.ts +9 -9
  50. package/src/controller/ControlClasses/OcaIdentificationActuator.d.ts +3 -3
  51. package/src/controller/ControlClasses/OcaIdentificationSensor.d.ts +3 -3
  52. package/src/controller/ControlClasses/OcaImpedanceSensor.d.ts +5 -5
  53. package/src/controller/ControlClasses/OcaInt16Actuator.d.ts +4 -4
  54. package/src/controller/ControlClasses/OcaInt16Sensor.d.ts +4 -4
  55. package/src/controller/ControlClasses/OcaInt32Actuator.d.ts +4 -4
  56. package/src/controller/ControlClasses/OcaInt32Sensor.d.ts +4 -4
  57. package/src/controller/ControlClasses/OcaInt64Actuator.d.ts +4 -4
  58. package/src/controller/ControlClasses/OcaInt64Sensor.d.ts +4 -4
  59. package/src/controller/ControlClasses/OcaInt8Actuator.d.ts +4 -4
  60. package/src/controller/ControlClasses/OcaInt8Sensor.d.ts +4 -4
  61. package/src/controller/ControlClasses/OcaJsonActuator.d.ts +3 -3
  62. package/src/controller/ControlClasses/OcaJsonSensor.d.ts +3 -3
  63. package/src/controller/ControlClasses/OcaLevelSensor.d.ts +4 -4
  64. package/src/controller/ControlClasses/OcaLibraryManager.d.ts +6 -6
  65. package/src/controller/ControlClasses/OcaLockManager.d.ts +3 -3
  66. package/src/controller/ControlClasses/OcaLog.d.ts +7 -7
  67. package/src/controller/ControlClasses/OcaManager.d.ts +2 -2
  68. package/src/controller/ControlClasses/OcaMatrix.d.ts +8 -8
  69. package/src/controller/ControlClasses/OcaMediaClock.d.ts +6 -6
  70. package/src/controller/ControlClasses/OcaMediaClock3.d.ts +7 -7
  71. package/src/controller/ControlClasses/OcaMediaClockManager.d.ts +4 -4
  72. package/src/controller/ControlClasses/OcaMediaRecorderPlayer.d.ts +10 -10
  73. package/src/controller/ControlClasses/OcaMediaTransportApplication.d.ts +18 -18
  74. package/src/controller/ControlClasses/OcaMediaTransportNetwork.d.ts +15 -15
  75. package/src/controller/ControlClasses/OcaMediaTransportSessionAgent.d.ts +6 -6
  76. package/src/controller/ControlClasses/OcaMute.d.ts +4 -4
  77. package/src/controller/ControlClasses/OcaNetwork.d.ts +9 -9
  78. package/src/controller/ControlClasses/OcaNetworkApplication.d.ts +7 -7
  79. package/src/controller/ControlClasses/OcaNetworkInterface.d.ts +8 -8
  80. package/src/controller/ControlClasses/OcaNetworkManager.d.ts +3 -3
  81. package/src/controller/ControlClasses/OcaNetworkSignalChannel.d.ts +5 -5
  82. package/src/controller/ControlClasses/OcaNumericObserver.d.ts +7 -7
  83. package/src/controller/ControlClasses/OcaNumericObserverList.d.ts +7 -7
  84. package/src/controller/ControlClasses/OcaPanBalance.d.ts +4 -4
  85. package/src/controller/ControlClasses/OcaPhysicalPosition.d.ts +7 -7
  86. package/src/controller/ControlClasses/OcaPolarity.d.ts +4 -4
  87. package/src/controller/ControlClasses/OcaPowerManager.d.ts +4 -4
  88. package/src/controller/ControlClasses/OcaPowerSensor.d.ts +4 -4
  89. package/src/controller/ControlClasses/OcaPowerSupply.d.ts +6 -6
  90. package/src/controller/ControlClasses/OcaProgram.d.ts +4 -4
  91. package/src/controller/ControlClasses/OcaRamper.d.ts +11 -11
  92. package/src/controller/ControlClasses/OcaRoot.d.ts +6 -6
  93. package/src/controller/ControlClasses/OcaSamplingRateConverter.d.ts +3 -3
  94. package/src/controller/ControlClasses/OcaSecurityManager.d.ts +3 -3
  95. package/src/controller/ControlClasses/OcaSensor.d.ts +4 -4
  96. package/src/controller/ControlClasses/OcaSignalGenerator.d.ts +10 -7
  97. package/src/controller/ControlClasses/OcaSignalInput.d.ts +2 -2
  98. package/src/controller/ControlClasses/OcaSignalOutput.d.ts +2 -2
  99. package/src/controller/ControlClasses/OcaStateSensor.d.ts +4 -4
  100. package/src/controller/ControlClasses/OcaStreamConnector.d.ts +6 -6
  101. package/src/controller/ControlClasses/OcaStreamNetwork.d.ts +9 -9
  102. package/src/controller/ControlClasses/OcaStringActuator.d.ts +3 -3
  103. package/src/controller/ControlClasses/OcaStringSensor.d.ts +3 -3
  104. package/src/controller/ControlClasses/OcaSubscriptionManager.d.ts +10 -10
  105. package/src/controller/ControlClasses/OcaSummingPoint.d.ts +2 -2
  106. package/src/controller/ControlClasses/OcaSwitch.d.ts +4 -4
  107. package/src/controller/ControlClasses/OcaTaskAgent.d.ts +6 -6
  108. package/src/controller/ControlClasses/OcaTaskManager.d.ts +8 -8
  109. package/src/controller/ControlClasses/OcaTaskScheduler.d.ts +9 -6
  110. package/src/controller/ControlClasses/OcaTemperatureActuator.d.ts +4 -4
  111. package/src/controller/ControlClasses/OcaTemperatureSensor.d.ts +4 -4
  112. package/src/controller/ControlClasses/OcaTimeIntervalSensor.d.ts +4 -4
  113. package/src/controller/ControlClasses/OcaTimeSource.d.ts +7 -7
  114. package/src/controller/ControlClasses/OcaUint16Actuator.d.ts +4 -4
  115. package/src/controller/ControlClasses/OcaUint16Sensor.d.ts +4 -4
  116. package/src/controller/ControlClasses/OcaUint32Actuator.d.ts +4 -4
  117. package/src/controller/ControlClasses/OcaUint32Sensor.d.ts +4 -4
  118. package/src/controller/ControlClasses/OcaUint64Actuator.d.ts +4 -4
  119. package/src/controller/ControlClasses/OcaUint64Sensor.d.ts +4 -4
  120. package/src/controller/ControlClasses/OcaUint8Actuator.d.ts +4 -4
  121. package/src/controller/ControlClasses/OcaUint8Sensor.d.ts +4 -4
  122. package/src/controller/ControlClasses/OcaVoltageSensor.d.ts +4 -4
  123. package/src/controller/ControlClasses/OcaWorker.d.ts +8 -8
  124. package/src/controller/ControlClasses.d.ts +220 -185
  125. package/src/controller/ControlClasses.js +199 -164
  126. package/src/controller/client_connection.d.ts +1 -1
  127. package/src/controller/fetch_device_content.d.ts +1 -1
  128. package/src/controller/object_base.d.ts +2 -2
  129. package/src/controller/remote_device.d.ts +19 -19
  130. package/src/controller/remote_error.d.ts +1 -1
  131. package/src/controller/udp_connection.d.ts +1 -1
  132. package/src/controller/websocket_connection.d.ts +1 -1
  133. package/src/controller/websocket_connection_base.d.ts +1 -1
  134. package/src/controller/websocket_connection_node.d.ts +1 -1
  135. package/src/events.d.ts +5 -5
  136. package/src/index.browser.d.ts +2 -2
  137. package/src/index.d.ts +4 -4
  138. package/src/index.default.d.ts +20 -20
  139. package/src/types/OcaActionObjectSearchResult.d.ts +1 -1
  140. package/src/types/OcaBlockMember.d.ts +1 -1
  141. package/src/types/OcaCommand.d.ts +1 -1
  142. package/src/types/OcaCommandResult.d.ts +1 -1
  143. package/src/types/OcaCommandSetResult.d.ts +5 -2
  144. package/src/types/OcaConstructionParameter.d.ts +1 -1
  145. package/src/types/OcaCounterNotifierFilterParameters.d.ts +1 -1
  146. package/src/types/OcaCounterSet.d.ts +1 -1
  147. package/src/types/OcaCounterUpdateEventData.d.ts +1 -1
  148. package/src/types/OcaDatasetSearchResult.d.ts +1 -1
  149. package/src/types/OcaDelayValue.d.ts +1 -1
  150. package/src/types/OcaDeviceOperationalState.d.ts +1 -1
  151. package/src/types/OcaEvent.d.ts +1 -1
  152. package/src/types/OcaGroupException.d.ts +2 -2
  153. package/src/types/OcaGrouperCitizen.d.ts +1 -1
  154. package/src/types/OcaGrouperStatusChangeEventData.d.ts +1 -1
  155. package/src/types/OcaIP4NetworkSettings.d.ts +2 -2
  156. package/src/types/OcaIP6NetworkSettings.d.ts +2 -2
  157. package/src/types/OcaJobDisposedEventData.d.ts +2 -2
  158. package/src/types/OcaJobQueueItem.d.ts +3 -3
  159. package/src/types/OcaLibraryIdentifier.d.ts +1 -1
  160. package/src/types/OcaLogFilter.d.ts +2 -2
  161. package/src/types/OcaLogRecord.d.ts +1 -1
  162. package/src/types/OcaMatrixCommand.d.ts +2 -2
  163. package/src/types/OcaMediaConnection.d.ts +1 -1
  164. package/src/types/OcaMediaConnectorStatus.d.ts +1 -1
  165. package/src/types/OcaMediaSinkConnector.d.ts +6 -3
  166. package/src/types/OcaMediaSinkConnectorChangedEventData.d.ts +3 -3
  167. package/src/types/OcaMediaSourceConnector.d.ts +6 -3
  168. package/src/types/OcaMediaSourceConnectorChangedEventData.d.ts +3 -3
  169. package/src/types/OcaMediaStreamEndpoint.d.ts +8 -5
  170. package/src/types/OcaMediaStreamEndpointStatus.d.ts +1 -1
  171. package/src/types/OcaMediaStreamMode.d.ts +1 -1
  172. package/src/types/OcaMediaStreamModeCapability.d.ts +3 -3
  173. package/src/types/OcaMediaTransportSession.d.ts +2 -2
  174. package/src/types/OcaMediaTransportSessionConnectionState.d.ts +1 -1
  175. package/src/types/OcaMediaTransportSessionStatus.d.ts +1 -1
  176. package/src/types/OcaMediaVolumePosition.d.ts +1 -1
  177. package/src/types/OcaMethod.d.ts +1 -1
  178. package/src/types/OcaNetworkAdvertisingMechanism.d.ts +1 -1
  179. package/src/types/OcaNetworkInterfaceAssignment.d.ts +1 -1
  180. package/src/types/OcaNetworkInterfaceStatus.d.ts +1 -1
  181. package/src/types/OcaObjectIdentification.d.ts +1 -1
  182. package/src/types/OcaPort.d.ts +1 -1
  183. package/src/types/OcaPortClockMapEntry.d.ts +1 -1
  184. package/src/types/OcaPortID.d.ts +1 -1
  185. package/src/types/OcaPortIdentification.d.ts +1 -1
  186. package/src/types/OcaPositionDescriptor.d.ts +2 -2
  187. package/src/types/OcaProgramResult.d.ts +5 -2
  188. package/src/types/OcaProperty.d.ts +1 -1
  189. package/src/types/OcaPropertyDescriptor.d.ts +3 -3
  190. package/src/types/OcaProtoObjectIdentification.d.ts +1 -1
  191. package/src/types/OcaProtoPort.d.ts +1 -1
  192. package/src/types/OcaProtoPortClockMapEntry.d.ts +1 -1
  193. package/src/types/OcaProtoSignalPath.d.ts +1 -1
  194. package/src/types/OcaSignalPath.d.ts +1 -1
  195. package/src/types/OcaStream.d.ts +3 -3
  196. package/src/types/OcaTask.d.ts +3 -3
  197. package/src/types/OcaTaskExecutionTerminatedEventData.d.ts +3 -3
  198. package/src/types/OcaTaskOperationalState.d.ts +2 -2
  199. package/src/types/OcaTaskStatus.d.ts +1 -1
  200. package/src/types/OcaTaskStatusChangedEventData.d.ts +2 -2
  201. package/src/types/OcaVersion.d.ts +1 -1
  202. package/src/types/OcaWhenPhysicalAbsolute.d.ts +1 -1
  203. package/src/types/OcaWhenPhysicalRelative.d.ts +1 -1
  204. package/src/types.d.ts +200 -0
  205. package/src/types.js +87 -19
  206. package/src/controller/ControlClasses/OcaBlockFactory.d.ts +0 -198
  207. package/src/controller/ControlClasses/OcaBlockFactory.js +0 -221
  208. package/src/controller/ControlClasses/OcaEventHandler.d.ts +0 -27
  209. package/src/controller/ControlClasses/OcaEventHandler.js +0 -34
  210. package/src/controller/ControlClasses/OcaLibrary.d.ts +0 -148
  211. package/src/controller/ControlClasses/OcaLibrary.js +0 -162
  212. package/src/types/OcaClassAuthorityID.d.ts +0 -54
  213. package/src/types/OcaClassAuthorityID.js +0 -30
  214. package/src/types/OcaClassID.js +0 -22
  215. package/src/types/OcaEnumItem.d.ts +0 -25
  216. package/src/types/OcaEnumItem.js +0 -17
  217. package/src/types/OcaEnumItem16.d.ts +0 -25
  218. package/src/types/OcaEnumItem16.js +0 -17
  219. package/src/types/OcaLibAccess.d.ts +0 -56
  220. package/src/types/OcaLibAccess.js +0 -44
  221. package/src/types/OcaLibParamSetAssignment.d.ts +0 -43
  222. package/src/types/OcaLibParamSetAssignment.js +0 -23
  223. package/src/types/OcaLibVol.d.ts +0 -39
  224. package/src/types/OcaLibVol.js +0 -23
  225. package/src/types/OcaLibVolChangedEventData.d.ts +0 -43
  226. package/src/types/OcaLibVolChangedEventData.js +0 -23
  227. package/src/types/OcaLibVolMetadata.d.ts +0 -95
  228. package/src/types/OcaLibVolMetadata.js +0 -42
  229. package/src/types/OcaLibVolStandardTypeID.d.ts +0 -56
  230. package/src/types/OcaLibVolStandardTypeID.js +0 -44
  231. package/src/types/OcaMediaConnectorStatusChangedEventData.d.ts +0 -29
  232. package/src/types/OcaMediaConnectorStatusChangedEventData.js +0 -16
  233. package/src/types/OcaNetworkSystemInterfaceDescriptor.d.ts +0 -42
  234. package/src/types/OcaNetworkSystemInterfaceDescriptor.js +0 -23
  235. package/src/types/OcaPilotToneDetectorSpec.d.ts +0 -51
  236. package/src/types/OcaPilotToneDetectorSpec.js +0 -27
  237. package/src/types/OcaProtoPortID.d.ts +0 -40
  238. package/src/types/OcaProtoPortID.js +0 -24
  239. package/src/types/OcaTaskStateChangedEventData.d.ts +0 -60
  240. package/src/types/OcaTaskStateChangedEventData.js +0 -27
  241. package/src/types/OcaTimeProtocol.d.ts +0 -92
  242. package/src/types/OcaTimeProtocol.js +0 -92
@@ -1,162 +0,0 @@
1
- import { OcaLibAccess } from '../../OCP1/OcaLibAccess.js';
2
- import { OcaLibVol } from '../../OCP1/OcaLibVol.js';
3
- import { OcaLibVolChangedEventData } from '../../OCP1/OcaLibVolChangedEventData.js';
4
- import { OcaLibVolType } from '../../OCP1/OcaLibVolType.js';
5
- import { OcaMap } from '../../OCP1/OcaMap.js';
6
- import { OcaUint16 } from '../../OCP1/OcaUint16.js';
7
- import { OcaUint32 } from '../../OCP1/OcaUint32.js';
8
- import { make_control_class } from '../make_control_class.js';
9
- import { OcaAgent } from './OcaAgent.js';
10
-
11
- /**
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.
28
- * @extends OcaAgent
29
- * @class OcaLibrary
30
- */
31
- export const OcaLibrary = make_control_class(
32
- 'OcaLibrary',
33
- 3,
34
- '\u0001\u0002\u0005',
35
- 2,
36
- OcaAgent,
37
- [
38
- ['AddVolume', 3, 1, [OcaLibVol], [OcaUint32]],
39
- ['ReplaceVolume', 3, 2, [OcaUint32, OcaLibVol], []],
40
- ['DeleteVolume', 3, 3, [OcaUint32], []],
41
- ['GetVolume', 3, 4, [OcaUint32], [OcaLibVol]],
42
- ['GetVolumeCount', 3, 5, [], [OcaUint16]],
43
- ['GetVolumes', 3, 6, [], [OcaMap(OcaUint32, OcaLibVol)]],
44
- ['GetAccess', 3, 7, [], [OcaLibAccess]],
45
- ['SetAccess', 3, 8, [OcaLibAccess], []],
46
- ],
47
- [
48
- ['VolumeType', [OcaLibVolType], 3, 1, false, false, null],
49
- ['Access', [OcaLibAccess], 3, 2, false, false, null],
50
- ['Volumes', [OcaMap(OcaUint32, OcaLibVol)], 3, 3, false, false, null],
51
- ],
52
- [['OcaLibVolChanged', 3, 1, [OcaLibVolChangedEventData]]]
53
- );
54
-
55
- /**
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.
60
- *
61
- * @method OcaLibrary#AddVolume
62
- * @param {IOcaLibVol} Volume
63
- *
64
- * @returns {Promise<number>}
65
- * A promise which resolves to a single value of type ``number``.
66
- */
67
- /**
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.
72
- *
73
- * @method OcaLibrary#ReplaceVolume
74
- * @param {number} ID
75
- * @param {IOcaLibVol} Volume
76
- *
77
- * @returns {Promise<void>}
78
- */
79
- /**
80
- * Deletes a volume from the library. The return value indicates whether the
81
- * group was successfully deleted.
82
- *
83
- * @method OcaLibrary#DeleteVolume
84
- * @param {number} ID
85
- *
86
- * @returns {Promise<void>}
87
- */
88
- /**
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.
92
- *
93
- * @method OcaLibrary#GetVolume
94
- * @param {number} ID
95
- *
96
- * @returns {Promise<OcaLibVol>}
97
- * A promise which resolves to a single value of type :class:`OcaLibVol`.
98
- */
99
- /**
100
- * Gets the count of volumes in this library. The return value indicates whether
101
- * the count was successfully retrieved.
102
- *
103
- * @method OcaLibrary#GetVolumeCount
104
- * @returns {Promise<number>}
105
- * A promise which resolves to a single value of type ``number``.
106
- */
107
- /**
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.
111
- *
112
- * @method OcaLibrary#GetVolumes
113
- * @returns {Promise<Map<number, OcaLibVol>>}
114
- * A promise which resolves to a single value of type ``Map<number, OcaLibVol>``.
115
- */
116
- /**
117
- * Gets allowed access mode for this library. The return value indicates whether
118
- * the property was successfully retrieved.
119
- *
120
- * @method OcaLibrary#GetAccess
121
- * @returns {Promise<OcaLibAccess>}
122
- * A promise which resolves to a single value of type :class:`OcaLibAccess`.
123
- */
124
- /**
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.
128
- *
129
- * @method OcaLibrary#SetAccess
130
- * @param {IOcaLibAccess} Access
131
- *
132
- * @returns {Promise<void>}
133
- */
134
- /**
135
- * Event that is raised whenever private property **Volumes** changes. Added in
136
- * OcaLibrary Version 2.
137
- * @member OcaLibrary#OnOcaLibVolChanged {Event}
138
- */
139
- /**
140
- * This event is emitted when the property ``VolumeType`` changes in the remote object.
141
- * The property ``VolumeType`` is described in the AES70 standard as follows.
142
- * Type of library volumes:
143
- *
144
- * @member {PropertyEvent<OcaLibVolType>} OcaLibrary#OnVolumeTypeChanged
145
- */
146
- /**
147
- * This event is emitted when the property ``Access`` changes in the remote object.
148
- * The property ``Access`` is described in the AES70 standard as follows.
149
- * Readonly, read-expand, or full.
150
- *
151
- * @member {PropertyEvent<OcaLibAccess>} OcaLibrary#OnAccessChanged
152
- */
153
- /**
154
- * This event is emitted when the property ``Volumes`` changes in the remote object.
155
- * The property ``Volumes`` is described in the AES70 standard as follows.
156
- * Map of volumes held in the Library. Changed in version 2 because the
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.
160
- *
161
- * @member {PropertyEvent<Map<number, OcaLibVol>>} OcaLibrary#OnVolumesChanged
162
- */
@@ -1,54 +0,0 @@
1
- /*
2
- * This file has been generated.
3
- */
4
-
5
- export declare interface IOcaClassAuthorityID {
6
- /**
7
- * Sentinel signifying an Authority ID
8
- * @type number
9
- */
10
- Sentinel: number;
11
-
12
- /**
13
- * Reserved, must be zero.
14
- * @type number
15
- */
16
- Reserved: number;
17
-
18
- /**
19
- * Authority's IEEE public Company ID (public CID) or IEEE Organizational
20
- * Unique Identifier (OUI), or the value zero, which signifies the Authority
21
- * of this AES70 standard.
22
- * @type Uint8Array
23
- */
24
- OrganizationID: Uint8Array;
25
- }
26
-
27
- export declare class OcaClassAuthorityID implements IOcaClassAuthorityID {
28
- /**
29
- * Class authority identifier. Identifies the authority for a class's
30
- * definition.
31
- * @class OcaClassAuthorityID
32
- */
33
- constructor(Sentinel: number, Reserved: number, OrganizationID: Uint8Array);
34
-
35
- /**
36
- * Sentinel signifying an Authority ID
37
- * @type number
38
- */
39
- Sentinel: number;
40
-
41
- /**
42
- * Reserved, must be zero.
43
- * @type number
44
- */
45
- Reserved: number;
46
-
47
- /**
48
- * Authority's IEEE public Company ID (public CID) or IEEE Organizational
49
- * Unique Identifier (OUI), or the value zero, which signifies the Authority
50
- * of this AES70 standard.
51
- * @type Uint8Array
52
- */
53
- OrganizationID: Uint8Array;
54
- }
@@ -1,30 +0,0 @@
1
- /*
2
- * This file has been generated.
3
- */
4
-
5
- export class OcaClassAuthorityID {
6
- /**
7
- * Class authority identifier. Identifies the authority for a class's
8
- * definition.
9
- * @class OcaClassAuthorityID
10
- */
11
- constructor(Sentinel, Reserved, OrganizationID) {
12
- /**
13
- * Sentinel signifying an Authority ID
14
- * @type number
15
- */
16
- this.Sentinel = Sentinel;
17
- /**
18
- * Reserved, must be zero.
19
- * @type number
20
- */
21
- this.Reserved = Reserved;
22
- /**
23
- * Authority's IEEE public Company ID (public CID) or IEEE Organizational
24
- * Unique Identifier (OUI), or the value zero, which signifies the Authority
25
- * of this AES70 standard.
26
- * @type Uint8Array
27
- */
28
- this.OrganizationID = OrganizationID;
29
- }
30
- }
@@ -1,22 +0,0 @@
1
- /*
2
- * This file has been generated.
3
- */
4
-
5
- export class OcaClassID {
6
- /**
7
- * Class identifier : vector that describes the class's ancestry. The normative definition of the Class identifier is given in Part 1 of this standard, in the section entitled "Class identifiers". The UML definition given here is intended to be identical, but in the case of any discrepancy, Part 1 shall be definitive..
8
- * @class OcaClassID
9
- */
10
- constructor(FieldCount, Fields) {
11
- /**
12
- * Identifies the number of fields of the ClassID, i.e. the level of the class tree the class is in. For example if this field count is 3, the ClassID is of the form 'n.m.p'. The minimum field count is 1 (OcaRoot class). A field count of zero is invalid.
13
- * @type number
14
- */
15
- this.FieldCount = FieldCount;
16
- /**
17
- * Array of actual fields of the ClassID. The array has 'FieldCount' entries. If for example the field count is 3 and the Fields array has value {1, 2, 3} the ClassID is '1.2.3'.
18
- * @type FieldType
19
- */
20
- this.Fields = Fields;
21
- }
22
- }
@@ -1,25 +0,0 @@
1
- /*
2
- * This file has been generated.
3
- */
4
-
5
- export declare interface IOcaEnumItem {
6
- /**
7
- * This was not documented in the OCA standard.
8
- * @type number
9
- */
10
- Value: number;
11
- }
12
-
13
- export declare class OcaEnumItem implements IOcaEnumItem {
14
- /**
15
- * The datatype of an enumeration choice.
16
- * @class OcaEnumItem
17
- */
18
- constructor(Value: number);
19
-
20
- /**
21
- * This was not documented in the OCA standard.
22
- * @type number
23
- */
24
- Value: number;
25
- }
@@ -1,17 +0,0 @@
1
- /*
2
- * This file has been generated.
3
- */
4
-
5
- export class OcaEnumItem {
6
- /**
7
- * The datatype of an enumeration choice.
8
- * @class OcaEnumItem
9
- */
10
- constructor(Value) {
11
- /**
12
- * This was not documented in the OCA standard.
13
- * @type number
14
- */
15
- this.Value = Value;
16
- }
17
- }
@@ -1,25 +0,0 @@
1
- /*
2
- * This file has been generated.
3
- */
4
-
5
- export declare interface IOcaEnumItem16 {
6
- /**
7
- * This was not documented in the OCA standard.
8
- * @type number
9
- */
10
- Value: number;
11
- }
12
-
13
- export declare class OcaEnumItem16 implements IOcaEnumItem16 {
14
- /**
15
- * The datatype of an enumeration choice. Long format, used if normal 8-bit format isn't going to be big enough.
16
- * @class OcaEnumItem16
17
- */
18
- constructor(Value: number);
19
-
20
- /**
21
- * This was not documented in the OCA standard.
22
- * @type number
23
- */
24
- Value: number;
25
- }
@@ -1,17 +0,0 @@
1
- /*
2
- * This file has been generated.
3
- */
4
-
5
- export class OcaEnumItem16 {
6
- /**
7
- * The datatype of an enumeration choice. Long format, used if normal 8-bit format isn't going to be big enough.
8
- * @class OcaEnumItem16
9
- */
10
- constructor(Value) {
11
- /**
12
- * This was not documented in the OCA standard.
13
- * @type number
14
- */
15
- this.Value = Value;
16
- }
17
- }
@@ -1,56 +0,0 @@
1
- /*
2
- * This file has been generated.
3
- */
4
- /**
5
- * Library volume access modes
6
- * @class OcaLibAccess
7
- */
8
- export class OcaLibAccess {
9
- /**
10
- * Singleton object corresponding to the entry with value ``0``.
11
- */
12
- static None: OcaLibAccess;
13
- /**
14
- * Singleton object corresponding to the entry with value ``1``.
15
- */
16
- static ReadOnly: OcaLibAccess;
17
- /**
18
- * Singleton object corresponding to the entry with value ``2``.
19
- */
20
- static ReadExpand: OcaLibAccess;
21
- /**
22
- * Singleton object corresponding to the entry with value ``3``.
23
- */
24
- static Full: OcaLibAccess;
25
-
26
- /**
27
- * Returns the numeric value of this enum entry.
28
- */
29
- valueOf(): number;
30
-
31
- /**
32
- * Returns the string representation of this enum entry.
33
- */
34
- toString(): string;
35
-
36
- /**
37
- * Returns the name of an enum entry.
38
- */
39
- static getName(value: number): string;
40
-
41
- /**
42
- * Returns the value of an enum entry name.
43
- */
44
- static getValue(name: string): number;
45
- }
46
-
47
- export type IOcaLibAccess =
48
- | OcaLibAccess
49
- | 'None'
50
- | 'ReadOnly'
51
- | 'ReadExpand'
52
- | 'Full'
53
- | 0
54
- | 1
55
- | 2
56
- | 3;
@@ -1,44 +0,0 @@
1
- /*
2
- * This file has been generated.
3
- */
4
- import { Enum } from './Enum.js';
5
-
6
- /**
7
- * Library volume access modes
8
- * @class OcaLibAccess
9
- */
10
- export class OcaLibAccess extends Enum({
11
- None: 0,
12
- ReadOnly: 1,
13
- ReadExpand: 2,
14
- Full: 3,
15
- }) {}
16
-
17
- /**
18
- * Singleton object corresponding to the entry with value ``0``.
19
- * @type {OcaLibAccess}
20
- * @member None
21
- * @memberof OcaLibAccess
22
- * @static
23
- */
24
- /**
25
- * Singleton object corresponding to the entry with value ``1``.
26
- * @type {OcaLibAccess}
27
- * @member ReadOnly
28
- * @memberof OcaLibAccess
29
- * @static
30
- */
31
- /**
32
- * Singleton object corresponding to the entry with value ``2``.
33
- * @type {OcaLibAccess}
34
- * @member ReadExpand
35
- * @memberof OcaLibAccess
36
- * @static
37
- */
38
- /**
39
- * Singleton object corresponding to the entry with value ``3``.
40
- * @type {OcaLibAccess}
41
- * @member Full
42
- * @memberof OcaLibAccess
43
- * @static
44
- */
@@ -1,43 +0,0 @@
1
- /*
2
- * This file has been generated.
3
- */
4
- import {
5
- IOcaLibVolIdentifier,
6
- OcaLibVolIdentifier,
7
- } from './OcaLibVolIdentifier';
8
-
9
- export declare interface IOcaLibParamSetAssignment {
10
- /**
11
- * Identifier of the library volume that holds the paramset.
12
- * @type OcaLibVolIdentifier
13
- */
14
- ParamSetIdentifier: IOcaLibVolIdentifier;
15
-
16
- /**
17
- * Object number of the block to which the paramset assignment applies.
18
- * @type number
19
- */
20
- TargetBlockONo: number;
21
- }
22
-
23
- export declare class OcaLibParamSetAssignment
24
- implements IOcaLibParamSetAssignment {
25
- /**
26
- * A ParamSet assigment is the description of a binding of a ParamSet to a
27
- * block instance.
28
- * @class OcaLibParamSetAssignment
29
- */
30
- constructor(ParamSetIdentifier: OcaLibVolIdentifier, TargetBlockONo: number);
31
-
32
- /**
33
- * Identifier of the library volume that holds the paramset.
34
- * @type OcaLibVolIdentifier
35
- */
36
- ParamSetIdentifier: OcaLibVolIdentifier;
37
-
38
- /**
39
- * Object number of the block to which the paramset assignment applies.
40
- * @type number
41
- */
42
- TargetBlockONo: number;
43
- }
@@ -1,23 +0,0 @@
1
- /*
2
- * This file has been generated.
3
- */
4
-
5
- export class OcaLibParamSetAssignment {
6
- /**
7
- * A ParamSet assigment is the description of a binding of a ParamSet to a
8
- * block instance.
9
- * @class OcaLibParamSetAssignment
10
- */
11
- constructor(ParamSetIdentifier, TargetBlockONo) {
12
- /**
13
- * Identifier of the library volume that holds the paramset.
14
- * @type OcaLibVolIdentifier
15
- */
16
- this.ParamSetIdentifier = ParamSetIdentifier;
17
- /**
18
- * Object number of the block to which the paramset assignment applies.
19
- * @type number
20
- */
21
- this.TargetBlockONo = TargetBlockONo;
22
- }
23
- }
@@ -1,39 +0,0 @@
1
- /*
2
- * This file has been generated.
3
- */
4
- import { IOcaLibVolMetadata, OcaLibVolMetadata } from './OcaLibVolMetadata';
5
-
6
- export declare interface IOcaLibVol {
7
- /**
8
- * Descriptor of library volume
9
- * @type OcaLibVolMetadata
10
- */
11
- Metadata: IOcaLibVolMetadata;
12
-
13
- /**
14
- * Contents of library volume. Type depends on template parameter.
15
- * @type Uint8Array
16
- */
17
- Data: Uint8Array;
18
- }
19
-
20
- export declare class OcaLibVol implements IOcaLibVol {
21
- /**
22
- * Library volume. template. Template parameter is datatype of the volume. See
23
- * **03 OcaLibrary** for explanation.
24
- * @class OcaLibVol
25
- */
26
- constructor(Metadata: OcaLibVolMetadata, Data: Uint8Array);
27
-
28
- /**
29
- * Descriptor of library volume
30
- * @type OcaLibVolMetadata
31
- */
32
- Metadata: OcaLibVolMetadata;
33
-
34
- /**
35
- * Contents of library volume. Type depends on template parameter.
36
- * @type Uint8Array
37
- */
38
- Data: Uint8Array;
39
- }
@@ -1,23 +0,0 @@
1
- /*
2
- * This file has been generated.
3
- */
4
-
5
- export class OcaLibVol {
6
- /**
7
- * Library volume. template. Template parameter is datatype of the volume. See
8
- * **03 OcaLibrary** for explanation.
9
- * @class OcaLibVol
10
- */
11
- constructor(Metadata, Data) {
12
- /**
13
- * Descriptor of library volume
14
- * @type OcaLibVolMetadata
15
- */
16
- this.Metadata = Metadata;
17
- /**
18
- * Contents of library volume. Type depends on template parameter.
19
- * @type Uint8Array
20
- */
21
- this.Data = Data;
22
- }
23
- }
@@ -1,43 +0,0 @@
1
- /*
2
- * This file has been generated.
3
- */
4
- import {
5
- IOcaPropertyChangeType,
6
- OcaPropertyChangeType,
7
- } from './OcaPropertyChangeType';
8
-
9
- export declare interface IOcaLibVolChangedEventData {
10
- /**
11
- * ID of library volume that changed.
12
- * @type number
13
- */
14
- VolumeID: number;
15
-
16
- /**
17
- * Type of change : Will be either itemChanged, itemAdded, or itemDeleted.
18
- * @type OcaPropertyChangeType
19
- */
20
- ChangeType: IOcaPropertyChangeType;
21
- }
22
-
23
- export declare class OcaLibVolChangedEventData
24
- implements IOcaLibVolChangedEventData {
25
- /**
26
- * Event data for the **OcaLibVolChanged** event, which signals a change in an
27
- * **OcaLibrary.Volumes** property.
28
- * @class OcaLibVolChangedEventData
29
- */
30
- constructor(VolumeID: number, ChangeType: OcaPropertyChangeType);
31
-
32
- /**
33
- * ID of library volume that changed.
34
- * @type number
35
- */
36
- VolumeID: number;
37
-
38
- /**
39
- * Type of change : Will be either itemChanged, itemAdded, or itemDeleted.
40
- * @type OcaPropertyChangeType
41
- */
42
- ChangeType: OcaPropertyChangeType;
43
- }
@@ -1,23 +0,0 @@
1
- /*
2
- * This file has been generated.
3
- */
4
-
5
- export class OcaLibVolChangedEventData {
6
- /**
7
- * Event data for the **OcaLibVolChanged** event, which signals a change in an
8
- * **OcaLibrary.Volumes** property.
9
- * @class OcaLibVolChangedEventData
10
- */
11
- constructor(VolumeID, ChangeType) {
12
- /**
13
- * ID of library volume that changed.
14
- * @type number
15
- */
16
- this.VolumeID = VolumeID;
17
- /**
18
- * Type of change : Will be either itemChanged, itemAdded, or itemDeleted.
19
- * @type OcaPropertyChangeType
20
- */
21
- this.ChangeType = ChangeType;
22
- }
23
- }