Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
split smx_synchro_t into a hierarchy of C++ classes
[simgrid.git] / src / simix / SynchroIo.hpp
diff --git a/src/simix/SynchroIo.hpp b/src/simix/SynchroIo.hpp
new file mode 100644 (file)
index 0000000..a3039b7
--- /dev/null
@@ -0,0 +1,22 @@
+/* Copyright (c) 2007-2016. The SimGrid Team. All rights reserved.          */
+
+/* This program is free software; you can redistribute it and/or modify it
+ * under the terms of the license (GNU LGPL) which comes with this package. */
+
+#ifndef _SIMIX_SYNCHRO_IO_HPP
+#define _SIMIX_SYNCHRO_IO_HPP
+
+#include "src/simix/Synchro.h"
+
+namespace simgrid {
+namespace simix {
+
+  XBT_PUBLIC_CLASS Io : public Synchro {
+  public:
+    sg_host_t host;
+    surf_action_t surf_io;
+  };
+
+}} // namespace simgrid::simix
+
+#endif