VR-Exchange 2.5 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
portalApp.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2015 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <portalApp/dllExport.h>
13 #include <vlutil/vlNetTypes.h>
14 
15 class DtString;
16 class QApplication;
17 
18 namespace MAKVrExchange
19 {
20 
21  class DtQueueManager;
22  class DtPortalAppGui;
23  class DtPortalAppInitializer;
24 
30  {
31  public:
32 
33  typedef DtQueueManager* (*DtQueueManagerCreator)(
34  DtU32 numberOfBucketsInQueue ,
35  DtU32 payloadSizePerBucket,
36  int port,
37  DtU16 theBroker,
38  const DtString& objectQueueName,
39  const DtString& interactionQueueName,
40  const DtString& controlQueueName);
41 
42  public:
43 
46 
48  virtual ~DtPortalApp();
49 
51  virtual void initialize();
52 
54  virtual void initFileLogging( const DtPortalAppInitializer& init );
55 
58  virtual int run();
59 
62  virtual DtPortalAppGui* portalAppGui();
63 
65  static void setQueueManagerCreator( DtQueueManagerCreator func );
66 
67  private:
68 
70  DtPortalApp( const DtPortalApp& orig );
71 
73  DtPortalApp& operator = ( const DtPortalApp& orig );
74 
75  protected:
76 
77  static DtQueueManagerCreator theQueueManagerCreator;
78 
82  int myArgc;
83  QApplication* myQtApp;
86 
87  };
88 
89 }

Document ID: Generated on Wed Dec 21 15:05:11 EST 2016 from SVN revision 171891
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)