MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / GetSampleQueue

Method GetSampleQueue

lib/mdflib/mdflib/src/writecache.cpp:271–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269 }
270}
271SampleQueue* WriteCache::GetSampleQueue(
272 const IDataGroup& data_group) const {
273 if (auto itr = cache_.find(&data_group);
274 itr != cache_.end()) {
275 return itr->second.get();
276 }
277 return nullptr;
278}
279
280SampleQueue* WriteCache::GetSampleQueue(
281 const IChannelGroup& channel_group) const {

Callers

nothing calls this directly

Calls 5

findMethod · 0.80
beginMethod · 0.80
getMethod · 0.45
sizeMethod · 0.45
DataGroupMethod · 0.45

Tested by

no test coverage detected