37 virtual void poll()
override;
40 virtual int count()
const override;
48 std::vector<DtDatasource::DtTacticalGraphicSnapshot>
queryAll()
const;
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
DtTacticalGraphicProcessor()=default
virtual void shutdown() override
Called on teardown. Release any resources.
virtual void poll() override
Called each tick while the VRF API mutex is held. Collect state changes and queue them internally...
std::vector< DtDatasource::DtTacticalGraphicSnapshot > queryAll() const
Return snapshots for all currently known tactical graphics. TODO: implement once the shared VRF data ...
std::shared_ptr< DtDatasource::DtTacticalGraphicSnapshot > snapshotFor(DtWebServerObjectPtr obj) const
DtVrfContext - Bundles the VRF runtime objects passed to a processor on initialization. All pointers remain valid for the lifetime of the processor.
Definition: vrfManager.h:59
virtual void dispatchPendingEvents() override
Called each tick AFTER the VRF API mutex is released. Deliver any queued change notifications.
DtProcessor - Abstract base interface for per-client data processors.
Definition: iProcessor.h:25
virtual ~DtTacticalGraphicProcessor() override=default
virtual int count() const override
Number of objects currently known to this processor.
DtTacticalGraphicProcessor - Lightweight per-client tactical graphic processor.
Definition: tacticalGraphicProcessor.h:27
virtual void initialize(const DtVrfContext &context) override
Called once before the first tick.
DtVrfContext myVrfContext
Definition: tacticalGraphicProcessor.h:60
DtDatasource::DtTacticalGraphicSnapshot query(const std::string &objectName) const
Return the snapshot for a single tactical graphic by objectName. Returns a default-constructed DtTact...
std::shared_ptr< DtWebServerObject > DtWebServerObjectPtr
Definition: webServerObject.h:90