swift
Public Member Functions | List of all members
swift::misc::private_ns::CDataPageQueue Class Reference

Decorator for CValuePage which allows incoming remote changes to be queued to allow for more flexibility to control how the queue is popped compared to the usual Qt::QueuedConnection. More...

Inheritance diagram for swift::misc::private_ns::CDataPageQueue:
[legend]

Public Member Functions

 CDataPageQueue (CValuePage *parent)
 Constructor.
 
void queueValuesFromCache (const swift::misc::CValueCachePacket &values, QObject *changedBy)
 Add to the queue to synchronize with a change caused by another page. More...
 
void setQueuedValuesFromCache ()
 Synchronize with changes queued by queueValuesFromCache.
 
void setQueuedValueFromCache (const QString &key)
 Synchronize with one specific change in the queue, leave the rest for later.
 

Detailed Description

Decorator for CValuePage which allows incoming remote changes to be queued to allow for more flexibility to control how the queue is popped compared to the usual Qt::QueuedConnection.

Definition at line 48 of file datacache.h.

Member Function Documentation

◆ queueValuesFromCache()

void swift::misc::private_ns::CDataPageQueue::queueValuesFromCache ( const swift::misc::CValueCachePacket values,
QObject *  changedBy 
)

Add to the queue to synchronize with a change caused by another page.

Remarks
This function is thread safe.

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