X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/347996b4a10c4e8579080692afa60e0afb88b60a..5976d6ac712e9aad9c0cdce3c204cf1fa6b6857a:/include/simgrid/s4u/actor.hpp diff --git a/include/simgrid/s4u/actor.hpp b/include/simgrid/s4u/actor.hpp index 696da86dad..8c6e1fc723 100644 --- a/include/simgrid/s4u/actor.hpp +++ b/include/simgrid/s4u/actor.hpp @@ -49,9 +49,9 @@ public: virtual int main(int argc, char **argv); /** The Actor that is currently running */ - static Actor *current(); + static Actor &self(); /** Retrieves the actor that have the given PID (or NULL if not existing) */ - static Actor *byPid(int pid); + //static Actor *byPid(int pid); not implemented /** Retrieves the name of that actor */ const char*getName(); @@ -95,9 +95,9 @@ public: void send(Mailbox &chan, void*payload, size_t simulatedSize); protected: - smx_process_t getInferior() {return p_smx_process;} + smx_process_t getInferior() {return inferior_;} private: - smx_process_t p_smx_process; + smx_process_t inferior_; }; }} // namespace simgrid::s4u