25 lines
441 B
C
25 lines
441 B
C
|
#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;
|
|||
|
};
|