Newer
Older
TB_Chris / TbUT / src / .svn / text-base / TbUTAlibavaDataRetreiver.h.svn-base
@iaro iaro on 9 May 2016 486 bytes first attempt of automated anal
  1. /*
  2. * TbUTAlibava.h
  3. *
  4. * Created on: Oct 1, 2014
  5. * Author: ADendek
  6. */
  7.  
  8. #pragma once
  9.  
  10. #include "alibava/TbAsciiRoot.h"
  11. #include "TbUTIDataRetreiver.h"
  12.  
  13. namespace TbUT
  14. {
  15. class AlibavaDataRetreiver: public IDataRetreiver
  16. {
  17.  
  18. public:
  19. AlibavaDataRetreiver();
  20. void open(std::string & p_filename);
  21. bool valid();
  22. int read_event(std::string & error_code);
  23. void process_event();
  24. double time();
  25. double temp();
  26. unsigned short data(int i);
  27.  
  28. private:
  29. TbAsciiRoot m_assciRoot;
  30. };
  31.  
  32. }
  33.