-typedef struct simdata_process {
- msg_host_t m_host; /* the host on which the process is running */
- msg_host_t put_host; /* used for debugging purposes */
- smx_activity_t waiting_action;
- msg_task_t waiting_task;
- msg_error_t last_errno; /* the last value returned by a MSG_function */
-
- void* data; /* user data */
-} s_simdata_process_t, *simdata_process_t;
-
-typedef struct process_arg {
- const char *name;
- xbt_main_func_t code;
- void *data;
- msg_host_t m_host;
- int argc;
- char **argv;
- double kill_time;
-} s_process_arg_t, *process_arg_t;
+namespace simgrid {
+class MsgActorExt {
+public:
+ explicit MsgActorExt(void* d) : data(d) {}
+ msg_error_t errno_ = MSG_OK; /* the last value returned by a MSG_function */
+ void* data = nullptr; /* user data */
+};
+}