X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a91ed4612675df3eb54e154f6525c3cc96a50b7f..08ebacab3b8aeb2d74f811f8631e9c1c8c3938ed:/include/simgrid/s4u/Actor.hpp diff --git a/include/simgrid/s4u/Actor.hpp b/include/simgrid/s4u/Actor.hpp index 0a14c7d089..5aee78cd03 100644 --- a/include/simgrid/s4u/Actor.hpp +++ b/include/simgrid/s4u/Actor.hpp @@ -202,7 +202,9 @@ public: // ***** Methods ***** - /** Retrieves the name of that actor */ + /** Retrieves the name of that actor as a C string */ + const char* cname(); + /** Retrieves the name of that actor as a C++ string */ simgrid::xbt::string name(); /** Retrieves the host on which that actor is running */ s4u::Host* host(); @@ -242,7 +244,6 @@ public: /** Ask kindly to all actors to die. Only the issuer will survive. */ static void killAll(); -protected: /** Returns the internal implementation of this actor */ simix::ActorImpl* getImpl(); }; @@ -287,7 +288,7 @@ namespace this_actor { * * See \ref Comm for the full communication API (including non blocking communications). */ - XBT_PUBLIC(void) send(MailboxPtr chan, void*payload, size_t simulatedSize); + XBT_PUBLIC(void) send(MailboxPtr chan, void* payload, double simulatedSize); /** @brief Returns the PID of the current actor. */ XBT_PUBLIC(int) pid();