File: Logging_Functional.h

    1   /*
    2    * Code generation for system model 'Logging_Functional'
    3    * For more details, see corresponding source file Logging_Functional.c
    4    *
    5    */
    6   #ifndef RTW_HEADER_Logging_Functional_h_
    7   #define RTW_HEADER_Logging_Functional_h_
    8   #ifndef Logging_Functional_COMMON_INCLUDES_
    9   # define Logging_Functional_COMMON_INCLUDES_
   10   #include <string.h>
   11   #include "rtwtypes.h"
   12   #include "rtw_continuous.h"
   13   #include "rtw_solver.h"
   14   #endif                                 /* Logging_Functional_COMMON_INCLUDES_ */
   15   
   16   #include "Logging_Functional_types.h"
   17   
   18   /* Block signals for model 'Logging_Functional' */
   19   typedef struct {
   20     uint8_T Log_Message_ID;
   21     uint8_T Log_Message_ID_e;
   22     uint8_T Log_Message_ID_eu;
   23     uint8_T Log_Message_ID_n;
   24     uint8_T Log_Message_ID_eue;
   25     uint8_T LOGGING_OUT_Log;             /* '<Root>/Log Sub-System' */
   26     boolean_T LOGGING_OUT_Logging_Failed;/* '<Root>/Log Sub-System' */
   27   } B_Logging_Functional_c_T;
   28   
   29   /* Block states (auto storage) for model 'Logging_Functional' */
   30   typedef struct {
   31     uint8_T is_active_c2_Logging_Functional;/* '<Root>/Log Sub-System' */
   32     uint8_T is_c2_Logging_Functional;    /* '<Root>/Log Sub-System' */
   33   } DW_Logging_Functional_f_T;
   34   
   35   /* Real-time Model Data Structure */
   36   struct tag_RTM_Logging_Functional_T {
   37     const char_T **errorStatus;
   38   };
   39   
   40   typedef struct {
   41     B_Logging_Functional_c_T rtb;
   42     DW_Logging_Functional_f_T rtdw;
   43     RT_MODEL_Logging_Functional_T rtm;
   44   } MdlrefDW_Logging_Functional_T;
   45   
   46   /* Model reference registration function */
   47   extern void Logging_Functional_initialize(const char_T **rt_errorStatus,
   48     RT_MODEL_Logging_Functional_T *const Logging_Functional_M,
   49     B_Logging_Functional_c_T *localB, DW_Logging_Functional_f_T *localDW);
   50   extern void Logging_Functional_Init(B_Logging_Functional_c_T *localB,
   51     DW_Logging_Functional_f_T *localDW);
   52   extern void Logging_Functional(const Top_Level_Mode_Outputs *rtu_TLM_MODE_IN,
   53     const Config_Outputs *rtu_CONFIG_IN, const Alarm_Outputs *rtu_ALARM_IN, const
   54     System_Status_Outputs *rtu_SYS_STAT_IN, const Infusion_Manager_Outputs
   55     *rtu_IM_IN, Log_Output *rty_LOG_OUT, B_Logging_Functional_c_T *localB,
   56     DW_Logging_Functional_f_T *localDW);
   57   
   58   /*-
   59    * The generated code includes comments that allow you to trace directly
   60    * back to the appropriate location in the model.  The basic format
   61    * is <system>/block_name, where system is the system number (uniquely
   62    * assigned by Simulink) and block_name is the name of the block.
   63    *
   64    * Use the MATLAB hilite_system command to trace the generated code back
   65    * to the model.  For example,
   66    *
   67    * hilite_system('<S3>')    - opens system 3
   68    * hilite_system('<S3>/Kp') - opens and selects block Kp which resides in S3
   69    *
   70    * Here is the system hierarchy for this model
   71    *
   72    * '<Root>' : 'Logging_Functional'
   73    * '<S1>'   : 'Logging_Functional/Log Sub-System'
   74    */
   75   #endif                                 /* RTW_HEADER_Logging_Functional_h_ */
   76