mirror of
https://github.com/BotChain-Robots/control.git
synced 2026-03-10 00:32:26 +01:00
Oled implementation (#1)
This commit is contained in:
27
include/flatbuffers/TextControlMessageBuilder.h
Normal file
27
include/flatbuffers/TextControlMessageBuilder.h
Normal file
@@ -0,0 +1,27 @@
|
||||
//
|
||||
// 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
|
||||
Reference in New Issue
Block a user