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

Method SaveCanMessage

lib/mdflib/mdflib/src/writecache.cpp:175–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175void WriteCache::SaveCanMessage(const IChannelGroup& channel_group, uint64_t time,
176 const CanMessage& msg) {
177 msg.DataGroup(channel_group.DataGroup());
178 msg.ChannelGroup(&channel_group);
179 if (SampleQueue* queue = GetSampleQueue(channel_group);
180 queue != nullptr) {
181 std::lock_guard lock(locker_);
182 queue->SaveCanMessage(channel_group, time, msg);
183 }
184}
185
186void WriteCache::SaveCanMessage(const IDataGroup& data_group,
187 const IChannelGroup& channel_group, uint64_t time,

Callers 9

TEST_FFunction · 0.45
TestNoCompressCanBusMethod · 0.45
TestCompressCanBusMethod · 0.45
TestBusLoggingMethod · 0.45
EXPORTFEATUREFUNCFunction · 0.45
MdfWriter.cppFile · 0.45
cpp_exampleFunction · 0.45
TestNoCompressCanBusMethod · 0.45
TestCompressCanBusMethod · 0.45

Calls 2

DataGroupMethod · 0.45
ChannelGroupMethod · 0.45

Tested by 7

TEST_FFunction · 0.36
TestNoCompressCanBusMethod · 0.36
TestCompressCanBusMethod · 0.36
TestBusLoggingMethod · 0.36
cpp_exampleFunction · 0.36
TestNoCompressCanBusMethod · 0.36
TestCompressCanBusMethod · 0.36