osa_tracker_state_notification preference
API Reference Manual  /  7 Simulator-to-Simulator Interfaces  / 

osa_tracker_state_query

Description

get_trackers is deprecated, should not be used.

get_entities returns a dictionary of entities that are stored for tracker. The dictionary maps entity id to properties, which in turn is a dictionary, mapping property name to property value. Returns nil if tracker is not known.

get_entity returns the properties for the given entity id and tracker, as a dictionary that maps property name to property value. Returns nil if the entity can not be found.

SIM_INTERFACE(osa_tracker_state_query) {
        attr_value_t (*get_trackers)(conf_object_t *NOTNULL obj);
        attr_value_t (*get_entities)(conf_object_t *NOTNULL obj,
                                     conf_object_t *NOTNULL tracker);
        attr_value_t (*get_entity)(conf_object_t *NOTNULL obj,
                                   conf_object_t *NOTNULL tracker,
                                   entity_id_t id);
};

#define OSA_TRACKER_STATE_QUERY_INTERFACE "osa_tracker_state_query"

Execution Context
Cell Context for all methods.

osa_tracker_state_notification preference