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

Go to the source code of this file.

Functions

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

Detailed Description

Usage

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

Definition in file main-random-walk.cc.

Function Documentation

◆ CourseChange()

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

Function called when there is a course change.

Parameters
contextevent context
mobilitya pointer to the mobility model

Definition at line 30 of file main-random-walk.cc.

References third::mobility, and ns3::Simulator::Now().

+ Here is the call graph for this function: