#include "surf_interface.hpp"
#include "src/surf/xml/platf_private.hpp" // FIXME: including this here is pure madness. KILKILKIL XML.
-#include "src/surf/AsImpl.hpp"
+#include "src/kernel/routing/AsImpl.hpp"
#include <float.h>
#include <vector>
SG_END_DECL()
namespace simgrid {
-namespace surf {
+namespace routing {
XBT_PUBLIC_DATA(simgrid::xbt::signal<void(s4u::As*)>) asCreatedCallbacks;
XBT_PUBLIC_DATA(simgrid::xbt::signal<void(NetCard*)>) netcardCreatedCallbacks;
{
if (containingAS != nullptr)
id_ = containingAS->addComponent(this);
- simgrid::surf::netcardCreatedCallbacks(this);
+ simgrid::routing::netcardCreatedCallbacks(this);
}
~NetCardImpl() { xbt_free(name_);};
*/
XBT_PUBLIC_CLASS RoutingPlatf {
public:
- RoutingPlatf(Link *loopback);
+ explicit RoutingPlatf(Link *loopback);
~RoutingPlatf();
AsImpl *root_ = nullptr;
Link *loopback_;