instrumentation_filter_master instrumentation_filter_status
API Reference Manual  /  7 Simulator-to-Simulator Interfaces  / 

instrumentation_filter_slave

Description
This interface is implemented by the instrumentation_filter_aggregator class objects, here referred to as "aggregator". The interface should be called by instrumentation filters to enable or disable a connection. The aggregator object is located between the filters and the connection, keeping the connections unaware of multiple filters that might be disabling them.

The disable method tells the aggregator that the unique source_id currently wants to disable the connection. As long as there is one source_id that is disabled, the connection is disabled. Only when all sources are enabled the connection is enabled.

Similarly, the enable enables the connection. That is, the filter is now in a state when it thinks the connection should be enabled.

SIM_INTERFACE(instrumentation_filter_slave) {
        void (*disable)(conf_object_t *obj, unsigned source_id);
        void (*enable)(conf_object_t *obj, unsigned source_id);
};
#define INSTRUMENTATION_FILTER_SLAVE_INTERFACE "instrumentation_filter_slave"

Execution Context
Cell Context for all methods.

instrumentation_filter_master instrumentation_filter_status