DevMgr: Rename at/detachAll*Req():

We've renamed these now to better reflect what they do.
* attachAllSenseDevicesFromSpecsReq=>attachAllUnattachedDevicesFromReq
* detachAllSenseDevicesReq=>detachAllAttachedDeviceRoles

This is also the first step in changing
attachAllUnattachedDevicesFrom to accept a sh_ptr<> to a collection
of DeviceAttachmentSpecs. This will enable us to unify the underlying
spec attachment logic and just create several front-ends for attaching
specs from multiple sources.
This commit is contained in:
2025-09-28 12:19:56 -04:00
parent 993bf568fc
commit 2c60248127
3 changed files with 36 additions and 36 deletions
+2 -2
View File
@@ -78,7 +78,7 @@ public:
std::cout << __func__ << ": About to attachAllSenseDevicesFromSpecs"
<< '\n';
}
device::DeviceManager::getInstance().attachAllSenseDevicesFromSpecsReq(
device::DeviceManager::getInstance().attachAllUnattachedDevicesFromReq(
{context, std::bind(
&InitializeReq::initializeReq2,
context.get(), context,
@@ -117,7 +117,7 @@ public:
}
std::cout << "Mrntt: About to detach all sense devices." << "\n";
device::DeviceManager::getInstance().detachAllSenseDevicesReq(
device::DeviceManager::getInstance().detachAllAttachedDeviceRoles(
{context, std::bind(
&FinalizeReq::finalizeReq2,
context.get(), context,