1 #ifndef GRAIL_LIVE_DEBUGGER_SERVER_YAML_H
2 #define GRAIL_LIVE_DEBUGGER_SERVER_YAML_H
4 #include "LiveDebuggerServer.h"
21 template <
typename SnapshotType>
22 void SendSnapshots(SnapshotType snapshot)
24 if(tcpServer.IsAnyConnected())
26 std::string serializedSnapshot = c4::yml::writeToString(snapshot);
27 tcpServer.SendToAll(serializedSnapshot);
34 #endif // GRAIL_LIVE_DEBUGGER_SERVER_YAML_H