revert FIX: fixed message class to that only one any message can be stored; deleted track class
This commit is contained in:
Henry Winkel
2022-12-21 13:06:34 +00:00
parent 8ce7718201
commit 1ae59dbf28
8 changed files with 1639 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
#pragma once
#include "google/protobuf/message.h"
#include <WHISPER/Messages/Message.hpp>
#include <WHISPER/Messages/Protos/raw_track.pb.h>
#include <string>
#include <loguru.hpp>
namespace WHISPER {
class RawTrack : public Message
{
private:
messages::raw_track::RawTrack trackMessage;
public:
std::uint32_t trackNo;
RawTrack(std::string receivedMessage);
RawTrack(std::uint32_t deviceID,WHISPER::MsgTopics topic, SourceType src,std::uint32_t trackNo);
};
}