/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
- pimpl_ = simcall_comm_isend(sender_, mailbox_->getInferior(), remains_, rate_,
+ pimpl_ = simcall_comm_isend(sender_, mailbox_->getImpl(), remains_, rate_,
srcBuff_, srcBuffSize_,
matchFunction_, cleanFunction_, copyDataFunction_,
userData_, detached_);
} else if (dstBuff_ != nullptr) { // Receiver side
srcBuff_, srcBuffSize_,
matchFunction_, cleanFunction_, copyDataFunction_,
userData_, detached_);
} else if (dstBuff_ != nullptr) { // Receiver side
- pimpl_ = simcall_comm_irecv(receiver_, mailbox_->getInferior(), dstBuff_, &dstBuffSize_,
+ pimpl_ = simcall_comm_irecv(receiver_, mailbox_->getImpl(), dstBuff_, &dstBuffSize_,
simcall_comm_wait(pimpl_, -1/*timeout*/);
else {// p_state == inited. Save a simcall and do directly a blocking send/recv
if (srcBuff_ != nullptr) {
simcall_comm_wait(pimpl_, -1/*timeout*/);
else {// p_state == inited. Save a simcall and do directly a blocking send/recv
if (srcBuff_ != nullptr) {
- simcall_comm_send(sender_, mailbox_->getInferior(), remains_, rate_,
+ simcall_comm_send(sender_, mailbox_->getImpl(), remains_, rate_,
srcBuff_, srcBuffSize_,
matchFunction_, copyDataFunction_,
userData_, -1 /*timeout*/);
} else {
srcBuff_, srcBuffSize_,
matchFunction_, copyDataFunction_,
userData_, -1 /*timeout*/);
} else {
- simcall_comm_recv(receiver_, mailbox_->getInferior(), dstBuff_, &dstBuffSize_,
+ simcall_comm_recv(receiver_, mailbox_->getImpl(), dstBuff_, &dstBuffSize_,
matchFunction_, copyDataFunction_,
userData_, -1/*timeout*/, rate_);
}
}
state_ = finished;
matchFunction_, copyDataFunction_,
userData_, -1/*timeout*/, rate_);
}
}
state_ = finished;
- simcall_comm_send(sender_, mailbox_->getInferior(), remains_, rate_,
+ simcall_comm_send(sender_, mailbox_->getImpl(), remains_, rate_,
- simcall_comm_recv(receiver_, mailbox_->getInferior(), dstBuff_, &dstBuffSize_,
+ simcall_comm_recv(receiver_, mailbox_->getImpl(), dstBuff_, &dstBuffSize_,
matchFunction_, copyDataFunction_,
userData_, timeout, rate_);
}
state_ = finished;
matchFunction_, copyDataFunction_,
userData_, timeout, rate_);
}
state_ = finished;