A Discrete-Event Network Simulator
API
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. More...
 
void Constructors ()
 Demonstrates the use of ns3::Length constructors. More...
 
void Conversions ()
 Demonstrates the use of ns3::Length conversions. More...
 
void DivAndMod ()
 Demonstrates the use of ns3::Length multiplications and divisions. More...
 
void EqualityOperators ()
 Demonstrates the use of ns3::Length equality operators. More...
 

Detailed Description

Function Documentation

◆ ArithmeticOperators()

void ArithmeticOperators ( )

Demonstrates the use of ns3::Length arithmetic operators.

Definition at line 85 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 44 of file length-example.cc.

◆ Conversions()

void Conversions ( )

Demonstrates the use of ns3::Length conversions.

Definition at line 66 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 149 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 112 of file length-example.cc.

References ns3::Meters().

+ Here is the call graph for this function: