18 #include <vlutil/vlString.h>
23 class DtCommandDefinition;
24 class DtLgrDisEntityTypeManager;
37 static const DtLgrCommandId theBaseCommandId = DtLgrSimCommandFactory::theLastCommandId;
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 DtString& exConnConfigFile,
bool useExConnConfig),
48 (
const DtCommand& command, DtString& federateName, DtString& federationName,
49 DtString& fedFile,
bool& ignoreAdvisories,
double& fomVersion,
int& fomRevision,
50 bool& useMatrexFomMapper, DtString& matrexFomMapperData, DtString& fomMapper,
51 DtString& fomMapperData,
bool& useEmptyFomMapper,
bool& noRtiCompilerCheck,
52 DtString& exConnConfigFile,
bool& useExConnConfig))
55 (const DtString& federateName, const DtString& federateType, const DtString& federationName,
56 const DtString& fedFile, const std::vector<DtString>& fomModules, const DtString& mim,
57 bool ignoreAdvisories,
double fomVersion,
int fomRevision,
bool useMatrexFomMapper,
58 const DtString& matrexFomMapperData, const DtString& fomMapper,
59 const DtString& fomMapperData,
bool useEmptyFomMapper,
bool noRtiCompilerCheck,
60 const DtString& exConnConfigFile,
bool useExConnConfig),
61 (const
DtCommand& command, DtString& federateName, DtString& federateType,
62 DtString& federationName, DtString& fedFile, std::vector<DtString>& fomModules,
63 DtString& mim,
bool& ignoreAdvisories,
double& fomVersion,
int& fomRevision,
64 bool& useMatrexFomMapper, DtString& matrexFomMapperData, DtString& fomMapper,
65 DtString& fomMapperData,
bool& useEmptyFomMapper,
bool& noRtiCompilerCheck,
66 DtString& exConnConfigFile,
bool& useExConnConfig))
69 (
bool timeConstrainedRecording,
bool timeConstrainedPlayback,
bool timeRegulatingRecording,
70 bool timeRegulatingPlayback,
double lookahead),
71 (const
DtCommand& command,
bool& timeConstrainedRecording,
bool& timeConstrainedPlayback,
72 bool& timeRegulatingRecording,
bool& timeRegulatingPlayback,
double& lookahead))
80 (const
DtCommand& command,
bool& passive))
83 (const DtString& filename),
84 (const
DtCommand& command, DtString& filename))
87 (const DtString& filename),
88 (const
DtCommand& command, DtString& filename))
91 (const std::vector<DtString>& objectClasses, const std::vector<DtString>& interactionClasses),
92 (const
DtCommand& command, std::vector<DtString>& objectClasses,
93 std::vector<DtString>& interactionClasses))
96 (
bool disableTesting),
97 (const
DtCommand& command,
bool& disableTesting))
100 (const DtString& prefix),
101 (const
DtCommand& command, DtString& prefix))
104 (const DtString& filename),
105 (const
DtCommand& command, DtString& filename))
108 (
double maxTime,
double minTime),
109 (const
DtCommand& command,
double& maxTime,
double& minTime))
112 (
bool enableDdm, const DtString& playbackMode, const DtString& subscribeMode,
113 bool playbackDynamicAssociation,
bool playbackDynamicExtents,
114 bool allowPlaybackWithoutRegions,
bool recordConveyedRegions,
bool requestUpdates,
115 bool subscribeUnspecifiedAttributes),
116 (const
DtCommand& command,
bool& enableDdm, DtString& playbackMode, DtString& subscribeMode,
117 bool& playbackDynamicAssociation,
bool& playbackDynamicExtents,
118 bool& allowPlaybackWithoutRegions,
bool& recordConveyedRegions,
bool& requestUpdates,
119 bool& subscribeUnspecifiedAttributes))
123 (const
DtCommand& command,
void*& filter))
127 (const
DtCommand& command,
void*& filter))
131 (const
DtCommand& command,
bool& enable))
135 ( const
DtCommand& command, DtBase64Data&))
138 ( const std::vector<DtString>& types),
139 ( const
DtCommand& command,std::vector<DtString>& types))
142 ( const std::vector<DtString>& types),
143 ( const
DtCommand& command,std::vector<DtString>& types))
146 ( const std::vector<DtString>& names),
147 ( const
DtCommand& command,std::vector<DtString>& names))
150 ( const std::vector<DtString>& names),
151 ( const
DtCommand& command,std::vector<DtString>& names))
155 (const
DtCommand& command,
bool& enable))
159 (const
DtCommand& command,
bool& enable))
163 (const
DtCommand& command,
bool& enable))
167 (const
DtCommand& command,
bool& enable))
170 (
int site,
int host),
171 (const
DtCommand& command,
int& site,
int& host))
186 (const DtString& federateType, const DtString& federationName, const DtString& fedFile,
187 bool ignoreAdvisories,
double fomVersion,
int fomRevision,
bool useMatrexFomMapper,
188 const DtString& matrexFomMapperData, const DtString& fomMapper,
189 const DtString& fomMapperData,
bool useEmptyFomMapper,
bool noRtiCompilerCheck,
190 const DtString& exConnConfigFile,
bool useExConnConfig),
191 (
DtResponse response, DtString& federateType, DtString& federationName, DtString& fedFile,
192 bool& ignoreAdvisories,
double& fomVersion,
int& fomRevision,
bool& useMatrexFomMapper,
193 DtString& matrexFomMapperData, DtString& fomMapper, DtString& fomMapperData,
194 bool& useEmptyFomMapper,
bool& noRtiCompilerCheck,
195 DtString& exConnConfigFile,
bool& useExConnConfig))
198 (const DtString& federateName, const DtString& federateType, const DtString& federationName,
199 const DtString& fedFile, const std::vector<DtString>& fomModules, const DtString& mim,
200 bool ignoreAdvisories,
double fomVersion,
int fomRevision,
bool useMatrexFomMapper,
201 const DtString& matrexFomMapperData, const DtString& fomMapper,
202 const DtString& fomMapperData,
bool useEmptyFomMapper,
bool noRtiCompilerCheck,
203 const DtString& exConnConfigFile,
bool useExConnConfig),
204 (
DtResponse response, DtString& federateName, DtString& federateType,
205 DtString& federationName, DtString& fedFile, std::vector<DtString>& fomModules,
206 DtString& mim,
bool& ignoreAdvisories,
double& fomVersion,
int& fomRevision,
207 bool& useMatrexFomMapper, DtString& matrexFomMapperData, DtString& fomMapper,
208 DtString& fomMapperData,
bool& useEmptyFomMapper,
bool& noRtiCompilerCheck,
209 DtString& exConnConfigFile,
bool& useExConnConfig))
212 (const DtBase64Data& data),
216 (const std::vector<DtString>& objectClasses, const std::vector<DtString>& interactionClasses),
217 (
DtResponse response, std::vector<DtString>& objectClasses,
218 std::vector<DtString>& interactionClasses))
221 (
bool timeConstrainedRecording,
bool timeConstrainedPlayback,
bool timeRegulatingRecording,
222 bool timeRegulatingPlayback,
double lookahead),
223 (
DtResponse response,
bool& timeConstrainedRecording,
bool& timeConstrainedPlayback,
224 bool& timeRegulatingRecording,
bool& timeRegulatingPlayback,
double& lookahead))
227 (
bool enabled,
bool constrained,
bool regulating),
228 (
DtResponse response,
bool& enabled,
bool& constrained,
bool& regulating))
231 (
double maxTime,
double minTime),
232 (
DtResponse response,
double& maxTime,
double& minTime))
235 (
bool enableDdm, const DtString& playbackMode, const DtString& subscribeMode,
236 bool playbackDynamicAssociation,
bool playbackDynamicExtents,
237 bool allowPlaybackWithoutRegions,
bool recordConveyedRegions,
bool requestUpdates,
238 bool subscribeUnspecifiedAttributes),
239 (
DtResponse response,
bool& enableDdm, DtString& playbackMode, DtString& subscribeMode,
240 bool& playbackDynamicAssociation,
bool& playbackDynamicExtents,
241 bool& allowPlaybackWithoutRegions,
bool& recordConveyedRegions,
bool& requestUpdates,
242 bool& subscribeUnspecifiedAttributes))
253 (const DtBase64Data& mgr),
258 (DtBase64Data& filter),
278 (
int site,
int host),
285 static const
DtLgrCommandId theLastResponseId = theBaseResponseId - 100;
288 static const
char* commandToString(
int commandId);
291 static const
char* responseToString(
int responseId);
296 static
DtResponse createDisconnectedResponse();
297 static
DtResponse createLostConnectionResponse(const DtString& reason);
298 static
DtResponse createUnableToConnectResponse(const DtString& reason);
The logger command which contains the command type and its parameters.
Definition: lgrCommand.h:110
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:184
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
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:199
Contains lgrCmds library definitions.
std::shared_ptr< const DtCommand > DtResponse
Definition: lgrCommand.h:175
The factory responsible for creating simulation commands.
Definition: lgrSimCommandFactory.h:21
short DtLgrCommandId
Definition: lgrCommand.h:25