swift
Signals | Public Member Functions | List of all members
swift::misc::CLogHistoryReplica Class Reference

Allows distributed access to the log messages of a central CLogHistory. More...

Inheritance diagram for swift::misc::CLogHistoryReplica:
[legend]

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.
 
- Public Member Functions inherited from swift::misc::shared_state::CListObserver< CStatusMessageList, CLogPattern >
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

- Protected Member Functions inherited from swift::misc::shared_state::CListObserver< CStatusMessageList, CLogPattern >
 CListObserver (QObject *parent)
 Constructor.
 
- Protected Member Functions inherited from swift::misc::shared_state::CGenericListObserver
 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.
 

Detailed Description

Allows distributed access to the log messages of a central CLogHistory.

Definition at line 49 of file loghistory.h.


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