15 #ifndef VISIONTRANSFER_PARAMETERSERIALIZATION_H 16 #define VISIONTRANSFER_PARAMETERSERIALIZATION_H 22 #include <visiontransfer/parametervalue.h> 23 #include <visiontransfer/parameter.h> 24 #include <visiontransfer/parameterset.h> 33 static void serializeParameterFullUpdate(std::stringstream& ss,
const param::Parameter& param,
const std::string& leader=
"I");
34 static param::Parameter deserializeParameterFullUpdate(
const std::vector<std::string>& toks,
const std::string& leader=
"I");
35 static void serializeParameterValueChange(std::stringstream& ss,
const param::Parameter& param);
36 static void deserializeParameterValueChange(
const std::vector<std::string>& toks,
param::Parameter& param);
37 static void serializeAsyncResult(std::stringstream& ss,
const std::string& requestId,
bool success,
const std::string& message);
38 static void deserializeAsyncResult(
const std::vector<std::string>& toks, std::string& requestId,
bool& success, std::string& message);
This is the common [de]serialization filter for all of nvparam's external network protocols...