DevMgr: Move at/detachSenseDevs[FromSpecs] into DeviceMgr::

This is logically cleaner and it begins preparing our next set
of restructuring changes. To wit: we're revamping the device
manager to distinguish between devices and their roles.
This commit is contained in:
2025-09-27 23:16:46 -04:00
parent 52567406ca
commit e6b8d3e85d
5 changed files with 366 additions and 359 deletions
+3 -3
View File
@@ -7,6 +7,7 @@
#include <componentThread.h>
#include <mind.h>
#include <senseApis/senseApiManager.h>
#include <deviceManager/deviceManager.h>
namespace smo {
namespace body {
@@ -77,8 +78,7 @@ public:
std::cout << __func__ << ": About to attachAllSenseDevicesFromSpecs"
<< '\n';
}
sense_api::SenseApiManager::getInstance()
.attachAllSenseDevicesFromSpecsReq(
device::DeviceManager::getInstance().attachAllSenseDevicesFromSpecsReq(
{context, std::bind(
&InitializeReq::initializeReq2,
context.get(), context,
@@ -117,7 +117,7 @@ public:
}
std::cout << "Mrntt: About to detach all sense devices." << "\n";
sense_api::SenseApiManager::getInstance().detachAllSenseDevicesReq(
device::DeviceManager::getInstance().detachAllSenseDevicesReq(
{context, std::bind(
&FinalizeReq::finalizeReq2,
context.get(), context,