2023-08-18 07:33:13 +02:00
|
|
|
#ifndef REPORT_H
|
|
|
|
#define REPORT_H
|
|
|
|
|
|
|
|
#include <Windows.h>
|
|
|
|
|
|
|
|
#include "threadpool.h"
|
|
|
|
#include "client.h"
|
|
|
|
|
|
|
|
namespace global
|
|
|
|
{
|
2023-08-18 09:18:00 +02:00
|
|
|
struct TestReport
|
|
|
|
{
|
|
|
|
UINT64 value1;
|
|
|
|
UINT64 value2;
|
|
|
|
};
|
|
|
|
|
2023-08-18 07:33:13 +02:00
|
|
|
class Report
|
|
|
|
{
|
|
|
|
std::shared_ptr<global::ThreadPool> thread_pool;
|
2023-08-18 09:18:00 +02:00
|
|
|
std::shared_ptr<global::Client> client;
|
2023-08-18 07:33:13 +02:00
|
|
|
public:
|
|
|
|
Report( std::shared_ptr<global::ThreadPool> ThreadPool, LPTSTR PipeName );
|
|
|
|
void ReportViolation( TestReport* Report );
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|