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

Method onStart

tmp/grutil/src/grtimeplotaddon.cpp:245–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243QList<GRTimeChannelAddon *> GRTimePlotAddon::getGrChannels() const { return grChannels; }
244
245void GRTimePlotAddon::onStart()
246{
247 if(!m_started) {
248 QElapsedTimer tim;
249 tim.start();
250 connect(this, &GRTimePlotAddon::requestRebuild, m_top, &GRTopBlock::rebuild, Qt::QueuedConnection);
251 connect(m_top, SIGNAL(builtSignalPaths()), this, SLOT(connectSignalPaths()));
252 connect(m_top, SIGNAL(teardownSignalPaths()), this, SLOT(tearDownSignalPaths()));
253
254 m_top->build();
255 m_top->start();
256 m_started = true;
257
258 Q_EMIT statusChanged("running");
259 }
260}
261
262void GRTimePlotAddon::onStop()
263{

Callers

nothing calls this directly

Calls 3

connectFunction · 0.50
startMethod · 0.45
buildMethod · 0.45

Tested by

no test coverage detected