14#include <adtf_utils.h>
15#include <adtfbase/macroresolver_intf.h>
16#include <adtfstreaming3/streamtype_intf.h>
17#include <adtfstreaming3/streammetatypesubstreams.h>
18#include <adtfmediadescription/type_reflection.h>
53 Q_INVOKABLE QObject*
add(
const QString& strElementName,
const QJSValue& oElementType, quint64 nArraySize = 1);
67 cStreamTypeWrapper(ucom::object_ptr<adtf::streaming::IStreamType> pType, QJSEngine& oEngine);
68 ucom::object_ptr<const adtf::streaming::IStreamType> getType()
const;
69 QString getStreamMetaType()
const;
70 QVariantMap getProperties()
const;
82 Q_INVOKABLE
void setProperty(const QString& strName, const QJSValue& oValue);
106 ucom::object_ptr<
adtf::streaming::IStreamType> m_pType;
107 QJSEngine& m_oEngine;
120 ucom::object_ptr<const adtf::streaming::IStreamType> getType()
const;
129 Q_INVOKABLE
void setSubStream(
const QString& strName, quint32 nSubStreamId,
const QJSValue& oStreamType);
132 streaming::hollow::cSubStreamTypes m_oSubStreams;
133 QJSEngine& m_oEngine;
146 const adtf::util::cFilepath& strScriptFolder,
147 const ucom::iobject_ptr<adtf::services::ant::IMacroResolver>& pMacroResolver);
219 fromDescriptionFile(
const QString& strStructName,
const QString& strFileName,
bool bResolveStruct =
true);
234 const QString& strMediaDescription,
235 bool bResolveStruct =
true);
238 QJSEngine& m_oEngine;
239 adtf::util::cFilepath m_strScriptFolder;
240 ucom::weak_object_ptr<adtf::services::ant::IMacroResolver> m_pMacroResolver;
244ucom::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:74
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:76
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