| 572 | using WrapperTransform::train; |
| 573 | |
| 574 | void project(const TemplateList &src, TemplateList &dst) const |
| 575 | { |
| 576 | if (src.empty()) |
| 577 | return; |
| 578 | |
| 579 | ProcessData *data = processes.acquire(); |
| 580 | if (!data->initialized) |
| 581 | activateProcess(data); |
| 582 | |
| 583 | CommunicationManager *localComm = &(data->comm); |
| 584 | |
| 585 | localComm->sendSignal(CommunicationManager::INPUT_AVAILABLE); |
| 586 | localComm->sendData(src); |
| 587 | |
| 588 | localComm->readData(dst); |
| 589 | processes.release(data); |
| 590 | } |
| 591 | |
| 592 | void train(const TemplateList &data) |
| 593 | { |
nothing calls this directly
no test coverage detected