A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
mixed-wired-wireless.cc File Reference
#include "ns3/animation-interface.h"
#include "ns3/command-line.h"
#include "ns3/csma-helper.h"
#include "ns3/internet-stack-helper.h"
#include "ns3/ipv4-address-helper.h"
#include "ns3/mobility-helper.h"
#include "ns3/olsr-helper.h"
#include "ns3/on-off-helper.h"
#include "ns3/packet-sink-helper.h"
#include "ns3/qos-txop.h"
#include "ns3/ssid.h"
#include "ns3/string.h"
#include "ns3/yans-wifi-channel.h"
#include "ns3/yans-wifi-helper.h"
+ Include dependency graph for mixed-wired-wireless.cc:

Go to the source code of this file.

Functions

static void CourseChangeCallback (std::string path, Ptr< const MobilityModel > model)
 This function will be used below as a trace sink, if the command-line argument or default value "useCourseChangeCallback" is set to true.
 

Detailed Description

Usage

$ ./ns3 run "mixed-wired-wireless [Program Options]"

Program Options

--backboneNodes
number of backbone nodes [10]
--infraNodes
number of leaf nodes [2]
--lanNodes
number of LAN nodes [2]
--stopTime
simulation stop time (seconds) [20]
--useCourseChangeCallback
whether to enable course change tracing [false]

Definition in file mixed-wired-wireless.cc.

Function Documentation

◆ CourseChangeCallback()

static void CourseChangeCallback ( std::string  path,
Ptr< const MobilityModel model 
)
static

This function will be used below as a trace sink, if the command-line argument or default value "useCourseChangeCallback" is set to true.

Parameters
pathThe callback path.
modelThe mobility model.

Definition at line 90 of file mixed-wired-wireless.cc.