------------------------------------------------------------------------------
| 669 | |
| 670 | //------------------------------------------------------------------------------ |
| 671 | void CommunicationManager::Clear() |
| 672 | { |
| 673 | this->Requests.clear(); |
| 674 | this->SendByteSize.clear(); |
| 675 | this->RcvByteSize.clear(); |
| 676 | |
| 677 | std::map<int, unsigned char*>::iterator it; |
| 678 | for (it = this->Send.begin(); it != this->Send.end(); ++it) |
| 679 | { |
| 680 | delete[] it->second; |
| 681 | } |
| 682 | this->Send.clear(); |
| 683 | |
| 684 | for (it = this->Rcv.begin(); it != this->Rcv.end(); ++it) |
| 685 | { |
| 686 | delete[] it->second; |
| 687 | } |
| 688 | this->Rcv.clear(); |
| 689 | } |
| 690 | |
| 691 | //------------------------------------------------------------------------------ |
| 692 | unsigned char* CommunicationManager::GetRcvBuffer(int fromRank) |
no test coverage detected