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