ADTF  3.18.2
cSubStreamsTypeWrapper

A wrapper for stream types. More...

Inheritance diagram for cSubStreamsTypeWrapper:
[legend]

Public Member Functions

Q_INVOKABLE void setSubStream (const QString &strName, quint32 nSubStreamId, const QJSValue &oStreamType)
 Adds or updates a Substream. More...
 

Private Attributes

streaming::hollow::cSubStreamTypes m_oSubStreams
 
QJSEngine & m_oEngine
 

Detailed Description

Member Function Documentation

◆ setSubStream()

Q_INVOKABLE void setSubStream ( const QString &  strName,
quint32  nSubStreamId,
const QJSValue &  oStreamType 
)

Adds or updates a Substream.

Parameters
[in]strNameThe name of the Substream, required to be unique, this is the key to the map of substreams.
[in]nSubStreamIdThe id of the Substream, should be unique, but can be reused for aliases etc.
[in]oStreamTypeThe type of the substream.