X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4c98af3dcf6ab83a095d195accad6943379ab220..e9a86ac48ea8d06ddebe18744c40548a9f65956f:/include/simgrid/s4u/Comm.hpp diff --git a/include/simgrid/s4u/Comm.hpp b/include/simgrid/s4u/Comm.hpp index be8ccf375f..dd24d5171c 100644 --- a/include/simgrid/s4u/Comm.hpp +++ b/include/simgrid/s4u/Comm.hpp @@ -45,9 +45,9 @@ public: /** Start the comm, and ignore its result. It can be completely forgotten after that. */ Activity* detach(); /** Start the comm, and ignore its result. It can be completely forgotten after that. */ - Activity* detach(void (*cleanFunction)(void*)) + Activity* detach(void (*clean_function)(void*)) { - clean_fun_ = cleanFunction; + clean_fun_ = clean_function; return detach(); } @@ -69,36 +69,44 @@ public: size_t get_dst_data_size(); bool test(); - Activity* cancel(); + Activity* cancel() override; /** Retrieve the mailbox on which this comm acts */ MailboxPtr get_mailbox(); + /** @deprecated See Comm::set_rate() */ XBT_ATTRIB_DEPRECATED_v323("Please use Comm::set_rate()") Activity* setRate(double rate) { return set_rate(rate); } + /** @deprecated See Comm::set_src_data() */ XBT_ATTRIB_DEPRECATED_v323("Please use Comm::set_src_data()") Activity* setSrcData(void* buff) { return set_src_data(buff); } + /** @deprecated See Comm::set_src_data() */ XBT_ATTRIB_DEPRECATED_v323("Please use Comm::set_src_data()") Activity* setSrcData(void* buff, size_t size) { return set_src_data(buff, size); } + /** @deprecated See Comm::set_src_data_size() */ XBT_ATTRIB_DEPRECATED_v323("Please use Comm::set_src_data_size()") Activity* setSrcDataSize(size_t size) { return set_src_data_size(size); } + /** @deprecated See Comm::set_dst_data() */ XBT_ATTRIB_DEPRECATED_v323("Please use Comm::set_dst_data()") Activity* setDstData(void** buff) { return set_dst_data(buff); } + /** @deprecated See Comm::set_dst_data() */ XBT_ATTRIB_DEPRECATED_v323("Please use Comm::set_dst_data()") Activity* setDstData(void** buff, size_t size) { return set_dst_data(buff, size); } + /** @deprecated See Comm::get_dst_data_size() */ XBT_ATTRIB_DEPRECATED_v323("Please use Comm::get_dst_data_size()") size_t getDstDataSize() { return get_dst_data_size(); } + /** @deprecated See Comm::get_mailbox() */ XBT_ATTRIB_DEPRECATED_v323("Please use Comm::get_mailbox()") MailboxPtr getMailbox() { return get_mailbox(); } private: