ADTF Qt5
Loading...
Searching...
No Matches
clock.h
Go to the documentation of this file.
1
7
8/*
9 * This file depends on Qt which is licensed under LGPLv3.
10 * See ADTF_DIR/3rdparty/qt5 and doc/license for detailed information.
11 */
12#pragma once
13
14#include <adtfucom3/adtf_ucom3.h>
15#include <adtfstreaming3/reference_clock_intf.h>
16#include <QObject>
17
18namespace adtf
19{
20
21namespace javascript
22{
23
24namespace scripting
25{
26
30class cScriptClock : public QObject
31{
32 Q_OBJECT
33
34public:
38
45 Q_INVOKABLE qint64 getStreamTime();
46
47private:
49 // due to garbage collection we cannot keep the reference forever
50 ucom::weak_object_ptr<adtf::services::IReferenceClock> m_pClock;
52};
53
54} // namespace scripting
55} // namespace javascript
56} // namespace adtf
Definition clock.h:25
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