VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfGuiCore
aggregateState.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2013 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
8
10
11
#pragma once
12
13
#include <
vrfGuiCore/vrfGuiCore.h
>
14
#include <
vrvCore/DtEntityState.h
>
15
#include <
vrfutil/rwProperties.h
>
16
#include <
vrfGuiCore/vrfintPtrDefine.h
>
17
#include <vlutil/vlScopedLock.h>
18
#include <
vrvCore/DtStateViewCollection.h
>
19
20
namespace
makVrv
21
{
22
class
DtMessage;
23
}
24
25
namespace
makVrf
26
{
30
struct
DT_DLL_VRFGUICORE
DtVrlinkNetworkUpdateSimulatedAggregateState
:
public
makVrv::DtVrlinkSimulatedEntityState
31
{
32
public
:
33
35
DtVrlinkNetworkUpdateSimulatedAggregateState
();
36
DtVrlinkNetworkUpdateSimulatedAggregateState
(
const
DtVrlinkNetworkUpdateSimulatedAggregateState
&);
37
39
virtual
~
DtVrlinkNetworkUpdateSimulatedAggregateState
();
40
41
DtVrlinkNetworkUpdateSimulatedAggregateState
& operator=(
const
DtVrlinkNetworkUpdateSimulatedAggregateState
&);
42
bool
operator==
(
const
DtVrlinkNetworkUpdateSimulatedAggregateState
&)
const
;
43
bool
operator!=
(
const
DtVrlinkNetworkUpdateSimulatedAggregateState
& rhs)
const
44
{
45
return
!(*
this
== rhs);
46
}
47
48
public
:
49
DtVector
myDimensions
;
50
int
myAggregateState
;
51
int
myFormationType
;
52
std::string
myFormation
;
53
std::vector<std::string>
mySubAggregates
;
54
std::vector<std::string>
mySubEntities
;
55
std::map<std::string, int>
mySubordinateOrder
;
56
std::map<std::string, std::string>
myExtendedData
;
57
58
typedef
struct
_DtSilentEntityRecord
59
{
60
int
myNumSilentEntities
;
61
std::string
myEntityType
;
62
std::vector<int>
myAppearances
;
63
}
DtSilentEntityRecord
;
64
std::vector<DtSilentEntityRecord>
mySilentEntities
;
65
66
std::vector<std::pair<int, std::string> >
mySilentAggregates
;
67
69
std::map<int, uintptr_t>
myStateDataUpdateBuffers
;
70
std::map<int, uintptr_t>
myGuiStateDataUpdateBuffers
;
71
72
std::string
myStatePropertiesName
;
73
};
74
75
struct
DT_DLL_VRFGUICORE
DtVrlinkSimulatedAggregateState
:
public
DtVrlinkNetworkUpdateSimulatedAggregateState
76
{
77
78
public
:
79
81
DtVrlinkSimulatedAggregateState
();
82
DtVrlinkSimulatedAggregateState
(
const
DtVrlinkSimulatedAggregateState
&);
83
85
virtual
~
DtVrlinkSimulatedAggregateState
();
86
87
DtVrlinkSimulatedAggregateState
& operator=(
const
DtVrlinkNetworkUpdateSimulatedAggregateState
&);
88
DtVrlinkSimulatedAggregateState
& operator=(
const
DtVrlinkSimulatedAggregateState
&);
89
bool
operator==
(
const
DtVrlinkSimulatedAggregateState
&)
const
;
90
bool
operator!=
(
const
DtVrlinkSimulatedAggregateState
& rhs)
const
91
{
92
return
!(*
this
== rhs);
93
}
94
95
public
:
96
bool
myStatePropertiesInitialized
;
97
DtRwProperties
myStateProperties
;
98
bool
myStatePropertiesUpdated
;
99
};
100
102
DT_DLL_VRFGUICORE
makVrv::DtMessage
&
operator<<
(
makVrv::DtMessage
& msg,
const
DtVrlinkNetworkUpdateSimulatedAggregateState
& state );
103
105
DT_DLL_VRFGUICORE
makVrv::DtMessage
&
operator>>
(
makVrv::DtMessage
& msg,
DtVrlinkSimulatedAggregateState
& state );
106
108
DT_DLL_VRFGUICORE
makVrv::DtMessage
&
operator<<
(
makVrv::DtMessage
& msg,
const
DtVrlinkSimulatedAggregateState
& state );
109
111
DT_DLL_VRFGUICORE
makVrv::DtMessage
&
operator>>
(
makVrv::DtMessage
& msg,
DtVrlinkNetworkUpdateSimulatedAggregateState
& state );
112
114
DT_DLL_VRFGUICORE
makVrv::DtMessage
& operator<<( makVrv::DtMessage& msg,const std::map<int, uintptr_t>& state );
115
117
DT_DLL_VRFGUICORE
makVrv::DtMessage
&
operator>>
(
makVrv::DtMessage
& msg, std::map<int, uintptr_t>& state );
118
120
DT_DLL_VRFGUICORE
makVrv::DtMessage
& operator<<( makVrv::DtMessage& msg,const std::map<std::string, int>& state );
121
123
DT_DLL_VRFGUICORE
makVrv::DtMessage
&
operator>>
(
makVrv::DtMessage
& msg, std::map<std::string, int>& state );
124
126
DT_DLL_VRFGUICORE
makVrv::DtMessage
&
operator<<
(
makVrv::DtMessage
& msg,
const
DtRwProperties
& properties );
127
129
DT_DLL_VRFGUICORE
makVrv::DtMessage
&
operator>>
(
makVrv::DtMessage
& msg,
DtRwProperties
& state );
130
132
typedef
makVrv::DtStateView<DtVrlinkSimulatedAggregateState>
DtVrlinkAggregateStateView
;
133
135
class
DT_DLL_VRFGUICORE
DtAggregateStateViewCollection
:
public
makVrv::DtStateViewCollection
<DtVrlinkSimulatedAggregateState>
136
{
137
public
:
138
DtAggregateStateViewCollection
(
makVrv::DtDe
& de) :
139
makVrv::DtStateViewCollection<
DtVrlinkSimulatedAggregateState
>(de, makVrv::DtSimEntryUpdater::NoUpdates)
140
{
141
}
142
};
143
}
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)