VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtQtDeTicker.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtQtDeTicker.h,v $ $Revision: 1.21 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 #include <vrvCoreQt/vrvCoreQt.h>
16 #include <QtCore/QObject>
17 #include <QtCore/QTimer>
18 
19 class DtTimedSection;
20 
21 namespace makVrv
22 {
23  class DtDe;
24 
30  {
31 
32  Q_OBJECT
33 
34  public:
35  friend class DtQtDeTickerProvider;
36  ~DtQtDeTicker();
37 
38  public slots:
39 
43  virtual void tick();
44 
45  protected:
46 
50  class DirectTickerTimer : public QTimer
51  {
52  public:
54  protected:
56  virtual bool event(QEvent* e);
58  };
59 
61  DtQtDeTicker(DtDe& de, QObject* parent);
62 
63  protected:
64 
66  DtTimedSection* myPerformanceTimer;
67  QTimer* myTimer;
68 
69  };
70 
75  {
76 
77  public:
78 
80  virtual ~DtQtDeTickerProvider();
81 
83  static DtQtDeTickerProvider& instance(DtDe& de);
84 
86  static void registerInstance(DtDe& de, DtQtDeTickerProvider* instance);
87 
90  DtQtDeTicker* ticker(QObject* parent);
91 
92  protected:
93 
96 
97  protected:
98 
101 
102  };
103 }

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)