libs: Add smohook for getting cmdline opts

This commit is contained in:
2025-11-07 14:59:28 -04:00
parent a7a85b0c1f
commit b598ca8594
7 changed files with 34 additions and 15 deletions
+4 -4
View File
@@ -107,7 +107,7 @@ public:
// Stash device pointer until after getReturnMode succeeds
context->deviceTmp = dev;
if (1 || OptionParser::getOptions().verbose)
if (1 || smoHooksPtr->OptionParser_getOptions().verbose)
{
std::cout << __func__ << ": Successfully attached/found Livox "
"device: " << context->spec->deviceSelector << " (ID: "
@@ -205,7 +205,7 @@ public:
pcloudStimBuff->start();
if (1 || OptionParser::getOptions().verbose)
if (1 || smoHooksPtr->OptionParser_getOptions().verbose)
{
std::cout << __func__ << ": Got return mode (" << (int)mode
<< ") for device: " << context->spec->deviceSelector
@@ -264,7 +264,7 @@ public:
return;
}
if (1 || OptionParser::getOptions().verbose)
if (1 || smoHooksPtr->OptionParser_getOptions().verbose)
{
std::cout << __func__ << ": Enabled pcloud data for device: "
<< context->spec->deviceSelector << std::endl;
@@ -372,7 +372,7 @@ public:
return;
}
if (1 || OptionParser::getOptions().verbose)
if (1 || smoHooksPtr->OptionParser_getOptions().verbose)
{
std::cout << __func__ << ": Successfully detached pcloud stimbuff "
"for device " << context->spec->deviceSelector