|
|
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).
Definition at line 54 of file LivePlotController.h.
Definition at line 60 of file LivePlotController.h.
| LivePlotController | ( | std::shared_ptr< armem::gui::model::MemoryViewerModel > | model | ) |
|
override |
Definition at line 38 of file LivePlotController.cpp.
| bool allPlotted | ( | const std::vector< MemoryValueID > & | ids | ) | const |
Definition at line 80 of file LivePlotController.cpp.
| bool hasDebugObserver | ( | ) | const |
Definition at line 67 of file LivePlotController.cpp.
| bool isPlotted | ( | const MemoryValueID & | id | ) | const |
Definition at line 73 of file LivePlotController.cpp.
| void onConnect | ( | ) |
| void onDisconnect | ( | ) |
| void setPlotted | ( | const std::vector< MemoryValueID > & | ids, |
| bool | enable ) |
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:| std::vector< LivePlotController::MemoryValueID > valuesSnapshot | ( | ) | const |
Definition at line 120 of file LivePlotController.cpp.