You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
759 B
C++
25 lines
759 B
C++
#ifndef _MSG_HPP_
|
|
#define _MSG_HPP_
|
|
|
|
#include <queue>
|
|
#include <mutex>
|
|
#include "System.hpp"
|
|
|
|
class DdsMsgData {
|
|
public:
|
|
static std::queue<WeighingSystem::BarUpdate> BarUpdate_queue_;
|
|
static std::queue<WeighingSystem::LightsUpdate> LightsUpdate_queue_;
|
|
static std::queue<WeighingSystem::InfraredUpdate> InfraredUpdate_queue_;
|
|
static std::queue<WeighingSystem::InfraredCommandUpdate> InfraredCommandUpdate_queue_;
|
|
static std::queue<WeighingSystem::LicenseSnapUpdate> LicenseSnapUpdate_queue_;
|
|
static std::queue<WeighingSystem::ScaleInfo> ScaleInfo_queue_;
|
|
static std::mutex queue_cv_mtx_;
|
|
};
|
|
|
|
class MqttMsgData {
|
|
public:
|
|
static std::queue<mqtt::const_message_ptr> Mqtt_msg_queue_;
|
|
static std::mutex queue_cv_mtx_;
|
|
};
|
|
|
|
#endif |