Index

Data Type OcaPropertyChangedEventData

extends OcaEventData

Template class that defines the event data parameter for events that return property values, such as the PropertyChanged event defined in OcaRoot, and the PeriodicObservation event define in OcaNumericObserver. The template parameter is the datatype of the changed property.

Properties

OcaPropertyID PropertyID

The property ID of the property that has changed.

DataType PropertyValue

New value of property. Type of property value parameter is defined by template parameter DataType. In the case of list and map properties with datatypes such as OcaList, OcaList2D, OcaMap, and OcaMultiMap, the entire list or map shall be returned when any of its elements changes.

OcaPropertyChangeType ChangeType

Type of change : Current value, Min, Max, Item changed, Item added, Item deleted

OCP.1 Encoding

FieldBasic typeByte Length
Event.EmitterONo.ONoOcaUint324
Event.EventID.DefLevelOcaUint162
Event.EventID.EventIndexOcaUint162
PropertyID.DefLevelOcaUint162
PropertyID.PropertyIndexOcaUint162
PropertyValueDataTypevariable
ChangeTypeOcaEnumItem1