25 lines
441 B
C
Raw Permalink Normal View History

2024-03-05 11:19:31 +08:00
#pragma once
#include "../ZeroMq/ZeroMq.h"
#include <string>
class Interactive {
typedef void (*ParamUpdate)(std::string& msg);
typedef void (*AlarmHandle)(std::string& msg);
public:
Interactive();
~Interactive();
void Init();
static void ParamUpdateFunc(std::string& msg);
static void AlarmHandleFunc(std::string& msg);
private:
//MainUi* m_ui;
ParamUpdate m_paramUpdate;
AlarmHandle m_alarmHandle;
ZeroMq* m_zmq;
};