subscribe_tracker is called to make mapper receive
updates for entities of tracker. When such an update occurs, the
function tracker_updated in interface
osa_mapper_admin will be called.
unsubscribe_tracker cancels a subscription of entity updates to mapper> that was started by subscribe_tracker for the specified tracker. A tracker without guest trackers does not need to call this, as it will be automatically done when the framework is disabled. However, a tracker with guest trackers, must call this function when a guest is removed.
SIM_INTERFACE(osa_tracker_state_notification) {
void (*subscribe_tracker)(conf_object_t *NOTNULL obj,
conf_object_t *NOTNULL mapper,
conf_object_t *NOTNULL tracker);
void (*unsubscribe_tracker)(conf_object_t *NOTNULL obj,
conf_object_t *NOTNULL mapper,
conf_object_t *NOTNULL tracker);
};
#define OSA_TRACKER_STATE_NOTIFICATION_INTERFACE \
"osa_tracker_state_notification"