Miscellaneous Framework Datatypes
OcaIODirection
OcaAdaptationData
-
using OcaAdaptationData = OcaBlob
Adaptation-specific data. Typedef of OcaBlob; actual format and contents depend on the Adaptation. This datatype is equivalent to an OcaBlob. OcaBlobs are containers for contextually-dependent data. Adaptations shall assemble this data inside the OcaBlob according to a set of marshalling rules. In theory, any set of marshaling rules could be used. In practice, it is recommended that applications use the marshaling rules of OCP.1, the AES70 binary protocol standardized in [AES70-3].
OcaUnitOfMeasure
-
enum OcaUnitOfMeasure : uint8_t
Enumeration of units of measure that can be used in OCA classes. Only SI (base or derived) units are specified, so that internal calculations will not need to convert. If conversion is needed it should only be done in user interfaces. The datatype of a reading expressed in one of these units of measure is FLOAT.
-
enumerator Ampere = 4
Electric current in Amperes.
-
enumerator DegreeCelsius = 2
Temperature in degree Celsius.
-
enumerator Hertz = 1
Frequency in Hertz.
-
enumerator None = 0
No reading.
-
enumerator Ohm = 5
Resistance, magnitude of reactance, or magnitude of impedance in Ohms.
-
enumerator Volt = 3
Voltage in Volts.
-
enumerator Ampere = 4