11 return [](
auto& selector) { selector.all(); };
17 return [&](
auto& selector) { selector.withID(
id); };
25 return [&name](
auto& selector) { selector.withName(name); };
31 return [®ex](
auto& selector) { selector.withNamesMatching(regex); };
37 return [&names](
auto& selector) { selector.withNames(names); };
40 template <
class StringContainerT>
44 return [&names](
auto& selector) { selector.withNames(names); };
47 template <
class IteratorT>
51 return [begin, end](
auto& selector) { selector.withNames(begin, end); };
57 return [&prefix](
auto& selector) { selector.withNamesStartingWith(prefix); };
63 return [&suffix](
auto& selector) { selector.withNamesEndingWith(suffix); };
69 return [&substring](
auto& selector) { selector.withNamesContaining(substring); };
std::function< void(query::SnapshotSelector &)> latest()
std::function< void(query::SnapshotSelector &)> atTimeApprox(Time time, Duration eps)
auto withNames(const std::vector< std::string > &names)
auto withNamesStartingWith(const std::string &prefix)
auto withID(const MemoryID &id)
std::function< void(query::SnapshotSelector &)> beforeTime(Time time, long nElements=1)
std::function< void(query::SnapshotSelector &)> beforeOrAtTime(Time time)
std::function< void(query::SnapshotSelector &)> indexRange(long first, long last)
std::function< void(query::SnapshotSelector &)> atTime(Time time)
auto withName(const std::string &name)
auto withNamesContaining(const std::string &substring)
auto withNamesEndingWith(const std::string &suffix)
auto withNamesMatching(const std::string ®ex)
std::function< void(query::SnapshotSelector &)> timeRange(Time min, Time max)
armarx::core::time::DateTime Time
armarx::core::time::Duration Duration
std::vector< T > max(const std::vector< T > &v1, const std::vector< T > &v2)
std::vector< T > min(const std::vector< T > &v1, const std::vector< T > &v2)