#ifndef SIMGRID_KERNEL_RESOURCE_LINKIMPLINTF_HPP
#define SIMGRID_KERNEL_RESOURCE_LINKIMPLINTF_HPP
-#include "simgrid/kernel/resource/Resource.hpp"
#include "simgrid/s4u/Link.hpp"
-#include <xbt/PropertyHolder.hpp>
+#include "src/kernel/resource/Resource.hpp"
+#include "xbt/PropertyHolder.hpp"
/***********
* Classes *
************/
/** @ingroup SURF_interface
* @brief SURF network link interface class
- * @details A Link represents the link between two [hosts](@ref simgrid::surf::HostImpl)
+ * @details A Link represents the link between two [hosts](@ref HostImpl)
*/
class LinkImplIntf : public Resource_T<LinkImplIntf>, public xbt::PropertyHolder {
public:
virtual void set_latency(double value) = 0;
/** @brief The sharing policy */
- virtual void set_sharing_policy(s4u::Link::SharingPolicy policy) = 0;
+ virtual void set_sharing_policy(s4u::Link::SharingPolicy policy, const s4u::NonLinearResourceCb& cb) = 0;
virtual s4u::Link::SharingPolicy get_sharing_policy() const = 0;
/* setup the profile file with bandwidth events (peak speed changes due to external load).