| | |
| | | #include "ImgUtil.h" |
| | | #include "RecognitionManager.h" |
| | | #include "THSActionUtil.h" |
| | | #include "BaseCapture.h" |
| | | |
| | | enum TradeType |
| | | { |
| | |
| | | class TradeListCapture |
| | | { |
| | | private: |
| | | //交易时段识别 |
| | | static bool tradeTimeCapture_success; |
| | | static bool tradeTimeCapture_delegate; |
| | | static OpenCLExcuter* openCLExcuter; |
| | | static RecognitionManager* recognitionManager; |
| | | static bool inited; |
| | |
| | | |
| | | |
| | | public: |
| | | |
| | | static void setTradeTimeCapture_delegate(bool enable) { |
| | | tradeTimeCapture_delegate = enable; |
| | | } |
| | | |
| | | static void setTradeTimeCapture_success(bool enable) { |
| | | tradeTimeCapture_success = enable; |
| | | } |
| | | |
| | | void init(CallbackFun_Trade_Success callback_s, CallbackFun_Trade_Delegate callback_d, void* context); |
| | | |
| | | //重新创建线程 |