File: SYS_STATS_Functional.h

    1   /*
    2    * Code generation for system model 'SYS_STATS_Functional'
    3    * For more details, see corresponding source file SYS_STATS_Functional.c
    4    *
    5    */
    6   #ifndef RTW_HEADER_SYS_STATS_Functional_h_
    7   #define RTW_HEADER_SYS_STATS_Functional_h_
    8   #ifndef SYS_STATS_Functional_COMMON_INCLUDES_
    9   # define SYS_STATS_Functional_COMMON_INCLUDES_
   10   #include <string.h>
   11   #include "rtwtypes.h"
   12   #include "rtw_continuous.h"
   13   #include "rtw_solver.h"
   14   #endif                                 /* SYS_STATS_Functional_COMMON_INCLUDES_ */
   15   
   16   #include "SYS_STATS_Functional_types.h"
   17   
   18   /* Block signals for model 'SYS_STATS_Functional' */
   19   typedef struct {
   20     uint8_T Subtract1;                   /* '<S5>/Subtract1' */
   21   } B_SYS_STATS_Functional_c_T;
   22   
   23   /* Block states (auto storage) for model 'SYS_STATS_Functional' */
   24   typedef struct {
   25     uint8_T UnitDelay_DSTATE;            /* '<S5>/Unit Delay' */
   26   } DW_SYS_STATS_Functional_f_T;
   27   
   28   /* Real-time Model Data Structure */
   29   struct tag_RTM_SYS_STATS_Functional_T {
   30     const char_T **errorStatus;
   31   };
   32   
   33   typedef struct {
   34     B_SYS_STATS_Functional_c_T rtb;
   35     DW_SYS_STATS_Functional_f_T rtdw;
   36     RT_MODEL_SYS_STATS_Functional_T rtm;
   37   } MdlrefDW_SYS_STATS_Functional_T;
   38   
   39   /* Model reference registration function */
   40   extern void SYS_STATS_Functional_initialize(const char_T **rt_errorStatus,
   41     RT_MODEL_SYS_STATS_Functional_T *const SYS_STATS_Functional_M,
   42     B_SYS_STATS_Functional_c_T *localB, DW_SYS_STATS_Functional_f_T *localDW);
   43   extern void SYS_STATS_Functional_Init(DW_SYS_STATS_Functional_f_T *localDW);
   44   extern void SYS_STATS_Functional_Update(B_SYS_STATS_Functional_c_T *localB,
   45     DW_SYS_STATS_Functional_f_T *localDW);
   46   extern void SYS_STATS_Functional(const Infusion_Manager_Outputs *rtu_IM_IN,
   47     const Top_Level_Mode_Outputs *rtu_TLM_MODE_IN, const Device_Sensor_Inputs
   48     *rtu_SENSOR_IN, const Device_Configuration_Inputs *rtu_CONST_IN, const
   49     Config_Outputs *rtu_CONFIG_IN, System_Status_Outputs *rty_SYS_STAT_OUT,
   50     B_SYS_STATS_Functional_c_T *localB, DW_SYS_STATS_Functional_f_T *localDW);
   51   
   52   /*-
   53    * The generated code includes comments that allow you to trace directly
   54    * back to the appropriate location in the model.  The basic format
   55    * is <system>/block_name, where system is the system number (uniquely
   56    * assigned by Simulink) and block_name is the name of the block.
   57    *
   58    * Use the MATLAB hilite_system command to trace the generated code back
   59    * to the model.  For example,
   60    *
   61    * hilite_system('<S3>')    - opens system 3
   62    * hilite_system('<S3>/Kp') - opens and selects block Kp which resides in S3
   63    *
   64    * Here is the system hierarchy for this model
   65    *
   66    * '<Root>' : 'SYS_STATS_Functional'
   67    * '<S1>'   : 'SYS_STATS_Functional/System Status  Sub-System'
   68    * '<S2>'   : 'SYS_STATS_Functional/System Status  Sub-System/In_Therapy'
   69    * '<S3>'   : 'SYS_STATS_Functional/System Status  Sub-System/Log'
   70    * '<S4>'   : 'SYS_STATS_Functional/System Status  Sub-System/Reservoir_Status'
   71    * '<S5>'   : 'SYS_STATS_Functional/System Status  Sub-System/Total_Volume_Infused'
   72    */
   73   #endif                                 /* RTW_HEADER_SYS_STATS_Functional_h_ */
   74