#ifndef __c1_discreteCPF_h__
#define __c1_discreteCPF_h__

/* Include files */
#include "sfc_sf.h"
#include "sfc_mex.h"
#include "rtwtypes.h"
#include "multiword_types.h"

/* Type Definitions */
#ifndef typedef_SFc1_discreteCPFInstanceStruct
#define typedef_SFc1_discreteCPFInstanceStruct

typedef struct {
  SimStruct *S;
  ChartInfoStruct chartInfo;
  uint32_T chartNumber;
  uint32_T instanceNumber;
  int32_T c1_sfEvent;
  boolean_T c1_isStable;
  boolean_T c1_doneDoubleBufferReInit;
  uint8_T c1_is_active_c1_discreteCPF;
  real_T c1_i;
  boolean_T c1_i_not_empty;
  real_T c1_lastPos;
  boolean_T c1_lastPos_not_empty;
} SFc1_discreteCPFInstanceStruct;

#endif                                 /*typedef_SFc1_discreteCPFInstanceStruct*/

/* Named Constants */

/* Variable Declarations */

/* Variable Definitions */

/* Function Declarations */
extern const mxArray *sf_c1_discreteCPF_get_eml_resolved_functions_info(void);

/* Function Definitions */
extern void sf_c1_discreteCPF_get_check_sum(mxArray *plhs[]);
extern void c1_discreteCPF_method_dispatcher(SimStruct *S, int_T method, void
  *data);

#endif
