MCPcopy Create free account
hub / github.com/biometrics/openbr / workerLoop

Method workerLoop

openbr/plugins/core/processwrapper.cpp:442–458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

440 }
441
442 void workerLoop()
443 {
444 QString sign = "worker " + name;
445 CommunicationManager::SignalType signal;
446 forever {
447 signal= comm->getSignal();
448
449 if (signal == CommunicationManager::SHOULD_END) {
450 break;
451 }
452 TemplateList inList;
453 TemplateList outList;
454
455 comm->readData(inList);
456 transform->projectUpdate(inList,outList);
457 comm->sendData(outList);
458 }
459 comm->shutdown();
460 }
461};

Callers 1

mainLoopMethod · 0.80

Calls 4

getSignalMethod · 0.80
sendDataMethod · 0.80
readDataMethod · 0.45
projectUpdateMethod · 0.45

Tested by

no test coverage detected