Skip to content
Snippets Groups Projects

Resolve "Extend ArViz storage interface"

Merged Dominic Brestel requested to merge 123-extend-arviz-storage-interface into master
3 files
+ 14
4
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -599,8 +599,9 @@ void armarx::ArVizStorage::stopRecording(const Ice::Current&)
recordingMetaData.firstTimestampInMicroSeconds = -1;
}
armarx::viz::data::RecordingSeq armarx::ArVizStorage::getAllRecordings(const Ice::Current&)
armarx::viz::data::RecordingsInfo armarx::ArVizStorage::getAllRecordings(const Ice::Current&)
{
viz::data::RecordingsInfo recordingsInfo;
viz::data::RecordingSeq result;
for (std::filesystem::directory_entry const& entry : std::filesystem::directory_iterator(historyPath))
@@ -619,8 +620,10 @@ armarx::viz::data::RecordingSeq armarx::ArVizStorage::getAllRecordings(const Ice
}
}
recordingsInfo.recordings = result;
recordingsInfo.recordingsPath = historyPath;
return result;
return recordingsInfo;
}
armarx::viz::data::RecordingBatch armarx::ArVizStorage::getRecordingBatch(std::string const& recordingID, Ice::Long batchIndex, const Ice::Current&)
Loading