Thunderbots Project
Loading...
Searching...
No Matches
backend.h
1#pragma once
2
3#include "proto/sensor_msg.pb.h"
4#include "proto/tbots_software_msgs.pb.h"
5#include "software/multithreading/first_in_first_out_threaded_observer.h"
6#include "software/multithreading/subject.hpp"
7#include "software/world/world.h"
8
17class Backend : public Subject<SensorProto>,
19 public FirstInFirstOutThreadedObserver<TbotsProto::PrimitiveSet>
20{
21 public:
22 Backend() = default;
23
24 virtual ~Backend() = default;
25
32 void receiveRobotStatus(TbotsProto::RobotStatus msg);
33 void receiveSSLWrapperPacket(SSLProto::SSL_WrapperPacket msg);
34 void receiveSSLReferee(SSLProto::Referee msg);
35 void receiveSensorProto(SensorProto sensor_msg);
36};
Definition backend.h:20
void receiveRobotStatus(TbotsProto::RobotStatus msg)
Definition backend.cpp:6
Definition first_in_first_out_threaded_observer.h:17
Definition subject.hpp:18