X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dceed88b84f4c8dccf94f8031cc9ba635eaf75da..5b471fd312578823ddf19badd84c523c024e99bf:/include/simgrid/s4u/Actor.hpp diff --git a/include/simgrid/s4u/Actor.hpp b/include/simgrid/s4u/Actor.hpp index eec45c1760..4d948964e9 100644 --- a/include/simgrid/s4u/Actor.hpp +++ b/include/simgrid/s4u/Actor.hpp @@ -198,19 +198,19 @@ public: void daemonize(); /** Retrieves the name of that actor as a C string */ - const char* cname(); + const char* getCname(); /** Retrieves the name of that actor as a C++ string */ - simgrid::xbt::string name(); + simgrid::xbt::string getName(); /** Retrieves the host on which that actor is running */ - s4u::Host* host(); + s4u::Host* getHost(); /** Retrieves the PID of that actor * * actor_id_t is an alias for unsigned long */ - aid_t pid(); + aid_t getPid(); /** Retrieves the PPID of that actor * * actor_id_t is an alias for unsigned long */ - aid_t ppid(); + aid_t getPpid(); /** Suspend an actor by suspending the task on which it was waiting for the completion. */ void suspend(); @@ -232,7 +232,7 @@ public: /** Sets the time at which that actor should be killed */ void setKillTime(double time); /** Retrieves the time at which that actor will be killed (or -1 if not set) */ - double killTime(); + double getKillTime(); void migrate(Host * new_host); @@ -267,7 +267,7 @@ public: simix::ActorImpl* getImpl(); /** Retrieve the property value (or nullptr if not set) */ - const char* property(const char* key); + const char* getProperty(const char* key); void setProperty(const char* key, const char* value); }; @@ -300,7 +300,7 @@ template inline void sleep_for(std::chrono::duration inline void sleep_for(std::chrono::duration