CMovAvgFilter.h 877 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //
  2. // File: CMovAvgFilter.h
  3. //
  4. // MATLAB Coder version : 4.3
  5. // C/C++ source code generated on : 12-Jan-2022 14:14:11
  6. //
  7. #ifndef CMOVAVGFILTER_H
  8. #define CMOVAVGFILTER_H
  9. // Include Files
  10. #include <cstddef>
  11. #include <cstdlib>
  12. #include "rtwtypes.h"
  13. #include "MovAvgFilter_types.h"
  14. // Type Definitions
  15. class CMovAvgFilter
  16. {
  17. public:
  18. CMovAvgFilter();
  19. ~CMovAvgFilter();
  20. static void SetPdoa1dEnable(bool bEnable);
  21. static bool GetPdoa1dEnable();
  22. static void SetPdoa2dEnable(bool bEnable);
  23. static bool GetPdoa2dEnable();
  24. real_T MovAvgFilter(real_T x);
  25. MovAvgFilterStackData *getStackData();
  26. private:
  27. void firstRun_not_empty_init();
  28. void MovAvgFilter_init();
  29. MovAvgFilterPersistentData pd_;
  30. MovAvgFilterStackData SD_;
  31. static bool s_enabled_pdoa1d;
  32. static bool s_enabled_pdoa2d;
  33. };
  34. #endif
  35. //
  36. // File trailer for CMovAvgFilter.h
  37. //
  38. // [EOF]
  39. //