ADTF
clock.h
Go to the documentation of this file.
1 
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>
16 #include <QObject>
17 
18 namespace adtf
19 {
20 
21 namespace javascript
22 {
23 
24 namespace scripting
25 {
26 
30 class cScriptClock: public QObject
31 {
32  Q_OBJECT
33 
34  public:
36  cScriptClock();
38 
45  Q_INVOKABLE qint64 getStreamTime();
46  private:
48  // due to garbage collection we cannot keep the reference forever
51 };
52 
53 }
54 }
55 }
Copyright © Audi Electronics Venture GmbH.
Provides the global 'clock' object within scripts.
Definition: clock.h:31
Implementation of a weak pointer for usage with iobject_ptr and object_ptr.
Namespace for entire ADTF SDK.
Copyright © Audi Electronics Venture GmbH.