swift
|
Allows distributed access to the log messages of a central CLogHistory. More...
Signals | |
void | elementAdded (const swift::misc::CStatusMessage &msg) |
Signal emitted for each new log message. | |
void | elementsReplaced (const swift::misc::CStatusMessageList &msgs) |
Signal emitted when the whole history is updated wholesale. | |
Public Member Functions | |
CLogHistoryReplica (QObject *parent=nullptr) | |
Constructor. | |
![]() | |
virtual void | initialize (IDataLink *dataLink) |
Subscribe using the given transport mechanism. | |
void | setFilter (const CLogPattern &filter) |
Set filter to choose list elements. | |
CStatusMessageList | allValues () const |
Get list value containing all elements matching the filter. | |
virtual void | onElementAdded (const typename T::value_type &value)=0 |
Called when an element matching the filter is added to the list. | |
Additional Inherited Members | |
![]() | |
CListObserver (QObject *parent) | |
Constructor. | |
![]() | |
CGenericListObserver (QObject *parent) | |
Constructor. | |
void | setFilter (const CVariant &filter) |
Set list filter as variant. | |
CVariantList | allValues () const |
Get filtered list value as variant list. | |
int | cleanValues () |
Remove any old values that no longer match the filter. | |
Allows distributed access to the log messages of a central CLogHistory.
Definition at line 49 of file loghistory.h.