A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
please clang and gcc10
[simgrid.git]
/
include
/
simgrid
/
s4u
/
Link.hpp
diff --git
a/include/simgrid/s4u/Link.hpp
b/include/simgrid/s4u/Link.hpp
index
bf34cc7
..
8d788ed
100644
(file)
--- a/
include/simgrid/s4u/Link.hpp
+++ b/
include/simgrid/s4u/Link.hpp
@@
-32,7
+32,7
@@
class XBT_PUBLIC Link : public xbt::Extendable<Link> {
kernel::resource::LinkImpl* const pimpl_;
public:
kernel::resource::LinkImpl* const pimpl_;
public:
- enum class SharingPolicy { SPLITDUPLEX = 2, SHARED = 1, FATPIPE = 0 };
+ enum class SharingPolicy {
WIFI = 3,
SPLITDUPLEX = 2, SHARED = 1, FATPIPE = 0 };
kernel::resource::LinkImpl* get_impl() const { return pimpl_; }
kernel::resource::LinkImpl* get_impl() const { return pimpl_; }
@@
-64,9
+64,6
@@
public:
bool is_on() const;
void turn_off();
bool is_on() const;
void turn_off();
- void* get_data(); /** Should be used only from the C interface. Prefer extensions in C++ */
- void set_data(void* d);
-
#ifndef DOXYGEN
XBT_ATTRIB_DEPRECATED_v325("Please use Link::set_state_profile()") void set_state_trace(
kernel::profile::Profile* profile)
#ifndef DOXYGEN
XBT_ATTRIB_DEPRECATED_v325("Please use Link::set_state_profile()") void set_state_trace(
kernel::profile::Profile* profile)