5.16 Notification and discovery of state changes API

Clients can observe the state of component instances and might display this state to the user, so they need to know when the state is updated.

When a client calls a state-modifying function like resource_write() or memory_write() an IRIS_STATE_CHANGED event is automatically generated. The client does not need to generate it.

All clients register for IRIS_SIMULATION_TIME_EVENT. When this event is received with a value of RUNNING=False, this indicates that the simulation time has stopped progressing. Clients should then query all displayed state and update their views.

While the simulation time is stopped, clients can modify the state of component instances, for example by writing resources or memory. Other clients should register for IRIS_STATE_CHANGED events to get notification of these changes and update their views.

Non-ConfidentialPDF file icon PDF version101196_0100_03_en
Copyright © 2018, 2019 Arm Limited or its affiliates. All rights reserved.