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

Method SaveMostMessage

lib/mdflib/mdflib/src/writecache.cpp:246–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244}
245
246void WriteCache::SaveMostMessage(const IDataGroup& data_group,
247 const IChannelGroup& channel_group, uint64_t time,
248 const IMostEvent& msg) {
249 msg.DataGroup( &data_group);
250 msg.ChannelGroup(&channel_group);
251
252 if (SampleQueue* queue = GetSampleQueue(data_group);
253 queue != nullptr) {
254 std::lock_guard lock(locker_);
255 queue->SaveMostMessage(channel_group, time, msg);
256 }
257}
258
259void WriteCache::SaveFlexRayMessage(const IDataGroup& data_group,
260 const IChannelGroup& channel_group, uint64_t time,

Callers 1

TEST_FFunction · 0.45

Calls 2

DataGroupMethod · 0.45
ChannelGroupMethod · 0.45

Tested by 1

TEST_FFunction · 0.36