-s4u::Actor::Actor(const char *name, s4u::Host *host, int argc, char **argv)
- : s4u::Actor::Actor(name,host, argc,argv, -1) {
+
+void Actor::setAutoRestart(bool autorestart) {
+ simcall_process_auto_restart_set(pimpl_,autorestart);
+}
+
+s4u::Host* Actor::host()
+{
+ return this->pimpl_->host;
+}
+
+const char* Actor::cname()
+{
+ return this->pimpl_->name.c_str();
+}
+
+simgrid::xbt::string Actor::name()
+{
+ return this->pimpl_->name;
+}
+
+int Actor::pid()
+{
+ return this->pimpl_->pid;