12 for (uint64_t comp = 0; comp < ts.num_components(); comp++) {
13 auto this_subsystem =
static_cast<fles::Subsystem
>(ts.descriptor(comp, 0).sys_id);
15 if (this_subsystem != subsystem) {
19 const u64 numMsInComp = ts.num_microslices(comp);
20 const u16 componentId = ts.descriptor(comp, 0).eq_id;
22 if (std::find(legalEqIds.begin(), legalEqIds.end(), componentId) == legalEqIds.end()) {
23 L_(error) <<
"Invalid equipment id " << componentId <<
" for subsystem " <<
ToString(subsystem);
31 for (
u64 mslice = 0; mslice < numMsInComp; mslice++) {
32 msDesc.push_back(ts.descriptor(comp, mslice));
33 msContent.push_back(ts.content(comp, mslice));