VR-Exchange 2.4 API Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
portalApp
portalApp.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
*********************************************************************/
4
#pragma once
5
9
10
11
#include <vlutil/vlNetTypes.h>
//DtU32
12
#include <
portalApp/dllExport.h
>
13
14
class
QApplication;
15
class
DtString
;
16
17
namespace
MAKVrExchange
18
{
19
20
class
DtQueueManager;
21
class
DtPortalAppInitializer;
22
class
DtPortalAppGui;
23
28
class
DT_DLL_LIBPORTALAPP
DtPortalApp
29
{
30
public
:
31
32
typedef
DtQueueManager
* (*DtQueueManagerCreator)(
33
DtU32 numberOfBucketsInQueue ,
34
DtU32 payloadSizePerBucket,
35
int
port,
36
DtU16 theBroker,
37
const
DtString
& objectQueueName,
38
const
DtString
& interactionQueueName,
39
const
DtString
& controlQueueName);
40
41
42
public
:
43
45
DtPortalApp
(
DtPortalAppInitializer
& init );
46
48
virtual
~
DtPortalApp
();
49
51
virtual
void
initialize();
52
53
private
:
54
56
DtPortalApp
(
const
DtPortalApp
& orig );
57
59
DtPortalApp
&operator=(
const
DtPortalApp
& orig );
60
61
public
:
62
64
virtual
void
initFileLogging(
const
DtString
& fileName );
65
68
virtual
int
run();
69
72
virtual
DtPortalAppGui
* portalAppGui();
73
74
public
:
75
77
static
void
setQueueManagerCreator( DtQueueManagerCreator func );
78
79
protected
:
80
81
static
DtQueueManagerCreator
theQueueManagerCreator
;
82
83
protected
:
84
85
DtQueueManager
*
myQueueManager
;
86
bool
myUseGuiFlag
;
87
bool
myOkToShutdownFlag
;
88
int
myArgc
;
89
QApplication *
myQtApp
;
90
DtPortalAppGui
*
myMainWindow
;
91
DtPortalAppInitializer
&
myInitializer
;
92
93
};
94
}
95
Document ID: Generated on Thu Jul 23 10:25:22 EDT 2015 from SVN revision 155065
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)