X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dd493bf4a168bd2b379810313916e1a4e0898388..59a2292cca5e121a5db0c933112d4c421ded712a:/src/kernel/actor/CommObserver.hpp diff --git a/src/kernel/actor/CommObserver.hpp b/src/kernel/actor/CommObserver.hpp index 41607aa580..77584250bd 100644 --- a/src/kernel/actor/CommObserver.hpp +++ b/src/kernel/actor/CommObserver.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2019-2022. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2019-2023. The SimGrid Team. All rights reserved. */ /* 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. */ @@ -26,6 +26,7 @@ public: bool is_visible() const override { return true; } activity::ActivityImpl* get_activity() const { return activity_; } void serialize(std::stringstream& stream) const override; + std::string to_string() const override; }; class ActivityTestanySimcall final : public ResultingSimcall { @@ -38,6 +39,7 @@ public: bool is_visible() const override { return true; } bool is_enabled() override { return true; /* can return -1 if no activity is ready */ } void serialize(std::stringstream& stream) const override; + std::string to_string() const override; int get_max_consider() const override; void prepare(int times_considered) override; const std::vector& get_activities() const { return activities_; } @@ -54,6 +56,7 @@ public: { } void serialize(std::stringstream& stream) const override; + std::string to_string() const override; bool is_visible() const override { return true; } bool is_enabled() override; activity::ActivityImpl* get_activity() const { return activity_; } @@ -71,6 +74,7 @@ public: ActivityWaitanySimcall(ActorImpl* actor, const std::vector& activities, double timeout); bool is_enabled() override; void serialize(std::stringstream& stream) const override; + std::string to_string() const override; bool is_visible() const override { return true; } void prepare(int times_considered) override; int get_max_consider() const override; @@ -116,6 +120,7 @@ public: { } void serialize(std::stringstream& stream) const override; + std::string to_string() const override; bool is_visible() const override { return true; } activity::MailboxImpl* get_mailbox() const { return mbox_; } double get_payload_size() const { return payload_size_; } @@ -160,6 +165,7 @@ public: { } void serialize(std::stringstream& stream) const override; + std::string to_string() const override; bool is_visible() const override { return true; } activity::MailboxImpl* get_mailbox() const { return mbox_; } double get_rate() const { return rate_; }