#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. More... | |
void | NotifyViaTraceSource (std::string context, double oldVal, double newVal) |
This is a function to test hooking a raw function to the trace source,. More... | |
void NotifyViaProbe | ( | std::string | context, |
double | oldVal, | ||
double | newVal | ||
) |
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 129 of file double-probe-example.cc.
References NS_LOG_DEBUG.
void NotifyViaTraceSource | ( | std::string | context, |
double | oldVal, | ||
double | newVal | ||
) |
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 116 of file double-probe-example.cc.
References NS_LOG_DEBUG.