A Discrete-Event Network Simulator
API
main-random-topology.cc File Reference
#include "ns3/core-module.h"
#include "ns3/mobility-module.h"
+ Include dependency graph for main-random-topology.cc:

Go to the source code of this file.

Functions

static void CourseChange (std::string context, Ptr< const MobilityModel > position)
 Function called when there is a course change. More...
 

Detailed Description

Usage

$ ./ns3 run "main-random-topology"

Definition in file main-random-topology.cc.

Function Documentation

◆ CourseChange()

static void CourseChange ( std::string  context,
Ptr< const MobilityModel position 
)
static

Function called when there is a course change.

Parameters
contextevent context
positiona pointer to the mobility model

Definition at line 31 of file main-random-topology.cc.

References ns3::Simulator::Now().

+ Here is the call graph for this function: