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:
@@ -66,14 +66,14 @@ public:
|
||||
Callback<detachSenseDeviceReqCbFn> cb);
|
||||
|
||||
typedef std::function<void(AsynchronousLoop &results)>
|
||||
attachAllSenseDevicesFromSpecsReqCbFn;
|
||||
attachAllUnattachedDevicesFromReqCbFn;
|
||||
typedef std::function<void(AsynchronousLoop &results)>
|
||||
detachAllSenseDevicesReqCbFn;
|
||||
detachAllAttachedDeviceRolesCbFn;
|
||||
|
||||
void attachAllSenseDevicesFromSpecsReq(
|
||||
Callback<attachAllSenseDevicesFromSpecsReqCbFn> cb);
|
||||
void detachAllSenseDevicesReq(
|
||||
Callback<detachAllSenseDevicesReqCbFn> cb);
|
||||
void attachAllUnattachedDevicesFromReq(
|
||||
Callback<attachAllUnattachedDevicesFromReqCbFn> cb);
|
||||
void detachAllAttachedDeviceRoles(
|
||||
Callback<detachAllAttachedDeviceRolesCbFn> cb);
|
||||
|
||||
private:
|
||||
DeviceManager()
|
||||
@@ -96,8 +96,8 @@ private:
|
||||
class RemoveDeviceAttachmentSpecReq;
|
||||
class AttachSenseDeviceReq;
|
||||
typedef AttachSenseDeviceReq DetachSenseDeviceReq;
|
||||
class AttachAllSenseDevicesFromSpecsReq;
|
||||
class DetachAllSenseDevicesReq;
|
||||
class AttachAllUnattachedDevicesFromReq;
|
||||
class DetachAllAttachedDeviceRoles;
|
||||
};
|
||||
|
||||
} // namespace device
|
||||
|
||||
Reference in New Issue
Block a user