#include "ns3/core-module.h"
#include "ns3/double-probe.h"
#include <string>
Go to the source code of this file.
Classes | |
class | Emitter |
This is our test object, an object that increments counters at various times and emits one of them as a trace source. More... | |
Functions | |
void | NotifyViaProbe (std::string context, double oldVal, double newVal) |
This is a function to test hooking it to the probe output. | |
void | NotifyViaTraceSource (std::string context, double oldVal, double newVal) |
This is a function to test hooking a raw function to the trace source,. | |
This is a function to test hooking it to the probe output.
context | The trace context. |
oldVal | Old value. |
newVal | New value. |
Definition at line 118 of file double-probe-example.cc.
References NS_LOG_DEBUG.
This is a function to test hooking a raw function to the trace source,.
context | The trace context. |
oldVal | Old value. |
newVal | New value. |
Definition at line 105 of file double-probe-example.cc.
References NS_LOG_DEBUG.