From 14db1514fec89db599766d4996b4bb1fead0eff0 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期四, 25 八月 2022 17:49:54 +0800 Subject: [PATCH] '完善' --- ConsoleApplication/L2DataCapture.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/ConsoleApplication/L2DataCapture.h b/ConsoleApplication/L2DataCapture.h index a3c536f..1ffd38b 100644 --- a/ConsoleApplication/L2DataCapture.h +++ b/ConsoleApplication/L2DataCapture.h @@ -24,6 +24,7 @@ //是否正在执行 static bool running; static bool runnings[THS_FRAME_COUNT]; + static bool killRunnings[THS_FRAME_COUNT]; static clock_t latest_running_times[THS_FRAME_COUNT]; static string gpCodes[THS_FRAME_COUNT]; @@ -45,6 +46,8 @@ //初始化 void init(CallbackFun callback, CallbackFun_Trade_Queue trade_queue_callback, void* context); + + void reCreateChannelRunner(int index); void refreshHWND(); @@ -68,6 +71,7 @@ //捕获level2的盘口数据 static list<TradeData> captureLevel2TradeData(HWND hwnd,int index) throw(int); static list<TradeData> captureLevel2TradeData(cv::Mat oimg,int identify); + static list<TradeData> captureLevel2TradeData(OpenCLExcuter *openCLExcuter, cv::Mat oimg, int identify); //设置代码 static void setGPCode(int index, string code); //获取代码 -- Gitblit v1.8.0