Go to the documentation of this file.
3 #include <RobotAPI/interface/armem/query.h>
26 return atTime(
id.timestamp);
55 template <
class ...Ts>
74 void _setChildQueries(armem::query::data::ProviderSegmentQueryPtr& query,
const armem::query::data::EntityQuerySeq& childQueries)
const override;
92 template <
class ...Ts>
102 return withName(
id.providerSegmentName);
111 void _setChildQueries(armem::query::data::CoreSegmentQueryPtr& query,
const armem::query::data::ProviderSegmentQuerySeq& childQueries)
const override;
129 template <
class ...Ts>
139 return withName(
id.coreSegmentName);
148 void _setChildQueries(armem::query::data::MemoryQueryPtr& query,
const armem::query::data::CoreSegmentQuerySeq& childQueries)
const override;
EntitySelector & all() override
ProviderSegmentSelector & withNamesMatching(const std::string ®ex) override
SnapshotSelector & latest()
EntitySelector & entities()
Start specifying entities.
void _setChildQueries(armem::query::data::MemoryQueryPtr &query, const armem::query::data::CoreSegmentQuerySeq &childQueries) const override
SnapshotSelector & timeRange(Time min, Time max)
SnapshotSelector & snapshots()
Start specifying entity snapshots.
std::vector< T > max(const std::vector< T > &v1, const std::vector< T > &v2)
SnapshotSelector & all() override
CoreSegmentSelector & all() override
void _setChildQueries(armem::query::data::CoreSegmentQueryPtr &query, const armem::query::data::ProviderSegmentQuerySeq &childQueries) const override
EntitySelector & withID(const MemoryID &id) override
ProviderSegmentSelector & withID(const MemoryID &id) override
SnapshotSelector & beforeTime(Time timestamp, long maxEntries=1)
SnapshotSelector()=default
EntitySelector & withNamesMatching(const std::string ®ex) override
CoreSegmentSelector & withName(const std::string &name) override
CoreSegmentSelector & withID(const MemoryID &id) override
SnapshotSelector & withID(const MemoryID &id) override
SnapshotSelector & atTimeApprox(Time timestamp, Duration eps)
auto withNames(const std::vector< std::string > &names)
CoreSegmentSelector()=default
Represents a point in time.
armem::query::data::EntityQuerySeq buildQueries() const
EntitySelector & withName(const std::string &name) override
ProviderSegmentSelector & withName(const std::string &name) override
SnapshotSelector & atTime(Time timestamp)
CoreSegmentSelector & withNamesMatching(const std::string ®ex) override
SnapshotSelector & beforeOrAtTime(Time timestamp)
std::vector< T > min(const std::vector< T > &v1, const std::vector< T > &v2)
SnapshotSelector & snapshots(Ts... args)
ProviderSegmentSelector & providerSegments()
Start specifying provider segments.
EntitySelector & entities(Ts... args)
void _setChildQueries(armem::query::data::ProviderSegmentQueryPtr &query, const armem::query::data::EntityQuerySeq &childQueries) const override
SnapshotSelector & indexRange(long first, long last)
ProviderSegmentSelector & all() override
ProviderSegmentSelector()=default
ProviderSegmentSelector & providerSegments(Ts... args)