Thunderbots Project
Loading...
Searching...
No Matches
threaded_proto_radio_sender.hpp
1#pragma once
2
3#include <string>
4
5#include "software/networking/radio/threaded_radio_sender.h"
6
7template <class SendProto>
9{
10 public:
15
21 void sendProto(const SendProto& message);
22
23 private:
24 std::string data_buffer;
25};
26
27template <class SendProto>
29{
30 message.SerializeToString(&data_buffer);
31 sendString(data_buffer);
32}
Definition threaded_proto_radio_sender.hpp:9
void sendProto(const SendProto &message)
Definition threaded_proto_radio_sender.hpp:28
ThreadedProtoRadioSender()
Definition threaded_proto_radio_sender.hpp:14
Definition threaded_radio_sender.h:8