Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
doc: fix broken references
[simgrid.git] / src / surf / AsNone.cpp
1 /* Copyright (c) 2009-2016. The SimGrid Team. All rights reserved.          */
2
3 /* This program is free software; you can redistribute it and/or modify it
4  * under the terms of the license (GNU LGPL) which comes with this package. */
5
6 #include "src/surf/AsNone.hpp"
7
8 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route_none, surf, "Routing part of surf");
9
10 namespace simgrid {
11 namespace surf {
12 AsNone::AsNone(const char*name)
13   : AsImpl(name)
14 {}
15 AsNone::~AsNone()
16 {}
17
18 void AsNone::getRouteAndLatency(NetCard * /*src*/, NetCard * /*dst*/,
19                                 sg_platf_route_cbarg_t /*res*/, double */*lat*/)
20 {}
21
22 void AsNone::getGraph(xbt_graph_t /*graph*/, xbt_dict_t /*nodes*/, xbt_dict_t /*edges*/)
23 {
24   XBT_ERROR("No routing no graph");
25 }
26 }
27 }