VR-Exchange 2.2 API Documentation
rprBrokerApp.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 DtRprBroker
23  {
24 
25  class DtRprBroker;
26  class DtRprBrokerInitializer;
27  class DtGenericUserInterface;
28 
30  class DT_DLL_RPRBROKER DtRprBrokerApp
31  {
32  public:
33 
35  typedef DtRprBroker* (*DtRprBrokerCreator)(DtRprBrokerInitializer* init);
36 
37  public:
38 
42 
44  ~DtRprBrokerApp();
45 
46  public:
47 
49  static void setRprBrokerCreator(DtRprBrokerCreator func);
50 
51  private:
52 
54  DtRprBrokerApp(const DtRprBrokerApp& other);
55 
57  DtRprBrokerApp& operator=(const DtRprBrokerApp& other);
58 
59  public:
60 
62  virtual DtRprBroker *rprBroker();
63 
69  virtual int run();
70 
75  virtual int showInfoDialog();
76 
77  protected:
78 
79  static DtRprBrokerCreator theRprBrokerCreator;
80 
81  protected:
82 
85  QApplication* myQApp;
86 
89 
90  };
91 
92  }
93 }

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)