diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-07-24 23:35:20 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-07-24 23:35:20 +0200 |
commit | 8cc6b6dd69cee050c16a1c871c986ed933141866 (patch) | |
tree | 6fb604bcec561b7a0cfb17395eb59ffcc776b365 /mmss/context.hpp | |
parent | cbbfe4360d95294d792956df43df4a72854a8e80 (diff) | |
download | gmrf-8cc6b6dd69cee050c16a1c871c986ed933141866.tar gmrf-8cc6b6dd69cee050c16a1c871c986ed933141866.zip |
Diffstat (limited to 'mmss/context.hpp')
-rw-r--r-- | mmss/context.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mmss/context.hpp b/mmss/context.hpp index 4c7e478..90ffea1 100644 --- a/mmss/context.hpp +++ b/mmss/context.hpp @@ -63,6 +63,16 @@ public: monitor->handle_init(node, node_id, len); } + void network(network_t *net) { + for (auto monitor : monitors) + monitor->handle_network(net); + } + + void node_iface(node_t *node, iface_t *iface) { + for (auto monitor : monitors) + monitor->handle_iface(node, iface); + } + void node_neigh(node_t *node, iface_t *iface, const gmrf_addr_t *addr, float rxcost, float txcost) { for (auto monitor : monitors) monitor->handle_neigh(node, iface, addr, rxcost, txcost); |