{
xbt_assert(this->get_model(), "Cannot seal Link(%s) without setting the Network model first", this->get_cname());
Resource::seal();
- simgrid::s4u::Link::on_creation(*get_iface());
+ s4u::Link::on_creation(*get_iface());
}
void LinkImpl::on_bandwidth_change() const
~NetworkModel() override;
/**
- * @brief Create a Link
+ * @brief Create a [WiFi]Link
*
* @param name The name of the Link
- * @param bandwidth The initial bandwidth of the Link in bytes per second
- * @param policy The sharing policy of the Link
+ * @param bandwidths The vector of bandwidths of the Link in bytes per second
*/
virtual LinkImpl* create_link(const std::string& name, const std::vector<double>& bandwidths) = 0;