MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / onDone

Method onDone

Suscan/MultitaskController.cpp:285–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283}
284
285void
286MultitaskController::onDone(void)
287{
288 CancellableTaskContext *ctx = this->findTask(
289 static_cast<CancellableTask *>(this->sender()));
290
291 if (ctx != nullptr) {
292 (void) this->removeTaskContext(ctx);
293 emit taskDone(ctx->index());
294 }
295}
296
297void
298MultitaskController::onCancelled(void)

Callers

nothing calls this directly

Calls 3

findTaskMethod · 0.95
removeTaskContextMethod · 0.95
indexMethod · 0.80

Tested by

no test coverage detected