VariantStreamSubscription

VariantStreamSubscription

VariantStreamSubscription

Inherited by StreamSubscription< T >

Public Functions

Name
virtual~VariantStreamSubscription()
virtual intdataTypeId() const =0
virtual QStringdataTypeName() const =0
virtual boolcallIfNextVar(const ProcessVarFn & fn) =0
virtual boolunsubscribe() =0
virtual boolactive() const =0
virtual boolhasPending() const =0
virtual size_tapproxPendingCount() const =0
virtual intenableNotify() =0
virtual voiddisableNotify() =0
virtual voidsetThrottleItemsPerSec(uint itemsPerSec, bool allowMore =true) =0
virtual voidsuspend() =0
virtual voidresume() =0
virtual voidclearPending() =0
virtual QHash< QString, QVariant >metadata() const =0
virtual QVariantmetadataValue(const QString & key, const QVariant & defaultValue =QVariant()) const =0
virtual QVariantmetadataValue(CommonMetadataKey key, const QVariant & defaultValue =QVariant()) const =0
virtual voidforcePushNullopt() =0

Public Functions Documentation

function ~VariantStreamSubscription

virtual ~VariantStreamSubscription()

function dataTypeId

virtual int dataTypeId() const =0

Reimplemented by: StreamSubscription::dataTypeId

function dataTypeName

virtual QString dataTypeName() const =0

Reimplemented by: StreamSubscription::dataTypeName

function callIfNextVar

virtual bool callIfNextVar(
    const ProcessVarFn & fn
) =0

Reimplemented by: StreamSubscription::callIfNextVar

function unsubscribe

virtual bool unsubscribe() =0

Reimplemented by: StreamSubscription::unsubscribe

function active

virtual bool active() const =0

Reimplemented by: StreamSubscription::active

function hasPending

virtual bool hasPending() const =0

Reimplemented by: StreamSubscription::hasPending

function approxPendingCount

virtual size_t approxPendingCount() const =0

Reimplemented by: StreamSubscription::approxPendingCount

function enableNotify

virtual int enableNotify() =0

Reimplemented by: StreamSubscription::enableNotify

function disableNotify

virtual void disableNotify() =0

Reimplemented by: StreamSubscription::disableNotify

function setThrottleItemsPerSec

virtual void setThrottleItemsPerSec(
    uint itemsPerSec,
    bool allowMore =true
) =0

Reimplemented by: StreamSubscription::setThrottleItemsPerSec

function suspend

virtual void suspend() =0

Reimplemented by: StreamSubscription::suspend

function resume

virtual void resume() =0

Reimplemented by: StreamSubscription::resume

function clearPending

virtual void clearPending() =0

Reimplemented by: StreamSubscription::clearPending

function metadata

virtual QHash< QString, QVariant > metadata() const =0

Reimplemented by: StreamSubscription::metadata

function metadataValue

virtual QVariant metadataValue(
    const QString & key,
    const QVariant & defaultValue =QVariant()
) const =0

Reimplemented by: StreamSubscription::metadataValue

function metadataValue

virtual QVariant metadataValue(
    CommonMetadataKey key,
    const QVariant & defaultValue =QVariant()
) const =0

Reimplemented by: StreamSubscription::metadataValue

function forcePushNullopt

virtual void forcePushNullopt() =0

Reimplemented by: StreamSubscription::forcePushNullopt


Updated on 2024-11-06 at 17:10:29 +0000