10 #ifndef lgrDisSimCommandFactory_H_
11 #define lgrDisSimCommandFactory_H_
23 #include <vlutil/vlString.h>
27 class DtDisDescriptor;
28 class DtLgrDisEntityTypeManager;
32 class DT_DLL_LGRSIM DtLgrDisCommandFactory :
public DtLgrSimCommandFactory
37 static const DtLgrCommandType theCommandType;
42 (
int port,
int exerciseId,
int siteId,
int appNumber,
bool useAsynchIO,
43 int sendBufferSize,
int recvBufferSize,
int multicastTtl,
45 const std::vector<DtString>& mcastAddresses ),
46 (
const DtCommand& command,
int& port,
int& exerciseId,
int& siteId,
47 int& appNumber,
bool& useAsynchIO,
48 int& sendBufferSize,
int& recvBufferSize,
int& multicastTtl,
50 std::vector<DtString>& mcastAddresses ))
53 (
const DtCommand& command,
double& rate ))
56 (
const DtCommand& command,
double& rate ))
59 (
const DtCommand& command,DtDisDescriptor& desc))
62 (
const DtLgrDisEntityTypeManager&),
63 (
const DtCommand& command, DtLgrDisEntityTypeManager&))
66 ( const std::vector<
DtString>& types),
67 ( const DtCommand& command,std::vector<
DtString>& types))
70 ( const std::vector<
DtString>& pduDesc),
71 ( const DtCommand& command,std::vector<
DtString>& pduDesc))
73 DT_FACTORY_COMMAND_EXT(DtLgrSimCommandFactory::Last_Command + 8, SetDrainInput, (
double maxTime,
int numPdusToRead),
74 (const DtCommand& command,
double& maxTime,
int& numPdusToRead))
78 ( const std::vector<
DtString>& types),
79 ( const DtCommand& command,std::vector<
DtString>& types))
84 ( const DtCommand& command,std::vector<
DtString>& ids))
89 ( const DtCommand& command,std::vector<
DtString>& ids))
104 (
int port,
int exerciseId,
int siteId,
int appNumber,
bool useAsynchIO,
105 int sendBufferSize,
int recvBufferSize,
int multicastTtl,
107 const std::vector<
DtString>& mcastAddresses ),
108 (
DtResponse command,
int& port,
int& exerciseId,
int& siteId,
int& appNumber,
109 bool& useAsynchIO,
int& sendBufferSize,
int& recvBufferSize,
int& multicastTtl,
111 std::vector<
DtString>& mcastAddresses ))
113 DT_FACTORY_RESPONSE_EXT(DtLgrSimCommandFactory::Last_Response - 4, DisDescriptionChanged,(const DtDisDescriptor& desc),
117 (const DtLgrDisEntityTypeManager& mgr),
118 (
DtResponse command,DtLgrDisEntityTypeManager& mgr))
121 (
double maxTime,
int numPdusToRead),
122 (
DtResponse command,
double& maxTime,
int& numPdusToRead))
125 (DtLgrEntityIdFilter& filter),
126 (
DtResponse command, DtLgrEntityIdFilter& filter))
131 static const
char* commandToString(
int commandId);
134 static const
char* responseToString(
int responseId);