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

MemoryGroupBoxControllermemoryGroupBoxController () 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 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

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.

Definition at line 50 of file PeriodicUpdateController.h.

Constructor & Destructor Documentation

◆ PeriodicUpdateController()

Definition at line 45 of file PeriodicUpdateController.cpp.

+ Here is the call graph for this function:

◆ ~PeriodicUpdateController()

Definition at line 102 of file PeriodicUpdateController.cpp.

Member Function Documentation

◆ autoUpdateTimerIntervalSignal

void autoUpdateTimerIntervalSignal ( int freq)
signal
+ Here is the caller graph for this function:

◆ memoryGroupBoxController()

MemoryGroupBoxController * memoryGroupBoxController ( ) const

Definition at line 285 of file PeriodicUpdateController.cpp.

◆ onCollapseAll

void onCollapseAll ( )
slot

Definition at line 208 of file PeriodicUpdateController.cpp.

+ Here is the caller graph for this function:

◆ onSplitBox

void onSplitBox ( )
slot

Definition at line 213 of file PeriodicUpdateController.cpp.

+ Here is the caller graph for this function:

◆ onTimerFrequencyChanged

void onTimerFrequencyChanged ( )
slot

Definition at line 219 of file PeriodicUpdateController.cpp.

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

◆ onToggleAutoUpdates

void onToggleAutoUpdates ( bool enabled)
slot

Definition at line 224 of file PeriodicUpdateController.cpp.

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

◆ startAutoUpdateTimerIfEnabled()

void startAutoUpdateTimerIfEnabled ( )

Definition at line 195 of file PeriodicUpdateController.cpp.

+ Here is the call graph for this function:

◆ startAutoUpdateTimerSignal

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

◆ startPeriodicTimerSignal

void startPeriodicTimerSignal ( )
signal

◆ stopAutoUpdateTimerSignal

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

◆ stopPeriodicTimerSignal

void stopPeriodicTimerSignal ( )
signal

◆ update

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

◆ updateListOfActiveMemories

void updateListOfActiveMemories ( QStringList activeMemoryNames)
slot

Definition at line 264 of file PeriodicUpdateController.cpp.

◆ updateStatusLabelAndMemoryTree

void updateStatusLabelAndMemoryTree ( int errorCount)
slot

Definition at line 238 of file PeriodicUpdateController.cpp.


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