* Resource *
************/
-LinkImpl::LinkImpl(const std::string& name, lmm::Constraint* constraint) : Resource(name), piface_(this)
+LinkImpl::LinkImpl(const std::string& name, lmm::Constraint* constraint) : Resource_T(name), piface_(this)
{
this->set_constraint(constraint);
if (name != "__loopback__")
}
}
}
+
void LinkImpl::seal()
{
this->set_model(surf_network_model);
-
+ Resource::seal();
simgrid::s4u::Link::on_creation(*get_iface());
}
+
void LinkImpl::on_bandwidth_change() const
{
s4u::Link::on_bandwidth_change(this->piface_);