Skip to content
Snippets Groups Projects
Commit 1a5e0183 authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Add queries

parent f71ca134
No related branches found
No related tags found
1 merge request!188ArMem Updates
......@@ -45,6 +45,25 @@ namespace armarx::armem::client::query
return _addChild(selector);
}
void Builder::all()
{
coreSegments().all()
.providerSegments().all()
.entities().all()
.snapshots().all();
}
void Builder::allLatest()
{
coreSegments().all()
.providerSegments().all()
.entities().all()
.snapshots().latest();
}
void Builder::allInCoreSegment(const MemoryID& coreSegmentID)
{
coreSegments().withName(coreSegmentID.coreSegmentName)
......
......@@ -42,6 +42,11 @@ namespace armarx::armem::client::query
// Short hands for common queries
/// Get all snapshots from all entities in all segments.
void all();
/// Get all latest snapshots from entities in all segments.
void allLatest();
/// Get all snapshots from all entities in all provider segments in a core segment.
void allInCoreSegment(const MemoryID& coreSegmentID);
/// Get latest snapshots from all entities in all provider segments in a core segment.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment