14#include <adtf_utils.h>
15#include <adtfstreaming3/streamtype_intf.h>
16#include <adtfstreaming3/streammetatypesubstreams.h>
17#include <adtfmediadescription/type_reflection.h>
52 Q_INVOKABLE QObject*
add(
const QString& strElementName,
const QJSValue& oElementType, quint64 nArraySize = 1);
66 cStreamTypeWrapper(ucom::object_ptr<adtf::streaming::IStreamType> pType, QJSEngine& oEngine);
67 ucom::object_ptr<const adtf::streaming::IStreamType> getType()
const;
68 QString getStreamMetaType()
const;
69 QVariantMap getProperties()
const;
81 Q_INVOKABLE
void setProperty(const QString& strName, const QJSValue& oValue);
105 ucom::object_ptr<
adtf::streaming::IStreamType> m_pType;
106 QJSEngine& m_oEngine;
119 ucom::object_ptr<const adtf::streaming::IStreamType> getType()
const;
128 Q_INVOKABLE
void setSubStream(
const QString& strName, quint32 nSubStreamId,
const QJSValue& oStreamType);
131 streaming::hollow::cSubStreamTypes m_oSubStreams;
132 QJSEngine& m_oEngine;
144 cScriptTypes(QJSEngine& oEngine,
const adtf::util::cFilepath& strScriptFolder);
218 fromDescriptionFile(
const QString& strStructName,
const QString& strFileName,
bool bResolveStruct =
true);
233 const QString& strMediaDescription,
234 bool bResolveStruct =
true);
237 QJSEngine& m_oEngine;
238 adtf::util::cFilepath m_strScriptFolder;
242ucom::object_ptr<const adtf::streaming::IStreamType> get_stream_type(
const QJSValue& oStreamType);
Q_INVOKABLE QObject * add(const QString &strElementName, const QJSValue &oElementType, quint64 nArraySize=1)
Q_INVOKABLE QObject * createDefinition(const QString &strStructName)
Q_INVOKABLE QObject * fromDescriptionFile(const QString &strStructName, const QString &strFileName, bool bResolveStruct=true)
Q_INVOKABLE QObject * createStreamType(const QString &strMetaType)
Q_INVOKABLE QObject * fromDescriptionString(const QString &strStructName, const QString &strMediaDescription, bool bResolveStruct=true)
Q_INVOKABLE QObject * createPlainStreamType(const QString &strCType)
Q_INVOKABLE QObject * getDefinition(const QString &strStructName)
Q_INVOKABLE QObject * createSubStreamsType()
QVariantMap properties
Returns the properties of the stream type.
Definition types.h:73
Q_INVOKABLE void setProperty(const QString &strName, const QJSValue &oValue)
QString stream_meta_type
Returns the stream meta type of the stream type.
Definition types.h:75
Q_INVOKABLE QList< QString > getSubStreams()
Q_INVOKABLE QObject * getSubStreamType(const QString &strSubStream)
Q_INVOKABLE void setSubStream(const QString &strName, quint32 nSubStreamId, const QJSValue &oStreamType)
Namespace for the ADTF JavaScript Filter SDK.
Definition clock.h:22
Namespace for all functionality provided by ADTF and its SDKs.
Definition adtfui_pkg.h:13