68 bool allPlotted(
const std::vector<MemoryValueID>& ids)
const;
69 void setPlotted(
const std::vector<MemoryValueID>& ids,
bool enable);
86 void removeAllChannels();
88 std::shared_ptr<armem::gui::model::MemoryViewerModel> _model;
90 mutable std::mutex _valuesMutex;
91 std::vector<MemoryValueID> _values;
92 std::set<std::string> _usedChannels;
94 QThread* _workerThread =
nullptr;
125 void removeStaleDatafields(
const std::map<std::string, std::set<std::string>>& current);
127 std::shared_ptr<armem::gui::model::MemoryViewerModel> _model;
130 QTimer* _timer =
nullptr;
131 std::unique_ptr<armarx::DebugObserverHelper> _debugObserverHelper;
132 std::unique_ptr<armem::client::util::MemoryToDebugObserver> _memoryToDebugObserver;
134 std::map<std::string, std::set<std::string>> _lastPushed;
Brief description of class DebugObserverHelper.
Base Class for all Logging classes.
Streams selected memory values to the DebugObserver for live plotting.
LivePlotController(std::shared_ptr< armem::gui::model::MemoryViewerModel > model)
bool allPlotted(const std::vector< MemoryValueID > &ids) const
bool isPlotted(const MemoryValueID &id) const
~LivePlotController() override
void setPlotted(const std::vector< MemoryValueID > &ids, bool enable)
armem::client::util::MemoryValueID MemoryValueID
bool hasDebugObserver() const
std::vector< MemoryValueID > valuesSnapshot() const
Background worker that does the (blocking) memory queries and DebugObserver calls.
LivePlotWorker(std::shared_ptr< armem::gui::model::MemoryViewerModel > model, LivePlotController *controller)
This file offers overloads of toIce() and fromIce() functions for STL container types.
ID of an ARON value in the memory.