1.1.2.2.1 OcaAudioLevelSensor

Class Hirarchy:

OcaRootOcaWorkerOcaSensorOcaLevelSensorOcaAudioLevelSensor

class OcaAudioLevelSensor : OcaLevelSensor

Child of OcaLevelSensor that returns an audio meter reading in dB relative to a known reference level, and whose value has been calculated by the selected averaging algorithm.

Properties:

OcaClassID ClassID

Number that uniquely identifies the class. Note that this differs from the object number, which identifies the instantiated object. This property is an override of the OcaRoot property.

This property has id 5.1.

OcaClassVersionNumber ClassVersion

Identifies the interface version of the class. Any change to the class definition leads to a higher class version. This property is an override of the OcaRoot property.

This property has id 5.2.

OcaLevelMeterLaw Law

Enum that defines metering algorithm, including averaging characteristics and, in some cases, reference level. Readonly in some objects.

This property has id 5.1.

Properties inherited from OcaLevelSensor:

Properties inherited from OcaSensor:

Properties inherited from OcaWorker:

Properties inherited from OcaRoot:

Methods:

OcaStatus GetLaw(OcaLevelMeterLaw &law)

Gets the value of the Law property. The return value indicates whether the property was successfully retrieved.

This method has id 5.1.

Parameters

OcaLevelMeterLaw law – Output parameter.

OcaStatus SetLaw(OcaLevelMeterLaw law)

Sets the value of the Law property. The return value indicates whether the property was successfully set. Only implemented for objects whose Law property is read/write.

This method has id 5.2.

Parameters

OcaLevelMeterLaw law – Input parameter.

Methods inherited from OcaLevelSensor:

Methods inherited from OcaSensor:

Methods inherited from OcaWorker:

Methods inherited from OcaRoot: