MCPcopy Create free account
hub / github.com/analogdevicesinc/scopy / onChannelRemoved

Method onChannelRemoved

tmp/grutil/src/grtimeplotaddon.cpp:381–389  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379}
380
381void GRTimePlotAddon::onChannelRemoved(ChannelAddon *t)
382{
383
384 if(plot()->selectedChannel() == t->plotCh())
385 plot()->selectChannel(nullptr);
386 auto ch = dynamic_cast<GRTimeChannelAddon *>(t);
387 if(ch)
388 grChannels.removeAll(ch);
389}
390
391void GRTimePlotAddon::connectSignalPaths()
392{

Callers 1

deleteChannelMethod · 0.45

Calls 3

plotChMethod · 0.80
selectedChannelMethod · 0.45
selectChannelMethod · 0.45

Tested by

no test coverage detected