17 #include <vlutil/vlString.h>
18 #include <vlutil/vlSmartPointers.h>
47 static const char *
const theLgrDomainStrings[];
65 static const char* theLgrProtocolsStrings[];
91 static const char* domainToString(
int domainValue);
92 static const char* protocolToString(
int protocolValue);
116 const char* parametersBuffer=0);
149 void serializeParameters(
DtString& parameterBuffer)
const;
152 void deserializeParameters(
const char* parameterBuffer);
178 #define DT_FACTORY_COMMAND(commandName,createParams,decodeParams)\
179 static DtCommandDefinition define##commandName##Command();\
180 static DtCommand create##commandName##Command createParams;\
181 static void decode##commandName##Command decodeParams;
184 #define DT_FACTORY_COMMAND_EXT(commandId,commandName,createParams,decodeParams)\
185 static const DtLgrCommandId Command_##commandName = commandId;\
186 static DtCommandDefinition define##commandName##Command();\
187 static DtCommand create##commandName##Command createParams;\
188 static void decode##commandName##Command decodeParams;
192 #define DT_FACTORY_RESPONSE(responseName,createParams,decodeParams)\
193 static DtResponse create##responseName##Response createParams;\
194 static void decode##responseName##Response decodeParams;
199 #define DT_FACTORY_RESPONSE_EXT(responseId,responseName,createParams,decodeParams)\
200 static const DtLgrCommandId Response_##responseName = responseId;\
201 static DtResponse create##responseName##Response createParams;\
202 static void decode##responseName##Response decodeParams;
206 template <
typename ValueType>
210 template <
typename ValueType>
213 #define lgrCommand_INC_
214 #include "lgrCommand.inl"
215 #undef lgrCommand_INC_