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
17
class
Backend
:
public
Subject
<SensorProto>,
18
public
FirstInFirstOutThreadedObserver
<World>,
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
};
Backend
Definition
backend.h:20
Backend::receiveRobotStatus
void receiveRobotStatus(TbotsProto::RobotStatus msg)
Definition
backend.cpp:6
FirstInFirstOutThreadedObserver
Definition
first_in_first_out_threaded_observer.h:17
Subject
Definition
subject.hpp:18
src
software
backend
backend.h
Generated by
1.9.8