| 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 | }; |
no test coverage detected