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))
196 ConnectionParametersHLAChanged,
197 (const DtString& federateType,
198 const DtString& federationName,
199 const DtString& fedFile,
200 bool ignoreAdvisories,
double fomVersion,
int fomRevision,
201 bool useMatrexFomMapper, const DtString& matrexFomMapperData,
202 const DtString& fomMapper, const DtString& fomMapperData,
bool useEmptyFomMapper),
204 DtString& federateType,
205 DtString& federationName,
207 bool& ignoreAdvisories,
double& fomVersion,
int& fomRevision,
208 bool& useMatrexFomMapper, DtString& matrexFomMapperData,
209 DtString& fomMapper, DtString& fomMapperData,
bool& useEmptyFomMapper))
212 ConnectionParametersHLAeChanged,
213 (const DtString& federateName,
214 const DtString& federateType,
215 const DtString& federationName,
216 const DtString& fedFile,
217 const std::vector<DtString>& fomModules,
219 bool ignoreAdvisories,
double fomVersion,
int fomRevision,
220 bool useMatrexFomMapper, const DtString& matrexFomMapperData,
221 const DtString& fomMapper, const DtString& fomMapperData,
bool useEmptyFomMapper),
223 DtString& federateName,
224 DtString& federateType,
225 DtString& federationName,
227 std::vector<DtString>& fomModules,
229 bool& ignoreAdvisories,
double& fomVersion,
int& fomRevision,
230 bool& useMatrexFomMapper, DtString& matrexFomMapperData,
231 DtString& fomMapper, DtString& fomMapperData,
bool& useEmptyFomMapper))
240 SubscriptionListsChanged,
241 (const std::vector<DtString>& objectClasses, const std::vector<DtString>& interactionClasses),
243 std::vector<DtString>& objectClasses, std::vector<DtString>& interactionClasses))
246 TimeManagementSettingsChanged,
247 (
bool timeConstrainedRecording,
bool timeConstrainedPlayback,
248 bool timeRegulatingRecording,
bool timeRegulatingPlayback,
251 bool& timeConstrainedRecording,
bool& timeConstrainedPlayback,
252 bool& timeRegulatingRecording,
bool& timeRegulatingPlayback,
256 TimeManagementEnabled,
257 (
bool enabled,
bool constrained,
bool regulating),
259 bool& enabled,
bool& constrained,
bool& regulating))
262 DrainInputSettingsChanged,
263 (
double maxTime,
double minTime),
265 double& maxTime,
double& minTime))
268 DdmParameterSettingsChanged,
269 (
bool enableDdm, const DtString& playbackMode, const DtString& subscribeMode,
270 bool playbackDynamicAssociation,
bool playbackDynamicExtents,
271 bool allowPlaybackWithoutRegions,
bool recordConveyedRegions,
272 bool requestUpdates,
bool subscribeUnspecifiedAttributes),
274 bool& enableDdm, DtString& playbackMode, DtString& subscribeMode,
275 bool& playbackDynamicAssociation,
bool& playbackDynamicExtents,
276 bool& allowPlaybackWithoutRegions,
bool& recordConveyedRegions,
277 bool& requestUpdates,
bool& subscribeUnspecifiedAttributes))
280 IgnoreAdvisoriesChanged,
286 TrafficAnalyzerChanged,
292 EntityTypeManagerChanged,
304 static const
char* commandToString(
int commandId);
307 static const
char* responseToString(
int responseId);
313 static
DtResponse createDisconnectedResponse();
314 static
DtResponse createLostConnectionResponse(const DtString& reason);
315 static
DtResponse createUnableToConnectResponse(const DtString& reason);