18 #include <vlutil/vlString.h>
23 class DtCommandDefinition;
24 class DtLgrDisEntityTypeManager;
36 SetConnectionParametersHLA,
37 (
const DtString& federateType,
38 const DtString& federationName,
39 const DtString& fedFile,
40 bool ignoreAdvisories,
double fomVersion,
int fomRevision,
41 bool useMatrexFomMapper,
const DtString& matrexFomMapperData,
42 const DtString& fomMapper,
const DtString& fomMapperData,
bool useEmptyFomMapper),
44 DtString& federateName,
45 DtString& federationName,
47 bool& ignoreAdvisories,
double& fomVersion,
int& fomRevision,
48 bool& useMatrexFomMapper, DtString& matrexFomMapperData,
49 DtString& fomMapper, DtString& fomMapperData,
bool& useEmptyFomMapper))
52 SetConnectionParametersHLAe,
53 (
const DtString& federateName,
54 const DtString& federateType,
55 const DtString& federationName,
56 const DtString& fedFile,
57 const std::vector<DtString>& fomModules,
59 bool ignoreAdvisories,
double fomVersion,
int fomRevision,
60 bool useMatrexFomMapper,
const DtString& matrexFomMapperData,
61 const DtString& fomMapper,
const DtString& fomMapperData,
bool useEmptyFomMapper),
63 DtString& federateName,
64 DtString& federateType,
65 DtString& federationName,
67 std::vector<DtString>& fomModules,
69 bool& ignoreAdvisories,
double& fomVersion,
int& fomRevision,
70 bool& useMatrexFomMapper, DtString& matrexFomMapperData,
71 DtString& fomMapper, DtString& fomMapperData,
bool& useEmptyFomMapper))
75 (
bool timeConstrainedRecording,
bool timeConstrainedPlayback,
76 bool timeRegulatingRecording,
bool timeRegulatingPlayback,
79 bool& timeConstrainedRecording,
bool& timeConstrainedPlayback,
80 bool& timeRegulatingRecording,
bool& timeRegulatingPlayback,
90 SetPassiveSubscription,
96 LoadSubscriptionListFile,
97 (
const DtString& filename),
102 SaveSubscriptionListFile,
103 (
const DtString& filename),
108 SetSubscriptionLists,
109 (
const std::vector<DtString>& objectClasses,
const std::vector<DtString>& interactionClasses),
111 std::vector<DtString>& objectClasses, std::vector<DtString>& interactionClasses))
114 SetDisableTimeManagementTest,
115 (
bool disableTesting),
117 bool& disableTesting))
120 SetDynamicNamePrefix,
121 (
const DtString& prefix),
126 LoadPublicationListFile,
127 (
const DtString& filename),
133 (
double maxTime,
double minTime),
135 double& maxTime,
double& minTime))
139 (
bool enableDdm,
const DtString& playbackMode,
const DtString& subscribeMode,
140 bool playbackDynamicAssociation,
bool playbackDynamicExtents,
141 bool allowPlaybackWithoutRegions,
bool recordConveyedRegions,
142 bool requestUpdates,
bool subscribeUnspecifiedAttributes),
144 bool& enableDdm, DtString& playbackMode, DtString& subscribeMode,
145 bool& playbackDynamicAssociation,
bool& playbackDynamicExtents,
146 bool& allowPlaybackWithoutRegions,
bool& recordConveyedRegions,
147 bool& requestUpdates,
bool& subscribeUnspecifiedAttributes))
150 AddTrafficAnalyzerFilter,
156 RemoveTrafficAnalyzerFilter,
162 EnableTrafficAnalyzer,
168 SetEntityTypeManager,
173 SetCommonEntityTypes,
174 ( const std::vector<DtString>& types),
175 ( const
DtCommand& command,std::vector<DtString>& types))
179 ( const std::vector<DtString>& types),
180 ( const
DtCommand& command,std::vector<DtString>& types))
184 ( const std::vector<DtString>& names),
185 ( const
DtCommand& command,std::vector<DtString>& names))
188 SetCommonObjectNames,
189 ( const std::vector<DtString>& names),
190 ( const
DtCommand& command,std::vector<DtString>& names))
193 SetFilterMomSubscription,
205 SetSaveTrafficAnalyzerConfiguration,
211 SetSendOnlyUpdatedValues,
220 ConnectionParametersHLAChanged,
221 (const DtString& federateType,
222 const DtString& federationName,
223 const DtString& fedFile,
224 bool ignoreAdvisories,
double fomVersion,
int fomRevision,
225 bool useMatrexFomMapper, const DtString& matrexFomMapperData,
226 const DtString& fomMapper, const DtString& fomMapperData,
bool useEmptyFomMapper),
228 DtString& federateType,
229 DtString& federationName,
231 bool& ignoreAdvisories,
double& fomVersion,
int& fomRevision,
232 bool& useMatrexFomMapper, DtString& matrexFomMapperData,
233 DtString& fomMapper, DtString& fomMapperData,
bool& useEmptyFomMapper))
236 ConnectionParametersHLAeChanged,
237 (const DtString& federateName,
238 const DtString& federateType,
239 const DtString& federationName,
240 const DtString& fedFile,
241 const std::vector<DtString>& fomModules,
243 bool ignoreAdvisories,
double fomVersion,
int fomRevision,
244 bool useMatrexFomMapper, const DtString& matrexFomMapperData,
245 const DtString& fomMapper, const DtString& fomMapperData,
bool useEmptyFomMapper),
247 DtString& federateName,
248 DtString& federateType,
249 DtString& federationName,
251 std::vector<DtString>& fomModules,
253 bool& ignoreAdvisories,
double& fomVersion,
int& fomRevision,
254 bool& useMatrexFomMapper, DtString& matrexFomMapperData,
255 DtString& fomMapper, DtString& fomMapperData,
bool& useEmptyFomMapper))
264 SubscriptionListsChanged,
265 (const std::vector<DtString>& objectClasses, const std::vector<DtString>& interactionClasses),
267 std::vector<DtString>& objectClasses, std::vector<DtString>& interactionClasses))
270 TimeManagementSettingsChanged,
271 (
bool timeConstrainedRecording,
bool timeConstrainedPlayback,
272 bool timeRegulatingRecording,
bool timeRegulatingPlayback,
275 bool& timeConstrainedRecording,
bool& timeConstrainedPlayback,
276 bool& timeRegulatingRecording,
bool& timeRegulatingPlayback,
280 TimeManagementEnabled,
281 (
bool enabled,
bool constrained,
bool regulating),
283 bool& enabled,
bool& constrained,
bool& regulating))
286 DrainInputSettingsChanged,
287 (
double maxTime,
double minTime),
289 double& maxTime,
double& minTime))
292 DdmParameterSettingsChanged,
293 (
bool enableDdm, const DtString& playbackMode, const DtString& subscribeMode,
294 bool playbackDynamicAssociation,
bool playbackDynamicExtents,
295 bool allowPlaybackWithoutRegions,
bool recordConveyedRegions,
296 bool requestUpdates,
bool subscribeUnspecifiedAttributes),
298 bool& enableDdm, DtString& playbackMode, DtString& subscribeMode,
299 bool& playbackDynamicAssociation,
bool& playbackDynamicExtents,
300 bool& allowPlaybackWithoutRegions,
bool& recordConveyedRegions,
301 bool& requestUpdates,
bool& subscribeUnspecifiedAttributes))
304 IgnoreAdvisoriesChanged,
310 TrafficAnalyzerChanged,
316 EntityTypeManagerChanged,
322 EntityIdFilterChanged,
327 RequestUpdatesChanged,
333 SaveTrafficAnalyzerConfigurationChanged,
339 SendOnlyUpdatedValuesChanged,
345 PassiveSubscriptionChanged,
353 static const
char* commandToString(
int commandId);
356 static const
char* responseToString(
int responseId);
362 static
DtResponse createDisconnectedResponse();
363 static
DtResponse createLostConnectionResponse(const DtString& reason);
364 static
DtResponse createUnableToConnectResponse(const DtString& reason);