X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a22eb0ac7d22d5beaa6e33adf8f85c28dac59024..34183f01fa5fb9c81919d6f04ccac8a927a36504:/src/kernel/routing/EmptyZone.hpp diff --git a/src/kernel/routing/EmptyZone.hpp b/src/kernel/routing/EmptyZone.hpp index c7e5ec38e2..09b2fda222 100644 --- a/src/kernel/routing/EmptyZone.hpp +++ b/src/kernel/routing/EmptyZone.hpp @@ -12,16 +12,23 @@ namespace simgrid { namespace kernel { namespace routing { -/** No specific routing. Mainly useful with the constant network model */ -class XBT_PRIVATE AsNone : public AsImpl { +/** @ingroup ROUTING_API + * @brief NetZone with no routing, useful with the constant network model + * + * Such netzones never contain any link, and the latency is always left unchanged: + * the constant time network model computes this latency externally. + */ + +class XBT_PRIVATE EmptyZone : public NetZoneImpl { public: - explicit AsNone(As* father, const char* name); - ~AsNone() override; + explicit EmptyZone(NetZone* father, const char* name); + ~EmptyZone() override; void getLocalRoute(NetCard* src, NetCard* dst, sg_platf_route_cbarg_t into, double* latency) override; void getGraph(xbt_graph_t graph, xbt_dict_t nodes, xbt_dict_t edges) override; }; - -}}} // namespace +} +} +} // namespace #endif /* SURF_ROUTING_NONE_HPP_ */