VariantDataStream

VariantDataStream

VariantDataStream

Inherited by DataStream< T >

Public Functions

Name
virtual~VariantDataStream()
virtual QStringdataTypeName() const =0
virtual intdataTypeId() const =0
virtual std::shared_ptr< VariantStreamSubscription >subscribeVar() =0
virtual voidstart() =0
virtual voidstop() =0
virtual boolactive() const =0
virtual boolhasSubscribers() const =0
virtual voidpushRawData(int typeId, const void * data, size_t size) =0
virtual QHash< QString, QVariant >metadata() =0
virtual voidsetMetadata(const QHash< QString, QVariant > & metadata) =0
virtual voidsetMetadataValue(const QString & key, const QVariant & value) =0
virtual voidsetCommonMetadata(const QString & srcModType, const QString & srcModName, const QString & portTitle) =0

Public Functions Documentation

function ~VariantDataStream

virtual ~VariantDataStream()

function dataTypeName

virtual QString dataTypeName() const =0

Reimplemented by: DataStream::dataTypeName

function dataTypeId

virtual int dataTypeId() const =0

Reimplemented by: DataStream::dataTypeId

function subscribeVar

virtual std::shared_ptr< VariantStreamSubscription > subscribeVar() =0

Reimplemented by: DataStream::subscribeVar

function start

virtual void start() =0

Reimplemented by: DataStream::start

function stop

virtual void stop() =0

Reimplemented by: DataStream::stop

function active

virtual bool active() const =0

Reimplemented by: DataStream::active

function hasSubscribers

virtual bool hasSubscribers() const =0

Reimplemented by: DataStream::hasSubscribers

function pushRawData

virtual void pushRawData(
    int typeId,
    const void * data,
    size_t size
) =0

Reimplemented by: DataStream::pushRawData

function metadata

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

Reimplemented by: DataStream::metadata

function setMetadata

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

Reimplemented by: DataStream::setMetadata

function setMetadataValue

virtual void setMetadataValue(
    const QString & key,
    const QVariant & value
) =0

Reimplemented by: DataStream::setMetadataValue

function setCommonMetadata

virtual void setCommonMetadata(
    const QString & srcModType,
    const QString & srcModName,
    const QString & portTitle
) =0

Reimplemented by: DataStream::setCommonMetadata


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