Files
2026-02-01 22:23:06 +08:00

32 lines
707 B
C++

/*
* @Date: 2024-09-04 14:53:43
* @LastEditors: Jacky
* @LastEditTime: 2024-09-11 11:19:23
* @FilePath: /GeneralTracker/Universal/CModuleOsd.h
*/
#ifndef _MODULE_OSD_HPP_
#define _MODULE_OSD_HPP_
#include "DataProcessBase.h"
#include "PlatformDefine.h"
class CModuleOsd : public DataProcessBase
{
public:
int create(const char* name);
int destroy();
int set_data(const char* data, void* value = NULL);
char* get_data();
int start(const char* data);
int stop();
void push_data(DataProcessBase *src, pool::IMemoryBlock* block);
private:
int moduleThread();
private:
bool _thread_flag = false;
std::thread *_vi_thread = nullptr;
};
#endif