1.1.2 OcaSensor

Class Hirarchy:

OcaRootOcaWorkerOcaSensor

class OcaSensor : OcaWorker

Abstract base class for all sensor classes.

Properties:

OcaClassID ClassID

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

This property has id 3.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 3.2.

OcaSensorReadingState ReadingState

Enum that describes whether current reading value is valid and if not, why not. Readonly.

This property has id 3.1.

Properties inherited from OcaWorker:

Properties inherited from OcaRoot:

Methods:

OcaStatus GetReadingState(OcaSensorReadingState &state)

Gets the current reading state of the sensor. The return value indicates whether the state was successfully retrived.

This method has id 3.1.

Parameters

OcaSensorReadingState state – Output parameter.

Methods inherited from OcaWorker:

Methods inherited from OcaRoot: