PeriodicUpdateWorker Class Reference

handles updating and periodically checks for new readers/writers and query results More...

#include <RobotAPI/libraries/armem_gui/controller/PeriodicUpdateWorker.h>

+ Inheritance diagram for PeriodicUpdateWorker:

Public Slots

void cleanup ()
 
void init ()
 
void onUpdate ()
 
void setAutoUpdateTimerInterval (int freq)
 
void startAutoUpdateTimer ()
 
void startPeriodicTimer ()
 
void stopAutoUpdateTimer ()
 
void stopPeriodicTimer ()
 

Signals

void showLoadingLabel ()
 
void updateLabelAndTree (int errorCount)
 
void updateQueryWidget (QStringList activeMemoryNames)
 

Public Member Functions

 PeriodicUpdateWorker (std::shared_ptr< armem::gui::model::MemoryViewerModel > model)
 
- 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 LogSenderPtrgetLogSender () 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
 

Detailed Description

handles updating and periodically checks for new readers/writers and query results

this worker handles two main tasks: 1. periodically check for new readers/writers and query results. 2. starting new queries either through incomming signals or periodically after starting Auto Update

Definition at line 42 of file PeriodicUpdateWorker.h.

Constructor & Destructor Documentation

◆ PeriodicUpdateWorker()

Definition at line 36 of file PeriodicUpdateWorker.cpp.

Member Function Documentation

◆ cleanup

void cleanup ( )
slot

Definition at line 63 of file PeriodicUpdateWorker.cpp.

◆ init

void init ( )
slot

Definition at line 43 of file PeriodicUpdateWorker.cpp.

+ Here is the call graph for this function:

◆ onUpdate

void onUpdate ( )
slot

Definition at line 103 of file PeriodicUpdateWorker.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setAutoUpdateTimerInterval

void setAutoUpdateTimerInterval ( int freq)
slot

Definition at line 98 of file PeriodicUpdateWorker.cpp.

◆ showLoadingLabel

void showLoadingLabel ( )
signal
+ Here is the caller graph for this function:

◆ startAutoUpdateTimer

void startAutoUpdateTimer ( )
slot

Definition at line 88 of file PeriodicUpdateWorker.cpp.

◆ startPeriodicTimer

void startPeriodicTimer ( )
slot

Definition at line 72 of file PeriodicUpdateWorker.cpp.

◆ stopAutoUpdateTimer

void stopAutoUpdateTimer ( )
slot

Definition at line 93 of file PeriodicUpdateWorker.cpp.

◆ stopPeriodicTimer

void stopPeriodicTimer ( )
slot

Definition at line 77 of file PeriodicUpdateWorker.cpp.

◆ updateLabelAndTree

void updateLabelAndTree ( int errorCount)
signal

◆ updateQueryWidget

void updateQueryWidget ( QStringList activeMemoryNames)
signal

The documentation for this class was generated from the following files: