DAPSpec: Add params to quale-iface-api

We add params to the quale iface (soon to be renamed to cologex-api).
This allows us to eventually set the history length for stimbuffs.
This commit is contained in:
2025-11-01 00:57:04 -04:00
parent 9cf1398f5c
commit e824685c19
5 changed files with 48 additions and 35 deletions
+11 -1
View File
@@ -35,6 +35,7 @@ public:
std::string deviceIdentifier;
char sensorType;
std::string qualeIfaceApi;
std::vector<std::pair<std::string,std::string>> qualeIfaceApiParams;
std::string stimBuffApi;
std::vector<std::pair<std::string,std::string>> stimBuffApiParams;
std::string provider;
@@ -46,7 +47,16 @@ public:
std::ostringstream os;
os << "Device Identifier: " << deviceIdentifier
<< ", Sensor Type: " << sensorType
<< ", QualeIface API: " << qualeIfaceApi << ", StimBuff API: " << stimBuffApi
<< ", QualeIface API: " << qualeIfaceApi << ", QualeIface API Params: (";
for (const auto& param : qualeIfaceApiParams)
{
os << param.first;
if (!param.second.empty()) {
os << "=" << param.second;
}
os << " ";
}
os << "), StimBuff API: " << stimBuffApi
<< ", StimBuff API Params: (";
for (const auto& param : stimBuffApiParams)
{