#ifndef SIMGRID_S4U_ACTIVITY_HPP
#define SIMGRID_S4U_ACTIVITY_HPP
-#include <stdlib.h>
+#include <cstdlib>
+
#include <xbt/base.h>
#include <xbt/misc.h>
#include <simgrid/s4u/forward.hpp>
-#include "simgrid/forward.h"
+#include <simgrid/forward.h>
-SG_BEGIN_DECL();
typedef enum {
inited, started, finished
} e_s4u_activity_state_t;
-SG_END_DECL();
namespace simgrid {
namespace s4u {
#ifndef SIMGRID_S4U_AS_HPP
#define SIMGRID_S4U_AS_HPP
-#include "xbt/base.h"
-#include "xbt/graph.h"
-
-#include "simgrid/s4u/forward.hpp"
-#include <vector>
#include <map>
+#include <string>
+#include <utility>
+#include <vector>
+
+#include <xbt/base.h>
+#include <xbt/graph.h>
+
+#include <simgrid/s4u/forward.hpp>
#include "src/surf/xml/platf_private.hpp" // FIXME: kill sg_platf_route_cbarg_t to remove that UGLY include
#include <functional>
#include <memory>
#include <stdexcept>
+#include <string>
#include <type_traits>
+#include <utility>
+#include <vector>
#include <xbt/base.h>
#include <xbt/functional.hpp>
#define SIMGRID_S4U_COMM_HPP
#include <xbt/base.h>
+
#include <simgrid/s4u/Activity.hpp>
#include <simgrid/s4u/forward.hpp>
#include <simgrid/s4u/mailbox.hpp>
#define SIMGRID_S4U_COND_VARIABLE_HPP
#include <condition_variable>
+#include <future>
#include <mutex>
#include <utility> // std::swap
+#include <boost/intrusive_ptr.hpp>
+
+#include <xbt/base.h>
+
#include <simgrid/simix.h>
#include <simgrid/s4u/mutex.hpp>
#ifndef SIMGRID_S4U_ENGINE_HPP
#define SIMGRID_S4U_ENGINE_HPP
+#include <string>
+#include <utility>
+#include <vector>
+
#include <xbt/base.h>
#include <xbt/functional.hpp>
#define SIMGRID_S4U_FILE_HPP
#include <xbt/base.h>
+
#include <simgrid/simix.h>
namespace simgrid {
#ifndef SIMGRID_S4U_HOST_HPP
#define SIMGRID_S4U_HOST_HPP
+#include <string>
+
#include <boost/unordered_map.hpp>
#include <xbt/base.h>
#ifndef SIMGRID_S4U_MAILBOX_HPP
#define SIMGRID_S4U_MAILBOX_HPP
-#include <xbt/base.h>
-#include <simgrid/s4u/forward.hpp>
+#include <string>
+
+#include <boost/unordered_map.hpp>
-#ifdef __cplusplus
+#include <xbt/base.h>
-# include <boost/unordered_map.hpp>
+#include <simgrid/s4u/forward.hpp>
#include <simgrid/s4u/actor.hpp>
namespace simgrid {
};
}} // namespace simgrid::s4u
-#endif /* C++ */
-
XBT_PUBLIC(sg_mbox_t) sg_mbox_by_name(const char*name);
XBT_PUBLIC(int) sg_mbox_is_empty(sg_mbox_t mbox);
XBT_PUBLIC(void)sg_mbox_setReceiver(sg_mbox_t mbox, smx_process_t process);
#include <mutex>
#include <utility>
+#include <boost/intrusive_ptr.hpp>
+
#include <xbt/base.h>
#include "simgrid/simix.h"
#ifndef INCLUDE_SIMGRID_S4U_STORAGE_HPP_
#define INCLUDE_SIMGRID_S4U_STORAGE_HPP_
+#include <string>
+
#include <boost/unordered_map.hpp>
-#include "xbt/base.h"
-#include "simgrid/simix.h"
+
+#include <xbt/base.h>
+
+#include <simgrid/simix.h>
#include <simgrid/s4u/forward.hpp>
namespace simgrid {