X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b356ce9a510410f879eb3cd1b16b33856aebfdbe..cd481bb52854619d3e1a3065421bb49440a3ada6:/src/s4u/s4u_link.cpp diff --git a/src/s4u/s4u_link.cpp b/src/s4u/s4u_link.cpp index 2f359e019a..4fd78e8863 100644 --- a/src/s4u/s4u_link.cpp +++ b/src/s4u/s4u_link.cpp @@ -1,12 +1,11 @@ -/* Copyright (c) 2013-2015. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2013-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. */ #include -#include "simgrid/s4u/link.hpp" +#include "simgrid/s4u/Link.hpp" #include "simgrid/sg_config.h" #include "simgrid/simix.hpp" #include "src/surf/network_interface.hpp" @@ -149,5 +148,14 @@ void Link::setLatencyTrace(tmgr_trace_t trace) this->pimpl_->setLatencyTrace(trace); }); } + +/************* + * Callbacks * + *************/ +simgrid::xbt::signal Link::onCreation; +simgrid::xbt::signal Link::onDestruction; +simgrid::xbt::signal Link::onStateChange; +simgrid::xbt::signal Link::onCommunicate; +simgrid::xbt::signal Link::onCommunicationStateChange; } }