+ static std::function<void(CommImpl*, void*, size_t)> copy_data_callback_;
+
+ double rate_ = -1.0;
+ double size_ = 0.0;
+ bool detached_ = false; /* If detached or not */
+ bool copied_ = false; /* whether the data were already copied */
+ MailboxImpl* mbox_ = nullptr; /* Rendez-vous where the comm is queued. nullptr once the comm is matched with both a
+ sender and receiver */
+ long mbox_id_ = -1; /* ID of the rendez-vous where the comm was first queued (for MC) */
+ s4u::Host* from_ = nullptr; /* Pre-determined only for direct host-to-host communications */
+ s4u::Host* to_ = nullptr; /* Otherwise, computed at start() time from the actors */
+ CommImplType type_ = CommImplType::SEND; /* Type of the communication (SEND or RECEIVE) */