X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2c01336cbfb90976b513b71718a748b3a01a8e6a..f2907d4c4e2bfdd55ae8a7c41711b731d106f668:/src/surf/network_ns3.hpp diff --git a/src/surf/network_ns3.hpp b/src/surf/network_ns3.hpp index ecdb950492..d7ff3ceffe 100644 --- a/src/surf/network_ns3.hpp +++ b/src/surf/network_ns3.hpp @@ -1,13 +1,12 @@ -/* Copyright (c) 2004-2015. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2004-2017. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ + #ifndef NETWORK_NS3_HPP_ #define NETWORK_NS3_HPP_ - -#include +#include "xbt/base.h" #include "network_interface.hpp" #include "src/surf/ns3/ns3_interface.h" @@ -50,11 +49,12 @@ public: NetworkNS3Action(Model* model, double cost, s4u::Host* src, s4u::Host* dst); bool isSuspended(); - int unref(); - void suspend(); - void resume(); + int unref() override; + void suspend() override; + void resume() override; + std::list links() override; -//private: + // private: double lastSent_ = 0; s4u::Host* src_; s4u::Host* dst_;