#include <string>
#include "ns3/core-module.h"
#include "ns3/double-probe.h"
Go to the source code of this file.
Classes | |
class | Emitter |
Functions | |
int | main (int argc, char *argv[]) |
void | NotifyViaProbe (std::string context, double oldVal, double newVal) |
void | NotifyViaTraceSource (std::string context, double oldVal, double newVal) |
NS_LOG_COMPONENT_DEFINE ("DoubleProbeExample") | |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 116 of file double-probe-example.cc.
References ns3::Names::Add(), ns3::DoubleProbe::ConnectByObject(), ns3::DoubleProbe::ConnectByPath(), ns3::Simulator::Destroy(), ns3::DataCollectionObject::GetName(), ns3::Object::Initialize(), ns3::MakeCallback(), NotifyViaProbe(), NotifyViaTraceSource(), NS_ASSERT_MSG, ns3::CommandLine::Parse(), ns3::Simulator::Run(), ns3::Simulator::Schedule(), ns3::DataCollectionObject::SetName(), ns3::Simulator::Stop(), and ns3::ObjectBase::TraceConnect().
void NotifyViaProbe | ( | std::string | context, |
double | oldVal, | ||
double | newVal | ||
) |
Definition at line 111 of file double-probe-example.cc.
References NS_LOG_DEBUG.
Referenced by main().
void NotifyViaTraceSource | ( | std::string | context, |
double | oldVal, | ||
double | newVal | ||
) |
Definition at line 104 of file double-probe-example.cc.
References NS_LOG_DEBUG.
Referenced by main().
NS_LOG_COMPONENT_DEFINE | ( | "DoubleProbeExample" | ) |