18 #include <vlutil/vlString.h>
23 class DtCommandDefinition;
24 class DtLgrDisEntityTypeManager;
43 (
const DtString& federateType,
const DtString& federationName,
const DtString& fedFile,
44 bool ignoreAdvisories,
double fomVersion,
int fomRevision,
bool useMatrexFomMapper,
45 const DtString& matrexFomMapperData,
46 const DtString& fomMapper,
const DtString& fomMapperData,
bool useEmptyFomMapper,
bool noRtiCompilerCheck),
47 (
const DtCommand& command, DtString& federateName, DtString& federationName,
48 DtString& fedFile,
bool& ignoreAdvisories,
double& fomVersion,
int& fomRevision,
49 bool& useMatrexFomMapper, DtString& matrexFomMapperData, DtString& fomMapper,
50 DtString& fomMapperData,
bool& useEmptyFomMapper,
bool& noRtiCompilerCheck))
53 (const DtString& federateName, const DtString& federateType, const DtString& federationName,
54 const DtString& fedFile, const std::vector<DtString>& fomModules, const DtString& mim,
55 bool ignoreAdvisories,
double fomVersion,
int fomRevision,
bool useMatrexFomMapper,
56 const DtString& matrexFomMapperData, const DtString& fomMapper,
57 const DtString& fomMapperData,
bool useEmptyFomMapper,
bool noRtiCompilerCheck),
58 (const
DtCommand& command, DtString& federateName, DtString& federateType,
59 DtString& federationName, DtString& fedFile, std::vector<DtString>& fomModules,
60 DtString& mim,
bool& ignoreAdvisories,
double& fomVersion,
int& fomRevision,
61 bool& useMatrexFomMapper, DtString& matrexFomMapperData, DtString& fomMapper,
62 DtString& fomMapperData,
bool& useEmptyFomMapper,
bool& noRtiCompilerCheck))
65 (
bool timeConstrainedRecording,
bool timeConstrainedPlayback,
bool timeRegulatingRecording,
66 bool timeRegulatingPlayback,
double lookahead),
67 (const
DtCommand& command,
bool& timeConstrainedRecording,
bool& timeConstrainedPlayback,
68 bool& timeRegulatingRecording,
bool& timeRegulatingPlayback,
double& lookahead))
76 (const
DtCommand& command,
bool& passive))
79 (const DtString& filename),
80 (const
DtCommand& command, DtString& filename))
83 (const DtString& filename),
84 (const
DtCommand& command, DtString& filename))
87 (const std::vector<DtString>& objectClasses, const std::vector<DtString>& interactionClasses),
88 (const
DtCommand& command, std::vector<DtString>& objectClasses,
89 std::vector<DtString>& interactionClasses))
92 (
bool disableTesting),
93 (const
DtCommand& command,
bool& disableTesting))
96 (const DtString& prefix),
97 (const
DtCommand& command, DtString& prefix))
100 (const DtString& filename),
101 (const
DtCommand& command, DtString& filename))
104 (
double maxTime,
double minTime),
105 (const
DtCommand& command,
double& maxTime,
double& minTime))
108 (
bool enableDdm, const DtString& playbackMode, const DtString& subscribeMode,
109 bool playbackDynamicAssociation,
bool playbackDynamicExtents,
110 bool allowPlaybackWithoutRegions,
bool recordConveyedRegions,
bool requestUpdates,
111 bool subscribeUnspecifiedAttributes),
112 (const
DtCommand& command,
bool& enableDdm, DtString& playbackMode, DtString& subscribeMode,
113 bool& playbackDynamicAssociation,
bool& playbackDynamicExtents,
114 bool& allowPlaybackWithoutRegions,
bool& recordConveyedRegions,
bool& requestUpdates,
115 bool& subscribeUnspecifiedAttributes))
119 (const
DtCommand& command,
void*& filter))
123 (const
DtCommand& command,
void*& filter))
127 (const
DtCommand& command,
bool& enable))
131 ( const
DtCommand& command, DtBase64Data&))
134 ( const std::vector<DtString>& types),
135 ( const
DtCommand& command,std::vector<DtString>& types))
138 ( const std::vector<DtString>& types),
139 ( const
DtCommand& command,std::vector<DtString>& types))
142 ( const std::vector<DtString>& names),
143 ( const
DtCommand& command,std::vector<DtString>& names))
146 ( const std::vector<DtString>& names),
147 ( const
DtCommand& command,std::vector<DtString>& names))
151 (const
DtCommand& command,
bool& enable))
155 (const
DtCommand& command,
bool& enable))
159 (const
DtCommand& command,
bool& enable))
163 (const
DtCommand& command,
bool& enable))
166 (
int site,
int host),
167 (const
DtCommand& command,
int& site,
int& host))
182 (const DtString& federateType, const DtString& federationName, const DtString& fedFile,
183 bool ignoreAdvisories,
double fomVersion,
int fomRevision,
bool useMatrexFomMapper,
184 const DtString& matrexFomMapperData, const DtString& fomMapper,
185 const DtString& fomMapperData,
bool useEmptyFomMapper,
bool noRtiCompilerCheck),
186 (
DtResponse response, DtString& federateType, DtString& federationName, DtString& fedFile,
187 bool& ignoreAdvisories,
double& fomVersion,
int& fomRevision,
bool& useMatrexFomMapper,
188 DtString& matrexFomMapperData, DtString& fomMapper, DtString& fomMapperData,
189 bool& useEmptyFomMapper,
bool& noRtiCompilerCheck))
192 (const DtString& federateName, const DtString& federateType, const DtString& federationName,
193 const DtString& fedFile, const std::vector<DtString>& fomModules, const DtString& mim,
194 bool ignoreAdvisories,
double fomVersion,
int fomRevision,
bool useMatrexFomMapper,
195 const DtString& matrexFomMapperData, const DtString& fomMapper,
196 const DtString& fomMapperData,
bool useEmptyFomMapper,
bool noRtiCompilerCheck),
197 (
DtResponse response, DtString& federateName, DtString& federateType,
198 DtString& federationName, DtString& fedFile, std::vector<DtString>& fomModules,
199 DtString& mim,
bool& ignoreAdvisories,
double& fomVersion,
int& fomRevision,
200 bool& useMatrexFomMapper, DtString& matrexFomMapperData, DtString& fomMapper,
201 DtString& fomMapperData,
bool& useEmptyFomMapper,
bool& noRtiCompilerCheck))
204 (const DtBase64Data& data),
208 (const std::vector<DtString>& objectClasses, const std::vector<DtString>& interactionClasses),
209 (
DtResponse response, std::vector<DtString>& objectClasses,
210 std::vector<DtString>& interactionClasses))
213 (
bool timeConstrainedRecording,
bool timeConstrainedPlayback,
bool timeRegulatingRecording,
214 bool timeRegulatingPlayback,
double lookahead),
215 (
DtResponse response,
bool& timeConstrainedRecording,
bool& timeConstrainedPlayback,
216 bool& timeRegulatingRecording,
bool& timeRegulatingPlayback,
double& lookahead))
219 (
bool enabled,
bool constrained,
bool regulating),
220 (
DtResponse response,
bool& enabled,
bool& constrained,
bool& regulating))
223 (
double maxTime,
double minTime),
224 (
DtResponse response,
double& maxTime,
double& minTime))
227 (
bool enableDdm, const DtString& playbackMode, const DtString& subscribeMode,
228 bool playbackDynamicAssociation,
bool playbackDynamicExtents,
229 bool allowPlaybackWithoutRegions,
bool recordConveyedRegions,
bool requestUpdates,
230 bool subscribeUnspecifiedAttributes),
231 (
DtResponse response,
bool& enableDdm, DtString& playbackMode, DtString& subscribeMode,
232 bool& playbackDynamicAssociation,
bool& playbackDynamicExtents,
233 bool& allowPlaybackWithoutRegions,
bool& recordConveyedRegions,
bool& requestUpdates,
234 bool& subscribeUnspecifiedAttributes))
245 (const DtBase64Data& mgr),
250 (DtBase64Data& filter),
270 (
int site,
int host),
277 static const
DtLgrCommandId theLastResponseId = theBaseResponseId - 100;
280 static const
char* commandToString(
int commandId);
283 static const
char* responseToString(
int responseId);
288 static
DtResponse createDisconnectedResponse();
289 static
DtResponse createLostConnectionResponse(const DtString& reason);
290 static
DtResponse createUnableToConnectResponse(const DtString& reason);
The logger command which contains the command type and its parameters.
Definition: lgrCommand.h:109
The command type structure.
Definition: lgrCommand.h:29
Factory for create HLA simulation commands.
Definition: lgrHlaSimCommandFactory.h:28
#define DT_FACTORY_COMMAND_EXT(commandId, commandName, createParams, decodeParams)
Utility Macros for declaring Command in Factory.
Definition: lgrCommand.h:183
Utility class to encoding and decoding binary data to base64 string suitable for storing in text file...
Definition: base64Data.h:21
Contains MAKLogger::DtLgrSimCommandFactory class.
#define DT_DLL_LGR_CMDS
Definition: lgrCmds.h:18
DtBoost::shared_ptr< const DtCommand > DtResponse
Definition: lgrCommand.h:174
static DtLgrCommandType theCommandType
The command type for all HLA Simulation commands from this factory.
Definition: lgrHlaSimCommandFactory.h:34
Contains MAKLogger::DtLgrCommandType and MAKLogger::DtCommand classes.
#define DT_FACTORY_RESPONSE_EXT(responseId, responseName, createParams, decodeParams)
Utility Macros for declaring Response in Factory.
Definition: lgrCommand.h:198
Contains lgrCmds library definitions.
The factory responsible for creating simulation commands.
Definition: lgrSimCommandFactory.h:21
short DtLgrCommandId
Definition: lgrCommand.h:25
const DtCommand bool bool bool bool bool bool bool bool double double const DtCommand bool bool bool bool bool bool bool bool double double &heartbeatSendInterval bool const DtCommand bool &scale DtExerciseConn bool bool bool const DtCommand DtExerciseConn bool bool bool &allowUnsubscribe const DtString const DtCommand DtString &name const DtString const DtCommand DtString &intervals const DtString const DtCommand DtString &name bool const DtCommand bool &playbackfilesUseRandomAccess double const DtCommand double &extendedStopTimeoutInterval bool const DtCommand bool &adjustSimTime bool const DtCommand bool &saveProtocolConfiguration const std::vector< DtString > const DtCommand std::vector< DtString > &static markings const DtLgrCommandId theLastCommandId
Last command ID, all IDs in this class must be <= Command IDs in derived classes must be > ...
Definition: lgrSimCommandFactory.h:141