5.3 instId argument

An instId argument occurs in many different functions. In all cases, it defines the instance that a function call is sent to. It has a similar role to the this pointer in C++ and the self argument in Python.

For example, when the global instance receives the function call:

func(name="foo", instId=42, value=-1, bar=[1, "2", True])

it can infer that this function call must be sent to the instance with id 42, without knowing what func() does, or whether the instance supports func() at all.

The instId argument is used in a function-independent way by the following framework instances:

  • The global instance uses instId to determine which connected component, plug-in, or Iris server it should route a function call to. It does this for all calls, no matter where they come from.
  • The Iris server uses instId to select the connection, and therefore the client, that a function call should be sent to.
Non-ConfidentialPDF file icon PDF version101196_0100_03_en
Copyright © 2018, 2019 Arm Limited or its affiliates. All rights reserved.