| 6 | namespace PJ { |
| 7 | |
| 8 | PJ::Range<PJ::Timepoint> liveTopicTimeRange(const ObjectStore* store, ObjectTopicId topic_id) { |
| 9 | if (store == nullptr || store->entryCount(topic_id) == 0) { |
| 10 | return {PJ::Timepoint::max(), PJ::Timepoint::min()}; // inverted: empty |
| 11 | } |
| 12 | const auto [lo, hi] = store->timeRange(topic_id); |
| 13 | return {PJ::fromRaw(lo), PJ::fromRaw(hi)}; |
| 14 | } |
| 15 | |
| 16 | ISceneLayer::ISceneLayer(QObject* parent) : QObject(parent) {} |
| 17 |