#pragma once #include "../ZeroMq/ZeroMq.h" #include 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; };