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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user