#ifndef __c2_CPFDepth_h__
#define __c2_CPFDepth_h__

/* Include files */
#include "sfc_sf.h"
#include "sfc_mex.h"
#include "rtwtypes.h"
#include "multiword_types.h"

/* Type Definitions */
#ifndef typedef_SFc2_CPFDepthInstanceStruct
#define typedef_SFc2_CPFDepthInstanceStruct

typedef struct {
  SimStruct *S;
  ChartInfoStruct chartInfo;
  uint32_T chartNumber;
  uint32_T instanceNumber;
  int32_T c2_sfEvent;
  boolean_T c2_isStable;
  boolean_T c2_doneDoubleBufferReInit;
  uint8_T c2_is_active_c2_CPFDepth;
  real_T c2_I;
  boolean_T c2_I_not_empty;
  real_T c2_y1;
  boolean_T c2_y1_not_empty;
  real_T c2_y2;
  boolean_T c2_y2_not_empty;
} SFc2_CPFDepthInstanceStruct;

#endif                                 /*typedef_SFc2_CPFDepthInstanceStruct*/

/* Named Constants */

/* Variable Declarations */

/* Variable Definitions */

/* Function Declarations */
extern const mxArray *sf_c2_CPFDepth_get_eml_resolved_functions_info(void);

/* Function Definitions */
extern void sf_c2_CPFDepth_get_check_sum(mxArray *plhs[]);
extern void c2_CPFDepth_method_dispatcher(SimStruct *S, int_T method, void *data);

#endif
