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

Method onSourceCommitted

pj_datastore/src/derived_engine.cpp:806–819  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

804// ---------------------------------------------------------------------------
805
806void DerivedEngine::onSourceCommitted(PJ::Span<const PJ::TopicId> changed_topics) {
807 for (PJ::TopicId tid : changed_topics) {
808 auto it = impl_->topic_to_nodes.find(tid);
809 if (it == impl_->topic_to_nodes.end()) {
810 continue;
811 }
812 for (PJ::NodeId nid : it->second) {
813 auto nit = impl_->nodes.find(nid);
814 if (nit != impl_->nodes.end()) {
815 nit.value().dirty = true;
816 }
817 }
818 }
819}
820
821// ---------------------------------------------------------------------------
822// run_node_incremental (private helper)

Callers 6

applyFilterMethod · 0.80
advanceOnCommitMethod · 0.80
installTransformMethod · 0.80
TESTFunction · 0.80
notifyFunction · 0.80
TESTFunction · 0.80

Calls 3

findMethod · 0.45
endMethod · 0.45
valueMethod · 0.45

Tested by 3

TESTFunction · 0.64
notifyFunction · 0.64
TESTFunction · 0.64