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
attempt of a function searching all zones of a given type
[simgrid.git]
/
include
/
xbt
/
signal.hpp
diff --git
a/include/xbt/signal.hpp
b/include/xbt/signal.hpp
index
d5ad826
..
eda4108
100644
(file)
--- a/
include/xbt/signal.hpp
+++ b/
include/xbt/signal.hpp
@@
-37,10
+37,8
@@
namespace xbt {
for (auto const& handler : handlers_)
handler(args...);
}
for (auto const& handler : handlers_)
handler(args...);
}
- void disconnect_all_slots()
- {
- handlers_.clear();
- }
+ void disconnectSlots() { handlers_.clear(); }
+ int getSlotsAmount() { return handlers_.size(); }
};
}
};
}