// ***** 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();
/** 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();
};
*
* 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();