PeriodicUpdateController Class Reference

controlls periodic tasks and associated view components More...

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

+ Inheritance diagram for PeriodicUpdateController:

Public Slots

void onCollapseAll ()
 
void onSplitBox ()
 
void onTimerFrequencyChanged ()
 
void onToggleAutoUpdates (bool enabled)
 
void updateListOfActiveMemories (QStringList activeMemoryNames)
 
void updateStatusLabelAndMemoryTree (int errorCount)
 

Signals

void autoUpdateTimerIntervalSignal (int freq)
 
void startAutoUpdateTimerSignal ()
 
void startPeriodicTimerSignal ()
 
void stopAutoUpdateTimerSignal ()
 
void stopPeriodicTimerSignal ()
 
void update ()
 

Public Member Functions

MemoryGroupBoxController * memoryGroupBoxController () const
 
 PeriodicUpdateController (MemoryViewerUIContext &uiContext, std::shared_ptr< armem::gui::model::MemoryViewerModel > model)
 
void startAutoUpdateTimerIfEnabled ()
 
 ~PeriodicUpdateController ()
 
- 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
 

Detailed Description

controlls periodic tasks and associated view components

manages two periodic tasks which are executed in a new worker thread. Communication between the threads is handled with signals.

Constructor & Destructor Documentation

◆ PeriodicUpdateController()

◆ ~PeriodicUpdateController()

Member Function Documentation

◆ autoUpdateTimerIntervalSignal

void autoUpdateTimerIntervalSignal ( int freq)
signal

◆ memoryGroupBoxController()

MemoryGroupBoxController * memoryGroupBoxController ( ) const

◆ onCollapseAll

void onCollapseAll ( )
slot

◆ onSplitBox

void onSplitBox ( )
slot

◆ onTimerFrequencyChanged

void onTimerFrequencyChanged ( )
slot

◆ onToggleAutoUpdates

void onToggleAutoUpdates ( bool enabled)
slot

◆ startAutoUpdateTimerIfEnabled()

void startAutoUpdateTimerIfEnabled ( )

◆ startAutoUpdateTimerSignal

void startAutoUpdateTimerSignal ( )
signal

◆ startPeriodicTimerSignal

void startPeriodicTimerSignal ( )
signal

◆ stopAutoUpdateTimerSignal

void stopAutoUpdateTimerSignal ( )
signal

◆ stopPeriodicTimerSignal

void stopPeriodicTimerSignal ( )
signal

◆ update

void update ( )
signal

◆ updateListOfActiveMemories

void updateListOfActiveMemories ( QStringList activeMemoryNames)
slot

◆ updateStatusLabelAndMemoryTree

void updateStatusLabelAndMemoryTree ( int errorCount)
slot

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