EEG_def.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /* EEG_def.h
  2. *
  3. * Copyright (C) 2011,2014,2015,2017 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 EEG
  19. oo_DEFINE_CLASS (EEG, Function)
  20. oo_INTEGER (numberOfChannels)
  21. oo_STRING_VECTOR (channelNames, numberOfChannels)
  22. oo_OBJECT (Sound, 2, sound)
  23. oo_OBJECT (TextGrid, 0, textgrid)
  24. #if oo_DECLARING
  25. void v_info ()
  26. override;
  27. int v_domainQuantity ()
  28. override { return MelderQuantity_TIME_SECONDS; }
  29. void v_shiftX (double xfrom, double xto)
  30. override;
  31. void v_scaleX (double xminfrom, double xmaxfrom, double xminto, double xmaxto)
  32. override;
  33. #endif
  34. oo_END_CLASS (EEG)
  35. #undef ooSTRUCT
  36. /* End of file EEG_def.h */