A Discrete-Event Network Simulator
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.


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

Function Documentation

◆ CourseChange()

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

Function called when there is a course change.

contextevent context
positiona pointer to the mobility model

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

References ns3::MobilityModel::GetPosition(), and ns3::Simulator::Now().

+ Here is the call graph for this function: