1 Star 0 Fork 0

LY/File_Monitor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
FileMonitor.h 447 Bytes
一键复制 编辑 原始数据 按行查看 历史
LY 提交于 9天前 . 抽离配置文件
//
// Created by JIN on 25-3-12.
//
#ifndef FILE_MONITOR_H
#define FILE_MONITOR_H
#include <string>
#include "paho_mqtt.h"
using namespace std;
class FileMonitor
{
public:
explicit FileMonitor(const string& path, std::string address, std::string client_id, std::string topic);
~FileMonitor();
void monitor();
void Exit();
private:
string path;
bool EXIT_FLAG;
PAHO_MQTT *paho_mqtt;
};
#endif //FILE_MONITOR_H
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lystudio_top/file_monitor.git
git@gitee.com:lystudio_top/file_monitor.git
lystudio_top
file_monitor
File_Monitor
master

搜索帮助