|
|
Streams selected memory values to the DebugObserver for live plotting. More...
#include <RobotAPI/libraries/armem_gui/controller/LivePlotController.h>
Inheritance diagram for LivePlotController:Public Types | |
| using | MemoryValueID = armem::client::util::MemoryValueID |
Signals | |
| void | startWorkerSignal () |
| void | stopWorkerSignal () |
| void | valuesChanged () |
Public Member Functions | |
| bool | allPlotted (const std::vector< MemoryValueID > &ids) const |
| bool | hasDebugObserver () const |
| bool | isPlotted (const MemoryValueID &id) const |
| LivePlotController (std::shared_ptr< armem::gui::model::MemoryViewerModel > model) | |
| void | onConnect () |
| void | onDisconnect () |
| void | setPlotted (const std::vector< MemoryValueID > &ids, bool enable) |
| std::vector< MemoryValueID > | valuesSnapshot () const |
| ~LivePlotController () override | |
Public Member Functions inherited from Logging | |
| SpamFilterDataPtr | deactivateSpam (float deactivationDurationSec=10.0f, const std::string &identifier="", bool deactivate=true) const |
| disables the logging for the current line for the given amount of seconds. | |
| MessageTypeT | getEffectiveLoggingLevel () const |
| Logging () | |
| void | setLocalMinimumLoggingLevel (MessageTypeT level) |
| With setLocalMinimumLoggingLevel the minimum verbosity-level of log-messages can be set. | |
| void | setTag (const LogTag &tag) |
| void | setTag (const std::string &tagName) |
| virtual | ~Logging () |
Additional Inherited Members | |
Protected Member Functions inherited from Logging | |
| bool | checkLogLevel (MessageTypeT level) const |
| const LogSenderPtr & | getLogSender () const |
| Retrieve log sender. | |
| LogSenderPtr | loghelper (const char *file, int line, const char *function) const |
Protected Attributes inherited from Logging | |
| MessageTypeT | minimumLoggingLevel |
| SpamFilterDataPtr | spamFilter |
| LogTag | tag |
Streams selected memory values to the DebugObserver for live plotting.
Holds the (thread-safe) set of currently plotted values and runs a background worker that periodically reads them from the memory and pushes them to the DebugObserver (reusing MemoryToDebugObserver). Plotted values are highlighted in the views (via valuesChanged) and all created channels are removed when this controller is destroyed (i.e. when the MemoryViewer GUI is closed).
| LivePlotController | ( | std::shared_ptr< armem::gui::model::MemoryViewerModel > | model | ) |
|
override |
| bool allPlotted | ( | const std::vector< MemoryValueID > & | ids | ) | const |
| bool hasDebugObserver | ( | ) | const |
| bool isPlotted | ( | const MemoryValueID & | id | ) | const |
| void onConnect | ( | ) |
| void onDisconnect | ( | ) |
| void setPlotted | ( | const std::vector< MemoryValueID > & | ids, |
| bool | enable ) |
|
signal |
|
signal |
|
signal |
| std::vector< LivePlotController::MemoryValueID > valuesSnapshot | ( | ) | const |