libs: Add smohook for getting cmdline opts
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user