Type Alias simics_api_sys::attribute_id_t

source ·
pub type attribute_id_t = monitored_attribute;
Expand description

This is a collection of API calls that allows a customized connection between frontend extensions and custom target modules.

The function register_monitored_attribute should be called by an object that wishes to communicate the value of an attribute to a frontend plug-in. The attr_obj and attr_name parameters indicate the attribute to communicate. The function returns a handle that will be used to refer to this instance of the attribute. The function should be called before the object is configured, typically from the finalize_instance method.

After an object has registered an attribute with register_monitored_attribute, the object should call the function monitored_attribute_changed with the returned attribute ID whenever the value of that attribute changes, including from the attribute setter.

Aliased Type§

struct attribute_id_t {
    _unused: [u8; 0],
}

Fields§

§_unused: [u8; 0]