A Discrete-Event Network Simulator
API
WifiApp Class Reference

The WifiApp class enforces program flow for ns-3 wifi applications. More...

+ Inheritance diagram for WifiApp:

Public Member Functions

 WifiApp ()
 Constructor. More...
 
virtual ~WifiApp ()
 Destructor. More...
 
void Simulate (int argc, char **argv)
 Enacts simulation of an ns-3 wifi application. More...
 

Protected Member Functions

virtual void ConfigureApplications ()
 Configure applications. More...
 
virtual void ConfigureChannels ()
 Configure channels. More...
 
virtual void ConfigureDevices ()
 Configure devices. More...
 
virtual void ConfigureMobility ()
 Configure mobility. More...
 
virtual void ConfigureNodes ()
 Configure nodes. More...
 
virtual void ConfigureTracing ()
 Configure tracing. More...
 
virtual void ParseCommandLineArguments (int argc, char **argv)
 Process command line arguments. More...
 
virtual void ProcessOutputs ()
 Process outputs. More...
 
virtual void RunSimulation ()
 Run the simulation. More...
 
virtual void SetDefaultAttributeValues ()
 Sets default attribute values. More...
 

Detailed Description

The WifiApp class enforces program flow for ns-3 wifi applications.

Definition at line 821 of file vanet-routing-compare.cc.

Constructor & Destructor Documentation

◆ WifiApp()

WifiApp::WifiApp ( )

Constructor.

Definition at line 895 of file vanet-routing-compare.cc.

◆ ~WifiApp()

WifiApp::~WifiApp ( )
virtual

Destructor.

Definition at line 899 of file vanet-routing-compare.cc.

Member Function Documentation

◆ ConfigureApplications()

void WifiApp::ConfigureApplications ( )
protectedvirtual

Configure applications.

Reimplemented in VanetRoutingExperiment.

Definition at line 967 of file vanet-routing-compare.cc.

Referenced by Simulate().

+ Here is the caller graph for this function:

◆ ConfigureChannels()

void WifiApp::ConfigureChannels ( )
protectedvirtual

Configure channels.

Reimplemented in VanetRoutingExperiment.

Definition at line 952 of file vanet-routing-compare.cc.

Referenced by Simulate().

+ Here is the caller graph for this function:

◆ ConfigureDevices()

void WifiApp::ConfigureDevices ( )
protectedvirtual

Configure devices.

Reimplemented in VanetRoutingExperiment.

Definition at line 957 of file vanet-routing-compare.cc.

Referenced by Simulate().

+ Here is the caller graph for this function:

◆ ConfigureMobility()

void WifiApp::ConfigureMobility ( )
protectedvirtual

Configure mobility.

Reimplemented in VanetRoutingExperiment.

Definition at line 962 of file vanet-routing-compare.cc.

Referenced by Simulate().

+ Here is the caller graph for this function:

◆ ConfigureNodes()

void WifiApp::ConfigureNodes ( )
protectedvirtual

Configure nodes.

Reimplemented in VanetRoutingExperiment.

Definition at line 947 of file vanet-routing-compare.cc.

Referenced by Simulate().

+ Here is the caller graph for this function:

◆ ConfigureTracing()

void WifiApp::ConfigureTracing ( )
protectedvirtual

Configure tracing.

Reimplemented in VanetRoutingExperiment.

Definition at line 972 of file vanet-routing-compare.cc.

Referenced by Simulate().

+ Here is the caller graph for this function:

◆ ParseCommandLineArguments()

void WifiApp::ParseCommandLineArguments ( int  argc,
char **  argv 
)
protectedvirtual

Process command line arguments.

Parameters
argcprogram arguments count
argvprogram arguments

Reimplemented in VanetRoutingExperiment.

Definition at line 942 of file vanet-routing-compare.cc.

Referenced by Simulate().

+ Here is the caller graph for this function:

◆ ProcessOutputs()

void WifiApp::ProcessOutputs ( )
protectedvirtual

Process outputs.

Reimplemented in VanetRoutingExperiment.

Definition at line 982 of file vanet-routing-compare.cc.

Referenced by Simulate().

+ Here is the caller graph for this function:

◆ RunSimulation()

void WifiApp::RunSimulation ( )
protectedvirtual

Run the simulation.

Reimplemented in VanetRoutingExperiment.

Definition at line 977 of file vanet-routing-compare.cc.

Referenced by Simulate().

+ Here is the caller graph for this function:

◆ SetDefaultAttributeValues()

void WifiApp::SetDefaultAttributeValues ( )
protectedvirtual

Sets default attribute values.

Reimplemented in VanetRoutingExperiment.

Definition at line 937 of file vanet-routing-compare.cc.

Referenced by Simulate().

+ Here is the caller graph for this function:

◆ Simulate()

void WifiApp::Simulate ( int  argc,
char **  argv 
)

Enacts simulation of an ns-3 wifi application.

Parameters
argcprogram arguments count
argvprogram arguments

Definition at line 904 of file vanet-routing-compare.cc.

References ConfigureApplications(), ConfigureChannels(), ConfigureDevices(), ConfigureMobility(), ConfigureNodes(), ConfigureTracing(), ParseCommandLineArguments(), ProcessOutputs(), RunSimulation(), and SetDefaultAttributeValues().

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: