#pragma once #include "scan_common.h" #include "basic_struct.h" #include "feeder.h" class CManualMatchFeeder:public IFeeder { public: CManualMatchFeeder(void); ~CManualMatchFeeder(void); virtual BOOL SupportPause(); virtual BOOL SupportStop(); virtual ServiceState OnStarting( void ); virtual ServiceState OnRunning( void ); void SetImgList(const std::vector & imgs ); virtual bool GetNext( BOOL wait,IplImage* & img, feeder_param& param ); std::vector m_img_list; int m_post_count; IplImage* m_img; RTL_CRITICAL_SECTION m_img_lock; img_param* m_param; };