1.1.1.5 OcaGain
Class Hierarchy:
OcaRoot → OcaWorker → OcaActuator → OcaGain
-
class OcaGain : OcaActuator
Gain (or attenuation) element.
Properties:
-
static const OcaClassID ClassID = "1.1.1.5"
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
4.1
.
-
static const OcaClassVersionNumber ClassVersion = 2
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
4.2
.
Properties inherited from OcaWorker:
OcaList<OcaPort> OcaWorker::Ports
OcaTimeInterval OcaWorker::Latency
Properties inherited from OcaRoot:
Methods:
-
OcaStatus GetGain(OcaDB &Gain, OcaDB &minGain, OcaDB &maxGain)
Gets the value and limits of the Gain property. The return value indicates whether the data was successfully retrieved.
This method has id
4.1
.- Parameters
OcaDB Gain – Output parameter.
OcaDB minGain – Output parameter.
OcaDB maxGain – Output parameter.
-
OcaStatus SetGain(OcaDB Gain)
Sets the value of the Gain property. The return value indicates whether the property was successfully set.
This method has id
4.2
.- Parameters
OcaDB Gain – Input parameter.
Methods inherited from OcaWorker:
Methods inherited from OcaRoot:
-
static const OcaClassID ClassID = "1.1.1.5"