mirror of
https://github.com/BotChain-Robots/control.git
synced 2026-03-09 16:22:26 +01:00
29 lines
587 B
C++
29 lines
587 B
C++
//
|
|
// Created by Johnathon Slightham on 2025-06-30.
|
|
//
|
|
|
|
#ifndef TEXTCONTROLMESSAGEBUILDER_H_
|
|
#define TEXTCONTROLMESSAGEBUILDER_H_
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
#include "SerializedMessage.h"
|
|
#include "flatbuffers/flatbuffers.h"
|
|
#include "flatbuffers_generated/TextControlMessage_generated.h"
|
|
|
|
namespace Flatbuffers {
|
|
class TextControlMessageBuilder {
|
|
public:
|
|
TextControlMessageBuilder() : builder_(256) {
|
|
}
|
|
|
|
SerializedMessage build_text_control_message(std::string &t);
|
|
|
|
private:
|
|
flatbuffers::FlatBufferBuilder builder_;
|
|
};
|
|
} // namespace Flatbuffers
|
|
|
|
#endif
|