VR-Exchange 2.2 API Documentation
disBrokerApp.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2013 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <broker/brokerThread.h>
13 
14 class DtString;
15 
16 class QTimer;
17 class QApplication;
18 
19 namespace MAKVrExchange
20 {
21 
22  namespace DtDisBroker
23  {
24 
25  class DtDisBroker;
26  class DtDisBrokerInitializer;
27  class DtGenericUserInterface;
28 
33  class DT_DLL_DISBROKER DtDisBrokerApp
34  {
35  public:
36 
39  typedef DtDisBroker* (*DtDisBrokerCreator)( DtDisBrokerInitializer* );
40 
41  public:
42 
48 
50  virtual ~DtDisBrokerApp();
51 
52  public:
53 
57  static void setDisBrokerCreator( DtDisBrokerCreator func );
58 
59  private:
60 
62  DtDisBrokerApp(const DtDisBrokerApp& other);
63 
65  DtDisBrokerApp& operator=(const DtDisBrokerApp& other);
66 
67  public:
68 
70  virtual DtDisBroker *disBroker();
71 
77  virtual int showInfoDialog();
78 
87  virtual int run();
88 
89  protected:
90 
92  static DtDisBrokerCreator theDisBrokerCreator;
93 
94  protected:
95 
98 
101 
103  QApplication* myQApp;
104 
107 
108  };
109 
110  }
111 }

Document ID: Generated on Mon Apr 15 17:15:50 EDT 2013 from SVN revision 126154
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)