callback_info co_execute
API Reference Manual  /  5 Model-to-Simulator Interfaces  / 

cell_inspection

Description
The cell_inspection interface is implemented by objects of the cell class. It is used by objects implementing the execute interface to update the currently executing objects when control is transferred outside of the execute object.

The current object implementing processor_info is set with set_current_processor_obj(). Similarly, the current object implementing step is set with set_current_step_obj().

SIM_INTERFACE(cell_inspection) {
        void (*set_current_processor_obj)(conf_object_t *obj,
                                          conf_object_t *cpu_obj);
        void (*set_current_step_obj)(conf_object_t *obj,
                                     conf_object_t *step_obj);
};

#define CELL_INSPECTION_INTERFACE "cell_inspection"

Execution Context
Cell Context for all methods.

callback_info co_execute