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"