Rename DSL: deviceSpec => deviceAttachmentSpec

This language is used broadly to specify how to attach (and thus
also how to detach) devices to/from Salmanoff. The next bit of work
we'll do is split off the DSL parsing from the management of the
list of parsed binary attached spec objects.

We'll be creating a PipeDeviceAttachmentParser, and later on when
we support URDF, we'll create a URDFDeviceAttachmentParser.
This commit is contained in:
2025-08-29 15:16:11 -04:00
parent 8f41e164a2
commit 6ef86eea05
10 changed files with 89 additions and 78 deletions
+2 -2
View File
@@ -232,7 +232,7 @@ void SenseApiManager::finalizeAllSenseApiLibs(void)
}
void SenseApiManager::attachSenseDevice(
const std::shared_ptr<device::SenseDeviceSpec>& spec
const std::shared_ptr<device::DeviceAttachmentSpec>& spec
)
{
auto libOpt = getSenseApiLibByApiName(spec->api);
@@ -253,7 +253,7 @@ void SenseApiManager::attachSenseDevice(
}
void SenseApiManager::detachSenseDevice(
const std::shared_ptr<device::SenseDeviceSpec>& spec
const std::shared_ptr<device::DeviceAttachmentSpec>& spec
)
{
auto libOpt = getSenseApiLibByApiName(spec->api);