VR-Exchange 2.1 API Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
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 <
namespace.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 Tue Aug 7 22:07:13 EDT 2012 from SVN revision 117874
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (
www.mak.com
)