simgrid::xbt::signal<void(NetPoint*)> NetPoint::onCreation;
NetPoint::NetPoint(std::string name, NetPoint::Type componentType, NetZoneImpl* netzone_p)
- : name_(name), component_type_(componentType), netzone_(netzone_p)
+ : name_(name), component_type_(componentType), englobing_zone_(netzone_p)
{
if (netzone_p != nullptr)
id_ = netzone_p->addComponent(this);
else
id_ = static_cast<decltype(id_)>(-1);
- simgrid::s4u::Engine::getInstance()->netpointRegister(this);
+ simgrid::s4u::Engine::getInstance()->netpoint_register(this);
simgrid::kernel::routing::NetPoint::onCreation(this);
}
}