1 #ifndef GRAIL_LIVE_DEBUGGER_SERVER
2 #define GRAIL_LIVE_DEBUGGER_SERVER
4 #include "../GrailCore/DebugUtilities/IDebugSnapshotReceiver.h"
5 #include "../GrailYamlConverters/YamlConvertersDebug.h"
25 template <
typename SnapshotType>
26 void SendSnapshots(SnapshotType snapshot)
28 if(tcpServer.IsAnyConnected())
30 std::string serializedSnapshot = c4::yml::writeToString(snapshot);
31 tcpServer.SendToAll(serializedSnapshot);
35 const Poco::UInt16 PORT_NUMBER = 6000;
Definition: IDebugSnapshotReceiver.h:7
Definition: LiveDebuggerServer.h:13
Definition: TCPServer.h:18
Definition: UDPServer.h:17
Definition: GrailStateSnapshot.h:14
Definition: PlannerSnapshots.h:70
Definition: SimulatedGamesSnapshots.h:95
Definition: UtilityReasonerSnapshot.h:11