MAK RTIspy API Documentation for HLA 1516
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
libsrc
rtiAssistantApp
assistantSignalIds.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2012 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
6
#ifndef assistantSignalIds_H_
7
#define assistantSignalIds_H_
8
9
#include <vlutil/vlString.h>
10
#include <vlutil/vlPrint.h>
11
13
enum
DtAssistantSignalId
14
{
15
// <---- Start configuration parameter signals
16
DtLogUpdateIntervalUpdatedSig
,
17
DtKeepAliveUpdatedSig
,
18
DtLatencyTestInteractionPeriodMsUpdatedSig
,
19
DtLatencyTestNumInteractionsUpdatedSig
,
20
DtLatencyTestPayloadBytesUpdatedSig
,
21
DtDisplayPopupsAsNotificationsUpdatedSig
,
22
DtEnableNotificationsUpdatedSig
,
23
DtLightweightMemorySecUpdatedSig
,
24
DtDefunctFederateRemovalTimeSecUpdatedSig
,
25
DtAssistantUpdateIntervalSecUpdatedSig
,
26
DtLrcUpdateIntervalSecUpdatedSig
,
27
DtShowRtiexecStartupPromptUpdatedSig
,
28
DtAcceptRemoteCommandsUpdatedSig
,
29
DtAssistantPersistentUpdatedSig
,
30
DtDefaultToUnlicensedUpdatedSig
,
31
DtWarningTickIntervalUpdatedSig
,
32
DtDisplayRemoteNotificationsUpdatedSig
,
33
DtDisplayFederationColorsUpdatedSig
,
34
DtFederateIdentifierUpdatedSig
,
35
DtUpdateLogUpdateIntervalSig
,
36
DtUpdateKeepAliveSig
,
37
DtUpdateLatencyTestInteractionPeriodMsSig
,
38
DtUpdateLatencyTestNumInteractionsSig
,
39
DtUpdateLatencyTestPayloadBytesSig
,
40
DtUpdateDisplayPopupsAsNotificationsSig
,
41
DtUpdateEnableNotificationsSig
,
42
DtUpdateLightweightMemorySecSig
,
43
DtUpdateDefunctFederateRemovalTimeSecSig
,
44
DtUpdateAssistantUpdateIntervalSecSig
,
45
DtUpdateLrcUpdateIntervalSecSig
,
46
DtUpdateShowRtiexecStartupPromptSig
,
47
DtUpdateAcceptRemoteCommandsSig
,
48
DtUpdateAssistantPersistentSig
,
49
DtUpdateDefaultToUnlicensedSig
,
50
DtUpdateWarningTickIntervalSig
,
51
DtUpdateDisplayRemoteNotificationsSig
,
52
DtUpdateDisplayFederationColorsSig
,
53
DtUpdateFederateIdentifierSig
,
54
// End configuration parameter signals ----->
55
DtSavePreferencesSig
,
56
DtShowConfigSig
,
57
DtShowConfigPageSig
,
58
DtUpdateLocalComponentSig
,
59
DtLrcComponentAddedSig
,
60
DtRtiexecComponentAddedSig
,
61
DtForwarderComponentAddedSig
,
62
DtSharedMemComponentAddedSig
,
63
DtLrcComponentRemovedSig
,
64
DtRtiexecComponentRemovedSig
,
65
DtForwarderComponentRemovedSig
,
66
DtSharedMemComponentRemovedSig
,
67
DtLrcComponentRemovedUnexpectedlySig
,
68
DtRtiexecComponentRemovedUnexpectedlySig
,
69
DtForwarderComponentRemovedUnexpectedlySig
,
70
DtSharedMemComponentRemovedUnexpectedlySig
,
71
DtLrcComponentRenamedSig
,
72
DtRtiexecComponentRenamedSig
,
73
DtForwarderComponentRenamedSig
,
74
DtSharedMemComponentRenamedSig
,
75
DtLrcComponentConnectedSig
,
76
DtRtiexecComponentConnectedSig
,
77
DtForwarderComponentConnectedSig
,
78
DtLrcComponentDisconnectedSig
,
79
DtRtiexecComponentDisconnectedSig
,
80
DtForwarderComponentDisconnectedSig
,
81
DtLrcComponentUpdatedSig
,
82
DtRtiexecComponentUpdatedSig
,
83
DtForwarderComponentUpdatedSig
,
84
DtSharedMemComponentUpdatedSig
,
85
DtLocalFederateJoinedSig
,
86
DtLocalFederateResignedSig
,
87
DtForwarderHasRtiexecSig
,
88
DtForwarderHasNoRtiexecSig
,
89
DtRtiConnHeartbeatSig
,
90
DtRtiConnPruneSig
,
91
DtRtiConnsAddedOrUpdatedSig
,
92
DtRtiConnsAboutToBeRemovedSig
,
93
DtRtiConnsRemovedSig
,
94
DtRemoteAssistantFoundSig
,
95
DtRemoteAssistantLostSig
,
96
DtRtiexecStartupRequestedSig
,
97
DtFederationAddedSig
,
98
DtFederationUpdatedSig
,
99
DtFederationRemovedSig
,
100
DtFederateAddedSig
,
101
DtFederateUpdatedSig
,
102
DtFederateRemovedSig
,
103
DtRtiexecHasNoFederationsSig
,
104
DtForwarderAddedSig
,
105
DtForwarderConnUpdatedSig
,
106
DtForwarderUpdatedSig
,
107
DtForwarderRemovedSig
,
108
DtShutdownSig
,
109
DtDisplayActiveWarningDialogsSig
,
110
DtShowLrcLatencyTestDialogSig
,
111
DtShowRtiexecLatencyTestDialogSig
,
112
DtDisplayRemoteFederateStatsDialogSig
,
113
DtShowFederationsDialogSig
,
114
DtDisableCompLatencyTestSig
,
115
DtEnableCompLatencyTestSig
,
116
DtShowAboutBoxSig
,
117
DtLocalCompNotificationSig
,
118
DtNotificationSig
,
119
DtLocalCompPopupSig
,
120
DtPopupSig
,
121
DtWarningDialogDisplayedSig
,
122
DtWarningDialogDismissedSig
,
123
DtRequestFederateLocSig
,
124
DtFederateLocReceivedSig
,
125
DtDisplayComponentLogSig
,
126
DtDisplayFomDialogSig
,
127
128
DtNumAssistantSignalIds
129
};
130
131
#define DtSTRINGIFY_SIG_ID(id) \
132
case id: \
133
output = #id; \
134
break;
135
136
inline
std::ostream&
operator<<
( std::ostream& str,
DtAssistantSignalId
id
)
137
{
138
MAKRti::DtString output;
139
switch
(
id
)
140
{
141
DtSTRINGIFY_SIG_ID
(
DtLogUpdateIntervalUpdatedSig
)
142
DtSTRINGIFY_SIG_ID
(
DtKeepAliveUpdatedSig
)
143
DtSTRINGIFY_SIG_ID
(
DtLatencyTestInteractionPeriodMsUpdatedSig
)
144
DtSTRINGIFY_SIG_ID
(
DtLatencyTestNumInteractionsUpdatedSig
)
145
DtSTRINGIFY_SIG_ID
(
DtLatencyTestPayloadBytesUpdatedSig
)
146
DtSTRINGIFY_SIG_ID
(
DtDisplayPopupsAsNotificationsUpdatedSig
)
147
DtSTRINGIFY_SIG_ID
(
DtEnableNotificationsUpdatedSig
)
148
DtSTRINGIFY_SIG_ID
(
DtLightweightMemorySecUpdatedSig
)
149
DtSTRINGIFY_SIG_ID
(
DtDefunctFederateRemovalTimeSecUpdatedSig
)
150
DtSTRINGIFY_SIG_ID
(
DtAssistantUpdateIntervalSecUpdatedSig
)
151
DtSTRINGIFY_SIG_ID
(
DtLrcUpdateIntervalSecUpdatedSig
)
152
DtSTRINGIFY_SIG_ID
(
DtShowRtiexecStartupPromptUpdatedSig
)
153
DtSTRINGIFY_SIG_ID
(
DtAcceptRemoteCommandsUpdatedSig
)
154
DtSTRINGIFY_SIG_ID
(
DtAssistantPersistentUpdatedSig
)
155
DtSTRINGIFY_SIG_ID
(
DtDefaultToUnlicensedUpdatedSig
)
156
DtSTRINGIFY_SIG_ID
(
DtWarningTickIntervalUpdatedSig
)
157
DtSTRINGIFY_SIG_ID
(
DtDisplayRemoteNotificationsUpdatedSig
)
158
DtSTRINGIFY_SIG_ID
(
DtDisplayFederationColorsUpdatedSig
)
159
DtSTRINGIFY_SIG_ID
(
DtFederateIdentifierUpdatedSig
)
160
DtSTRINGIFY_SIG_ID
(
DtUpdateLogUpdateIntervalSig
)
161
DtSTRINGIFY_SIG_ID
(
DtUpdateKeepAliveSig
)
162
DtSTRINGIFY_SIG_ID
(
DtUpdateLatencyTestInteractionPeriodMsSig
)
163
DtSTRINGIFY_SIG_ID
(
DtUpdateLatencyTestNumInteractionsSig
)
164
DtSTRINGIFY_SIG_ID
(
DtUpdateLatencyTestPayloadBytesSig
)
165
DtSTRINGIFY_SIG_ID
(
DtUpdateDisplayPopupsAsNotificationsSig
)
166
DtSTRINGIFY_SIG_ID
(
DtUpdateEnableNotificationsSig
)
167
DtSTRINGIFY_SIG_ID
(
DtUpdateLightweightMemorySecSig
)
168
DtSTRINGIFY_SIG_ID
(
DtUpdateDefunctFederateRemovalTimeSecSig
)
169
DtSTRINGIFY_SIG_ID
(
DtUpdateAssistantUpdateIntervalSecSig
)
170
DtSTRINGIFY_SIG_ID
(
DtUpdateLrcUpdateIntervalSecSig
)
171
DtSTRINGIFY_SIG_ID
(
DtUpdateShowRtiexecStartupPromptSig
)
172
DtSTRINGIFY_SIG_ID
(
DtUpdateAcceptRemoteCommandsSig
)
173
DtSTRINGIFY_SIG_ID
(
DtUpdateAssistantPersistentSig
)
174
DtSTRINGIFY_SIG_ID
(
DtUpdateDefaultToUnlicensedSig
)
175
DtSTRINGIFY_SIG_ID
(
DtUpdateWarningTickIntervalSig
)
176
DtSTRINGIFY_SIG_ID
(
DtUpdateDisplayRemoteNotificationsSig
)
177
DtSTRINGIFY_SIG_ID
(
DtUpdateDisplayFederationColorsSig
)
178
DtSTRINGIFY_SIG_ID
(
DtUpdateFederateIdentifierSig
)
179
DtSTRINGIFY_SIG_ID
(
DtSavePreferencesSig
)
180
DtSTRINGIFY_SIG_ID
(
DtShowConfigSig
)
181
DtSTRINGIFY_SIG_ID
(
DtShowConfigPageSig
)
182
DtSTRINGIFY_SIG_ID
(
DtUpdateLocalComponentSig
)
183
DtSTRINGIFY_SIG_ID
(
DtLrcComponentAddedSig
)
184
DtSTRINGIFY_SIG_ID
(
DtRtiexecComponentAddedSig
)
185
DtSTRINGIFY_SIG_ID
(
DtForwarderComponentAddedSig
)
186
DtSTRINGIFY_SIG_ID
(
DtSharedMemComponentAddedSig
)
187
DtSTRINGIFY_SIG_ID
(
DtLrcComponentRemovedSig
)
188
DtSTRINGIFY_SIG_ID
(
DtRtiexecComponentRemovedSig
)
189
DtSTRINGIFY_SIG_ID
(
DtForwarderComponentRemovedSig
)
190
DtSTRINGIFY_SIG_ID
(
DtSharedMemComponentRemovedSig
)
191
DtSTRINGIFY_SIG_ID
(
DtLrcComponentRemovedUnexpectedlySig
)
192
DtSTRINGIFY_SIG_ID
(
DtRtiexecComponentRemovedUnexpectedlySig
)
193
DtSTRINGIFY_SIG_ID
(
DtForwarderComponentRemovedUnexpectedlySig
)
194
DtSTRINGIFY_SIG_ID
(
DtSharedMemComponentRemovedUnexpectedlySig
)
195
DtSTRINGIFY_SIG_ID
(
DtLrcComponentRenamedSig
)
196
DtSTRINGIFY_SIG_ID
(
DtRtiexecComponentRenamedSig
)
197
DtSTRINGIFY_SIG_ID
(
DtForwarderComponentRenamedSig
)
198
DtSTRINGIFY_SIG_ID
(
DtSharedMemComponentRenamedSig
)
199
DtSTRINGIFY_SIG_ID
(
DtLrcComponentConnectedSig
)
200
DtSTRINGIFY_SIG_ID
(
DtRtiexecComponentConnectedSig
)
201
DtSTRINGIFY_SIG_ID
(
DtForwarderComponentConnectedSig
)
202
DtSTRINGIFY_SIG_ID
(
DtLrcComponentDisconnectedSig
)
203
DtSTRINGIFY_SIG_ID
(
DtRtiexecComponentDisconnectedSig
)
204
DtSTRINGIFY_SIG_ID
(
DtForwarderComponentDisconnectedSig
)
205
DtSTRINGIFY_SIG_ID
(
DtLrcComponentUpdatedSig
)
206
DtSTRINGIFY_SIG_ID
(
DtRtiexecComponentUpdatedSig
)
207
DtSTRINGIFY_SIG_ID
(
DtForwarderComponentUpdatedSig
)
208
DtSTRINGIFY_SIG_ID
(
DtSharedMemComponentUpdatedSig
)
209
DtSTRINGIFY_SIG_ID
(
DtLocalFederateJoinedSig
)
210
DtSTRINGIFY_SIG_ID
(
DtLocalFederateResignedSig
)
211
DtSTRINGIFY_SIG_ID
(
DtForwarderHasRtiexecSig
)
212
DtSTRINGIFY_SIG_ID
(
DtForwarderHasNoRtiexecSig
)
213
DtSTRINGIFY_SIG_ID
(
DtRtiConnHeartbeatSig
)
214
DtSTRINGIFY_SIG_ID
(
DtRtiConnPruneSig
)
215
DtSTRINGIFY_SIG_ID
(
DtRtiConnsAddedOrUpdatedSig
)
216
DtSTRINGIFY_SIG_ID
(
DtRtiConnsAboutToBeRemovedSig
)
217
DtSTRINGIFY_SIG_ID
(
DtRtiConnsRemovedSig
)
218
DtSTRINGIFY_SIG_ID
(
DtRemoteAssistantFoundSig
)
219
DtSTRINGIFY_SIG_ID
(
DtRemoteAssistantLostSig
)
220
DtSTRINGIFY_SIG_ID
(
DtRtiexecStartupRequestedSig
)
221
DtSTRINGIFY_SIG_ID
(
DtFederationAddedSig
)
222
DtSTRINGIFY_SIG_ID
(
DtFederationUpdatedSig
)
223
DtSTRINGIFY_SIG_ID
(
DtFederationRemovedSig
)
224
DtSTRINGIFY_SIG_ID
(
DtFederateAddedSig
)
225
DtSTRINGIFY_SIG_ID
(
DtFederateUpdatedSig
)
226
DtSTRINGIFY_SIG_ID
(
DtFederateRemovedSig
)
227
DtSTRINGIFY_SIG_ID
(
DtRtiexecHasNoFederationsSig
)
228
DtSTRINGIFY_SIG_ID
(
DtForwarderAddedSig
)
229
DtSTRINGIFY_SIG_ID
(
DtForwarderConnUpdatedSig
)
230
DtSTRINGIFY_SIG_ID
(
DtForwarderUpdatedSig
)
231
DtSTRINGIFY_SIG_ID
(
DtForwarderRemovedSig
)
232
DtSTRINGIFY_SIG_ID
(
DtShutdownSig
)
233
DtSTRINGIFY_SIG_ID
(
DtDisplayActiveWarningDialogsSig
)
234
DtSTRINGIFY_SIG_ID
(
DtShowLrcLatencyTestDialogSig
)
235
DtSTRINGIFY_SIG_ID
(
DtShowRtiexecLatencyTestDialogSig
)
236
DtSTRINGIFY_SIG_ID
(
DtDisplayRemoteFederateStatsDialogSig
)
237
DtSTRINGIFY_SIG_ID
(
DtShowFederationsDialogSig
)
238
DtSTRINGIFY_SIG_ID
(
DtDisableCompLatencyTestSig
)
239
DtSTRINGIFY_SIG_ID
(
DtEnableCompLatencyTestSig
)
240
DtSTRINGIFY_SIG_ID
(
DtShowAboutBoxSig
)
241
DtSTRINGIFY_SIG_ID
(
DtLocalCompNotificationSig
)
242
DtSTRINGIFY_SIG_ID
(
DtNotificationSig
)
243
DtSTRINGIFY_SIG_ID
(
DtLocalCompPopupSig
)
244
DtSTRINGIFY_SIG_ID
(
DtPopupSig
)
245
DtSTRINGIFY_SIG_ID
(
DtWarningDialogDisplayedSig
)
246
DtSTRINGIFY_SIG_ID
(
DtWarningDialogDismissedSig
)
247
DtSTRINGIFY_SIG_ID
(
DtRequestFederateLocSig
)
248
DtSTRINGIFY_SIG_ID
(
DtFederateLocReceivedSig
)
249
DtSTRINGIFY_SIG_ID
(
DtDisplayComponentLogSig
)
250
DtSTRINGIFY_SIG_ID
(
DtDisplayFomDialogSig
);
251
252
default
:
253
output = id;
254
break
;
255
}
256
return
str << output;
257
}
258
260
enum
DtAssistantQueryId
261
{
262
// TODO: We don't have many "query" signals/slots right now, but I would like
263
// to eventually add more so that no managers have any knowledge of any
264
// other managers. Query signals need to have some kind of response. Since
265
// signals happen synchronously, the response should either be in some
266
// parameter passed by reference or a pointer to a pointer.
267
// DtLocalComponentQuery,
268
// DtAllLocalComponentsQuery,
269
// DtLocalRtiexecsQuery,
270
// DtLocalForwardersQuery,
271
// DtLocalSharedMemQuery,
272
// DtPrintLocalComponentsQuery,
273
// DtPrintFederationListQuery,
274
// DtPrintRtiexecComponentsQuery,
275
// DtPrintForwarderComponentsQuery,
276
277
DtFederateInfoQuery
,
278
DtFederationInfoQuery
,
279
DtForwarderInfoQuery
,
280
281
DtNumAssistantQueryIds
282
};
283
284
285
inline
std::ostream&
operator<<
( std::ostream& str,
DtAssistantQueryId
id
)
286
{
287
MAKRti::DtString output;
288
switch
(
id
)
289
{
290
DtSTRINGIFY_SIG_ID
(
DtFederateInfoQuery
)
291
DtSTRINGIFY_SIG_ID
(
DtFederationInfoQuery
)
292
DtSTRINGIFY_SIG_ID
(
DtForwarderInfoQuery
)
293
294
default
:
295
output = id;
296
break
;
297
}
298
return
str << output;
299
}
300
301
#endif
Document ID: Generated on Fri Mar 14 19:08:55 EDT 2014 from SVN revision 137085
Copyright © 2005-2014 VT MÄK Inc. All Rights Reserved (
www.mak.com
)