VR-Forces 4.3.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfGuiCoreQt
hostilityMatrixDialogLogic.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2009 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtHostilityMatrixDialogLogic.h,v $ $Revision: 1.1 $ $State: Exp $
7
******************************************************************************/
8
11
13
14
#pragma once
15
16
#include <
vrfGuiCoreQt/vrfGuiCoreQt.h
>
17
18
#include <vlutil/vlString.h>
19
#include <vector>
20
21
class
QCheckBox
;
22
23
namespace
makVrv
24
{
25
class
DtDe;
26
}
27
28
class
DtSimMessage
;
29
30
namespace
makVrf
31
{
32
class
DtHostilityMatrixDialogInterface;
33
34
class
DT_DLL_VRFGUICOREQT
DtHostilityMatrixDialogLogic
35
{
36
public
:
37
typedef
std::vector<bool>
DtHostilityVector
;
38
typedef
std::vector<DtHostilityVector>
DtHostilityMatrix
;
39
typedef
std::vector<DtString>
DtNameVector
;
40
41
public
:
42
//CTOR
43
DtHostilityMatrixDialogLogic
(
makVrv::DtDe
& de,
DtHostilityMatrixDialogInterface
*);
44
45
//DTOR
46
virtual
~
DtHostilityMatrixDialogLogic
();
47
48
public
:
49
virtual
void
setupGui();
50
51
virtual
void
apply();
52
virtual
void
setToDefaults();
53
54
virtual
void
hostilityChanged(
int
row,
int
col,
QCheckBox
*);
55
56
protected
:
57
virtual
void
processHostilityMatrixCallback(
DtSimMessage
* msg);
58
59
protected
:
60
makVrv::DtDe
&
myDe
;
61
DtHostilityMatrixDialogInterface
*
myInterface
;
62
DtHostilityMatrix
myHostilityMatrix
;
63
std::vector<DtString>
myForceNames
;
64
std::vector<int>
myForceTypeVector
;
65
};
66
}
Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)