Counter Datatypes

OcaCounter

struct OcaCounter

A general-purpose Counter. See [AES70-1(Counters and Countersets)].

OcaID16 ID

Counter identifier. Unique within enclosing Counterset.

OcaUint64 Value

The count.

OcaUint64 InitialValue

Value that a reset sets in the Counter.

OcaString Role

Readonly name of Counter’s function in context. Values beginning with “oca” in any character case shall be reserved for AES use.

OcaList<OcaONo> Notifiers

List of ONos of Notifiers attached to this Counter. May be empty.

OcaCounterSet

struct OcaCounterSet

A set of Counters

OcaCounterSetID ID

Nonvolatile, unique identifier of this Counterset within this Device.

OcaList<OcaCounter> Counters

List of Counters in this Counterset.

OcaCounterSetID

using OcaCounterSetID = OcaBlob

Nonvolatile, unique identifier of a Counterset within a Device

OcaCounterNotifierFilterParameters

struct OcaCounterNotifierFilterParameters

Filter parameters for OcaCountersetNotifier.

OcaUint64 Threshold

Threshold comparison value. If Operator is zero, no threshold test is performed. See description of class OcaCounterNotifier.

OcaRelationalOperator Operator

Type of threshold comparison. See description of class OcaCounterNotifier.

OcaTimeInterval Period

Period for periodic updates, in seconds. Zero value means no periodic updates. See description of class OcaCounterNotifier.

OcaUint64 CountDelta

Count increment for “every-n-counts” updates. Absolute value, applies when counter changes by +n or -n. Zero value means no “every-n” notifications. See description of class OcaCounterNotifier.

OcaCounterUpdate

struct OcaCounterUpdate

Descriptor of a Counter update, used by OcaCounterNotifier, in its CounterUpdate() event and its GetLastUpdate() method.

OcaCounterSetID CounterSetID

Identifies Counterset within Device.

OcaID16 CounterID

Identifies Counter within Counterset.

OcaUint64 Value

The Counter’s value.