Internal Model Access
Function List
The Internal Model Access package contains the following KPs.
- op_ima_obj_attr_exists() Determines whether an attribute is defined for the specified object.
- op_ima_obj_attr_get() Obtains the value of an attribute in the specified object.
- op_ima_obj_attr_get_color() Obtains the value of a color attribute in the specified object.
- op_ima_obj_attr_get_dbl() Obtains the value of a double attribute in the specified object.
- op_ima_obj_attr_get_int32() Obtains the value of an integer attribute in the specified object.
- op_ima_obj_attr_get_objid() Obtains the object ID of a compound attribute in the specified object.
- op_ima_obj_attr_get_str() Obtains the value of a string attribute in the specified object.
- op_ima_obj_attr_get_str_sized() Obtains the value of a string attribute in the specified object, using a sized buffer.
- op_ima_obj_attr_get_toggle() Obtains the value of a toggle attribute in the specified object.
- op_ima_obj_attr_set() Assigns the value of an attribute in the specified object.
- op_ima_obj_attr_set_color() Assigns the value of a color attribute in the specified object.
- op_ima_obj_attr_set_dbl() Assigns the value of a double attribute in the specified object.
- op_ima_obj_attr_set_int32() Assigns the value of an integer attribute in the specified object.
- op_ima_obj_attr_set_objid() Assigns the object ID of a compound attribute in the specified object.
- op_ima_obj_attr_set_str() Assigns the value of a string attribute in the specified object.
- op_ima_obj_attr_set_toggle() Assigns the value of a toggle attribute in the specified object.
- op_ima_obj_command() Executes a command supported by the specified object.
- op_ima_obj_event_notify() Enables link and transmitter-channel objects to be directly notified of certain events.
- op_ima_obj_hname_get() Generates the hierarchical name of an object.
- op_ima_obj_pos_get() Obtains the values of a site (node or subnetwork) object’s global position-related attributes for the current simulation time.
- op_ima_obj_pos_get_time() Obtains the values of a site (node or subnetwork) object’s global position-related attributes for the current simulation time or extrapolates their values for a future simulation time.
- op_ima_obj_pos_notification_register() Enables process models to be notified whenever a site moves.
- op_ima_obj_pos_query_proc_set() Sets a callback to return the position of a mobile site that is not following a trajectory or vector.
- op_ima_obj_pos_set_geocentric() Sets the position of a mobile site in the geocentric coordinate system.
- op_ima_obj_pos_set_geodetic() Sets the position of a mobile site in the geodetic coordinate system.
- op_ima_obj_selfdesc_characteristic_get() Obtains self-description information for a node, link, path, or demand model.
- op_ima_obj_state_get()
Obtains a structure or value that has been set on an object using the KP
op_ima_obj_state_set(). - op_ima_obj_state_set()
Attaches a structure or value to an object that can be retrieved with the KP
op_ima_obj_state_get(). - op_ima_obj_svar_get() Obtains a pointer to a state variable within the specified object (a processor or queue).
- op_ima_sim_attr_exists() Determines whether a simulation attribute value is defined in the environment of a simulation.
- op_ima_sim_attr_get() Obtains the value of a simulation attribute.
- op_ima_sim_attr_get_color() Obtains the value of a color simulation attribute.
- op_ima_sim_attr_get_dbl() Obtains the value of a double simulation attribute.
- op_ima_sim_attr_get_int32() Obtains the value of an integer simulation attribute.
- op_ima_sim_attr_get_str() Obtains the value of a string simulation attribute.
- op_ima_sim_attr_get_str_sized() Obtains the value of a string simulation attribute, using a sized buffer.
- op_ima_traj_info_get() Returns the ground speed and ascent rate of a site in the trajectory segment corresponding to a given time, and the time until which the site will have those speeds.
- op_ima_traj_remaining_duration_get() Obtains the time remaining until a specified object reaches the end of the trajectory it is following.
- op_ima_traj_set() Sets the trajectory for an object.
- op_ima_traj_speed_set() Sets the speed at which a specified object follows its trajectory.
See Package Overview for a general description of this KP package.