8 #include <oatpp-websocket/WebSocket.hpp>
51 const std::vector<std::string>& objectNames);
DtTacticalGraphicSnapshot - Complete state of a tactical graphic at a point in time. Represents waypoints, routes, boundaries, areas, and other tactical overlays.
Definition: dataTypes.h:124
DtTacticalGraphicUpdateSender - Encapsulates all tactical-graphic-specific WebLVC message building an...
Definition: tacticalGraphicUpdateSender.h:29
Json::Value buildUpdateMultipleMessage(DtWebLvcClientSession &session, std::vector< DtChangedItem< DtDatasource::DtTacticalGraphicSnapshot >> &items)
Build a TacticalGraphicAttributeUpdateMultiple message from a list of snapshots. Updates session...
DtDatasource::DtTacticalGraphicSnapshot applyRoleModifications(const DtDatasource::DtTacticalGraphicSnapshot &snapshot, const DtWebLvcClientSession &session)
Return a copy of snapshot with role-based field modifications applied (e.g. availableCommands cleared...
IMGUI_API void Value(const char *prefix, bool b)
Definition: updateSenderHelpers.h:17
void sendPeriodicUpdates(const oatpp::websocket::WebSocket &conn, DtWebLvcClientSession &session, DtTacticalGraphicProcessor &processor)
Query all tactical graphics from the processor, detect changes against the session cache...
bool matchesSubscription(const DtDatasource::DtTacticalGraphicSnapshot &snapshot, const DtWebLvcClientSession &session)
Return true if snapshot should be sent to this client.
void sendObjectsDeleted(const oatpp::websocket::WebSocket &conn, DtWebLvcClientSession &session, const std::vector< std::string > &objectNames)
Send an ObjectDeletedMultiple message for a set of tactical graphics that have disappeared. Clears each object's cache entry and stats. Caller must NOT hold session.mutex.
DtTacticalGraphicProcessor - Lightweight per-client tactical graphic processor.
Definition: tacticalGraphicProcessor.h:27
void sendInitialState(const oatpp::websocket::WebSocket &conn, DtWebLvcClientSession &session, DtTacticalGraphicProcessor &processor)
Send initial state of all tactical graphics to a newly connected client. Builds and sends a single Ta...
WebLVC Client Session - Tracks state for each connected client per SISO-STD-017-2022 Section 5...
Definition: webLVCClientSession.h:28