probe_array probe_sampler_cache
API Reference Manual  /  7 Simulator-to-Simulator Interfaces  / 

probe_index

Description
This interface is similar to the probe interface, except that the indexed version allows multiple probes to be defined with a single interface. The same index corresponds to the same probe for value and properties methods. The amount of probes that the interfaces supports is returned through the num_indices() method, which should be static.

SIM_INTERFACE(probe_index) {
        int (*num_indices)(conf_object_t *obj);
        attr_value_t (*value)(conf_object_t *obj, int idx);
        attr_value_t (*properties)(conf_object_t *obj, int idx);
};
#define PROBE_INDEX_INTERFACE "probe_index"

Execution Context
Global Context for all methods.

probe_array probe_sampler_cache