X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/65ab3b5aa9b78d6e4e5f1d595788b6393554d565..7e9f2171250125a29ef5cedc0fd69328cb819f91:/include/simgrid/s4u/Comm.hpp diff --git a/include/simgrid/s4u/Comm.hpp b/include/simgrid/s4u/Comm.hpp index 4eef82f2fe..a057630588 100644 --- a/include/simgrid/s4u/Comm.hpp +++ b/include/simgrid/s4u/Comm.hpp @@ -45,6 +45,7 @@ public: Activity* start() override; Activity* wait() override; Activity* wait(double timeout) override; + bool test() override; /** Start the comm, and ignore its result. It can be completely forgotten after that. */ Activity* detach(); @@ -72,12 +73,12 @@ public: /** Retrieve the size of the received data */ size_t get_dst_data_size(); - bool test(); Activity* cancel() override; /** Retrieve the mailbox on which this comm acts */ MailboxPtr get_mailbox(); +#ifndef DOXYGEN /** @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() */ @@ -112,6 +113,7 @@ public: } /** @deprecated See Comm::get_mailbox() */ XBT_ATTRIB_DEPRECATED_v323("Please use Comm::get_mailbox()") MailboxPtr getMailbox() { return get_mailbox(); } +#endif private: double rate_ = -1;