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

Method DetachObserver

lib/mdflib/mdflib/src/isampleobserver.cpp:35–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35void ISampleObserver::DetachObserver() {
36 if (data_group_ != nullptr) {
37 data_group_->DetachSampleObserver(this);
38 data_group_ = nullptr;
39 }
40}
41
42bool ISampleObserver::OnSample(uint64_t sample, uint64_t record_id,
43 const std::vector<uint8_t> &record) {

Callers 4

TEST_FFunction · 0.80
ResetListMethod · 0.80
readLegacyTimestampsMethod · 0.80

Calls 1

DetachSampleObserverMethod · 0.80

Tested by 1

TEST_FFunction · 0.64