27 m_Results.enqueue(future);
29 m_Watcher.setFuture(m_Results[0]);
32 m_Counter->incValue(1);
41 if (m_Results.size() > 0) {
42 QFuture<T> val = m_Results.dequeue();
44 if (m_Results.size() > 0) {
45 m_Watcher.setFuture(m_Results[0]);
49 m_Counter->incValue(-1);
55 m_Counter->setValue(0);
67 return m_Results.size();
QxrdResultSerializer(QcepIntProperty *ctr, QcepObject *parent)
void enqueue(QFuture< T > future)
virtual ~QxrdResultSerializerBase()
QxrdResultSerializerBase(QcepObject *parent)
QFutureWatcher< T > m_Watcher