PointProcess_def.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /* PointProcess_def.h
  2. *
  3. * Copyright (C) 1992-2005,2011,2014-2018 Paul Boersma
  4. *
  5. * This code is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; either version 2 of the License, or (at
  8. * your option) any later version.
  9. *
  10. * This code is distributed in the hope that it will be useful, but
  11. * WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  13. * See the GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this work. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. #define ooSTRUCT PointProcess
  19. oo_DEFINE_CLASS (PointProcess, Function)
  20. #if oo_DECLARING
  21. oo_INTEGER (maxnt)
  22. #endif
  23. oo_INTEGER (nt)
  24. oo_VEC (t, nt)
  25. #if oo_COPYING
  26. thy maxnt = thy nt;
  27. #elif oo_READING
  28. our maxnt = our nt;
  29. #endif
  30. #if oo_DECLARING
  31. void v_info ()
  32. override;
  33. int v_domainQuantity ()
  34. override { return MelderQuantity_TIME_SECONDS; }
  35. void v_shiftX (double xfrom, double xto)
  36. override;
  37. void v_scaleX (double xminfrom, double xmaxfrom, double xminto, double xmaxto)
  38. override;
  39. #endif
  40. oo_END_CLASS (PointProcess)
  41. #undef ooSTRUCT
  42. /* End of file PointProcess_def.h */