A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
Demonstrates usage of the ns3::Length class
+ Collaboration diagram for Demonstrates usage of the ns3::Length class:

Files

file  length-example.cc
 Demonstrates usage of the ns3::Length class.
 

Functions

void ArithmeticOperators ()
 Demonstrates the use of ns3::Length arithmetic operators.
 
void Constructors ()
 Demonstrates the use of ns3::Length constructors.
 
void Conversions ()
 Demonstrates the use of ns3::Length conversions.
 
void DivAndMod ()
 Demonstrates the use of ns3::Length multiplications and divisions.
 
void EqualityOperators ()
 Demonstrates the use of ns3::Length equality operators.
 

Detailed Description

Function Documentation

◆ ArithmeticOperators()

void ArithmeticOperators ( )

Demonstrates the use of ns3::Length arithmetic operators.

Definition at line 74 of file length-example.cc.

References ns3::Meters().

+ Here is the call graph for this function:

◆ Constructors()

void Constructors ( )

Demonstrates the use of ns3::Length constructors.

Definition at line 33 of file length-example.cc.

◆ Conversions()

void Conversions ( )

Demonstrates the use of ns3::Length conversions.

Definition at line 55 of file length-example.cc.

References ns3::Length::As().

+ Here is the call graph for this function:

◆ DivAndMod()

void DivAndMod ( )

Demonstrates the use of ns3::Length multiplications and divisions.

Definition at line 138 of file length-example.cc.

References ns3::Length::As(), ns3::Div(), ns3::Feet(), and ns3::Mod().

+ Here is the call graph for this function:

◆ EqualityOperators()

void EqualityOperators ( )

Demonstrates the use of ns3::Length equality operators.

Definition at line 101 of file length-example.cc.

References ns3::Meters().

+ Here is the call graph for this function: