explicit NetZoneImpl(NetZoneImpl* father, std::string name);
virtual ~NetZoneImpl();
- s4u::NetZone piface_;
-
public:
s4u::NetZone* get_iface() { return &piface_; }
/* OUT */ std::vector<resource::LinkImpl*>& links, double* latency);
private:
+ s4u::NetZone piface_;
+
// our content, as known to our graph routing algorithm (maps vertex_id -> vertex)
std::vector<kernel::routing::NetPoint*> vertices_;
explicit NetZone(kernel::routing::NetZoneImpl* impl);
~NetZone();
- kernel::routing::NetZoneImpl* pimpl_;
-
public:
/** @brief Retrieves the name of that netzone as a C++ string */
const std::string& get_name() const;
kernel::routing::NetZoneImpl* get_impl() { return pimpl_; }
private:
+ kernel::routing::NetZoneImpl* pimpl_;
std::unordered_map<std::string, std::string> properties_;
public:
dstName, gw_dst->get_cname());
}
- piface_.on_route_creation(symmetrical, src, dst, gw_src, gw_dst, link_list);
+ get_iface()->on_route_creation(symmetrical, src, dst, gw_src, gw_dst, link_list);
}
}
}