16 #include <vlutil/vlString.h>
17 #include <vlutil/vlSmartPointers.h>
46 static const char *
const theLgrDomainStrings[];
64 static const char* theLgrProtocolsStrings[];
90 static const char* domainToString(
int domainValue);
91 static const char* protocolToString(
int protocolValue);
115 const char* parametersBuffer=0);
139 const DtString* name()
const;
142 void setParameter(
const DtString& name,
DtAnyValue*);
145 const DtAnyValue* parameter(
const DtString& name)
const;
148 void serializeParameters(DtString& parameterBuffer)
const;
151 void deserializeParameters(
const char* parameterBuffer);
177 #define DT_FACTORY_COMMAND(commandName,createParams,decodeParams)\
178 static DtCommandDefinition define##commandName##Command();\
179 static DtCommand create##commandName##Command createParams;\
180 static void decode##commandName##Command decodeParams;
183 #define DT_FACTORY_COMMAND_EXT(commandId,commandName,createParams,decodeParams)\
184 static const DtLgrCommandId Command_##commandName = commandId;\
185 static DtCommandDefinition define##commandName##Command();\
186 static DtCommand create##commandName##Command createParams;\
187 static void decode##commandName##Command decodeParams;
191 #define DT_FACTORY_RESPONSE(responseName,createParams,decodeParams)\
192 static DtResponse create##responseName##Response createParams;\
193 static void decode##responseName##Response decodeParams;
198 #define DT_FACTORY_RESPONSE_EXT(responseId,responseName,createParams,decodeParams)\
199 static const DtLgrCommandId Response_##responseName = responseId;\
200 static DtResponse create##responseName##Response createParams;\
201 static void decode##responseName##Response decodeParams;
205 template <
typename ValueType>
209 template <
typename ValueType>
212 #define lgrCommand_INC_
213 #include "lgrCommand.inl"
214 #undef lgrCommand_INC_