35 lines
666 B
C++
35 lines
666 B
C++
![]() |
#include "PlguinPostgressing.h"
|
||
|
#include "MsgBase.h"
|
||
|
#include "Libapi.h"
|
||
|
|
||
|
#include <opencv2/opencv.hpp>
|
||
|
#include <string>
|
||
|
|
||
|
PlguinPostgressing::PlguinPostgressing()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
PlguinPostgressing::~PlguinPostgressing()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
void PlguinPostgressing::onMouse(int event, int x, int y, int, void*) {
|
||
|
if (event == cv::EVENT_LBUTTONDOWN) {
|
||
|
std::cout << "Mouse click at: " << x << ", " << y << std::endl;
|
||
|
}
|
||
|
};
|
||
|
|
||
|
int PlguinPostgressing::OnProcess(LibapiThread* pThisThread, void* pMsg)
|
||
|
{
|
||
|
MACRO_START_TIME(pThisThread->get_name());
|
||
|
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
void PlguinPostgressing::OnEndProcess(LibapiThread* pThisThread, void* pMsg)
|
||
|
{
|
||
|
MACRO_RECORD_RUN_TIME(pThisThread->get_name());
|
||
|
}
|