CManualMatchFeeder.h 602 B

12345678910111213141516171819202122232425262728293031
  1. #pragma once
  2. #include "scan_common.h"
  3. #include "basic_struct.h"
  4. #include "feeder.h"
  5. class CManualMatchFeeder:public IFeeder
  6. {
  7. public:
  8. CManualMatchFeeder(void);
  9. ~CManualMatchFeeder(void);
  10. virtual BOOL SupportPause();
  11. virtual BOOL SupportStop();
  12. virtual ServiceState OnStarting( void );
  13. virtual ServiceState OnRunning( void );
  14. void SetImgList(const std::vector<img_param> & imgs );
  15. virtual bool GetNext( BOOL wait,IplImage* & img, feeder_param& param );
  16. std::vector<img_param> m_img_list;
  17. int m_post_count;
  18. IplImage* m_img;
  19. RTL_CRITICAL_SECTION m_img_lock;
  20. img_param* m_param;
  21. };