What data structures are used to store an application's Type of Service attribute application configuration node?
What data structures are used to store an application's Type of Service attribute application configuration node?
The applications descriptors (which contain the attribute configuration for each application) are stored in a global database.- Open the process model application_config.pr.m (this is the process model of the application configuration object where the applications are defined)- In the function block, look at the function: gna_application_parser ()- In this function, you will see that it parses each application and stores the descriptor in a global table using:oms_data_def_entry_insert (Application Descriptions, application_desc_ptr->application_name_ptr, application_desc_ptr);You can access the descriptors at any time using:application_desc_ptr = oms_data_def_entry_access (Application Descriptions, application_name);The Type of Service attribute can be accessed by -tos = application_desc_ptr->application_desc_ptr->tos;The oms_data_def function declarations are in <release_dir>/models/std/include/oms_data_def.h
Application Modeling->Other