/*! take a vector s4u::CommPtr and return the rank of the first finished one (or -1 if none is done). */
static ssize_t test_any(const std::vector<CommPtr>& comms);
+#ifndef DOXYGEN
XBT_ATTRIB_DEPRECATED_v332("Please use a plain vector for parameter")
static int wait_any(const std::vector<CommPtr>* comms) { return static_cast<int>(wait_any_for(*comms, -1)); }
XBT_ATTRIB_DEPRECATED_v332("Please use a plain vector for first parameter")
static void wait_all(const std::vector<CommPtr>* comms) { wait_all(*comms); }
XBT_ATTRIB_DEPRECATED_v332("Please use a plain vector for parameter")
static int test_any(const std::vector<CommPtr>* comms) { return static_cast<int>(test_any(*comms)); }
+#endif
Comm* start() override;
Comm* wait_for(double timeout) override;
/** @brief Retrieves the name of that netzone as a C string */
const char* get_cname() const;
- XBT_ATTRIB_DEPRECATED_v331("Please use get_parent()") NetZone* get_father() const;
NetZone* get_parent() const;
NetZone* set_parent(const NetZone* parent);
/** @brief Get the netpoint associated to this netzone */
kernel::routing::NetPoint* get_netpoint();
+#ifndef DOXYGEN
+ XBT_ATTRIB_DEPRECATED_v331("Please use get_parent()") NetZone* get_father() const;
std::vector<NetZone*> get_children() const;
XBT_ATTRIB_DEPRECATED_v332("Please use set_parent() to manage NetZone's relationship") NetZone* add_child(
NetZone* new_zone);
+#endif
void extract_xbt_graph(const s_xbt_graph_t* graph, std::map<std::string, xbt_node_t, std::less<>>* nodes,
std::map<std::string, xbt_edge_t, std::less<>>* edges);
SUSPENDED, /**< Suspend/resume does not involve disk I/O, so we assume there is no transition states. */
DESTROYED
);
+#ifndef DOXYGEN
using state XBT_ATTRIB_DEPRECATED_v332("Please use VirtualMachine::State") = State;
+#endif
vm::VirtualMachineImpl* get_vm_impl() const { return pimpl_vm_; }
void start();