]> AND Public Git Repository - simgrid.git/blobdiff - src/kernel/activity/CommImpl.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
use smart pointers for kernel timers
[simgrid.git] / src / kernel / activity / CommImpl.hpp
index 4221a89536c47b2949b6b802727017e764bfd579..a71052f3de0b4e8cd7cc7383737a732519fbcc2a 100644 (file)
@@ -46,6 +46,7 @@ public:
   MailboxImpl* get_mailbox() const { return mbox_; }
   bool detached() const { return detached_; }
 
+  std::vector<s4u::Link*> get_traversed_links() const;
   void copy_data();
 
   bool test() override;
@@ -58,6 +59,7 @@ public:
   void resume() override;
   void cancel() override;
   void post() override;
+  void set_exception(actor::ActorImpl* issuer) override;
   void finish() override;
 
   const Type type_ = Type::SEND; /* Type of the communication (SEND or RECEIVE) */
@@ -88,6 +90,8 @@ expectations of the other side, too. See  */
 
   void* src_data_ = nullptr; /* User data associated to the communication */
   void* dst_data_ = nullptr;
+  static xbt::signal<void(CommImpl const&)> on_start;
+  static xbt::signal<void(CommImpl const&)> on_completion;
 };
 } // namespace activity
 } // namespace kernel