osa_tracker_state_admin osa_tracker_state_query
API Reference Manual  /  7 Simulator-to-Simulator Interfaces  / 

osa_tracker_state_notification

Description

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"

Execution Context
Cell Context for all methods.

osa_tracker_state_admin osa_tracker_state_query