MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / getTimeDomain

Method getTimeDomain

pj_datastore/src/engine.cpp:260–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258}
259
260const TimeDomain* DataEngine::getTimeDomain(TimeDomainId id) const {
261 auto it = impl_->time_domains.find(id);
262 if (it == impl_->time_domains.end()) {
263 return nullptr;
264 }
265 return &it->second;
266}
267
268void DataEngine::setDisplayOffset(TimeDomainId id, Timestamp offset) {
269 std::unique_lock<std::recursive_mutex> lock(impl_->mutex_);

Callers 2

TESTFunction · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by 1

TESTFunction · 0.64