-/* 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 <algorithm>
-#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"
}
const char* Link::name()
{
- return pimpl_->getName();
+ return this->pimpl_->cname();
}
bool Link::isUsed()
{
- return pimpl_->isUsed();
+ return this->pimpl_->isUsed();
}
double Link::latency()
{
- return pimpl_->latency();
+ return this->pimpl_->latency();
}
double Link::bandwidth()
{
- return pimpl_->bandwidth();
+ return this->pimpl_->bandwidth();
}
int Link::sharingPolicy()
{
- return pimpl_->sharingPolicy();
+ return this->pimpl_->sharingPolicy();
}
void Link::turnOn()
void* Link::getData()
{
- return pimpl_->getData();
+ return this->pimpl_->getData();
}
void Link::setData(void* d)
{