ns3::SatMarkovFadingExamplePlot Class Reference
+ Inheritance diagram for ns3::SatMarkovFadingExamplePlot:
+ Collaboration diagram for ns3::SatMarkovFadingExamplePlot:

Public Member Functions

 SatMarkovFadingExamplePlot ()
 
void Run ()
 

Static Public Member Functions

static TypeId GetTypeId ()
 

Private Member Functions

void FadingTraceCb (std::string context, double time, SatEnums::ChannelType_t chType, double fadingValue)
 
double GetElevation ()
 
Gnuplot GetGnuplot (std::string outputName, std::string title)
 
Gnuplot2dDataset GetGnuplotDataset (std::string title)
 
double GetVelocity ()
 

Private Attributes

double m_elevation
 
std::vector< std::pair< double, double > > m_fadingValues
 
double m_velocity
 

Detailed Description

Definition at line 52 of file sat-markov-fading-trace-example.cc.

Constructor & Destructor Documentation

◆ SatMarkovFadingExamplePlot()

ns3::SatMarkovFadingExamplePlot::SatMarkovFadingExamplePlot ( )

Definition at line 85 of file sat-markov-fading-trace-example.cc.

References m_elevation, and m_velocity.

Member Function Documentation

◆ FadingTraceCb()

void ns3::SatMarkovFadingExamplePlot::FadingTraceCb ( std::string  context,
double  time,
SatEnums::ChannelType_t  chType,
double  fadingValue 
)
private

Definition at line 92 of file sat-markov-fading-trace-example.cc.

References m_fadingValues.

Referenced by Run().

+ Here is the caller graph for this function:

◆ GetElevation()

double ns3::SatMarkovFadingExamplePlot::GetElevation ( )
private

Definition at line 102 of file sat-markov-fading-trace-example.cc.

References m_elevation.

Referenced by Run().

+ Here is the caller graph for this function:

◆ GetGnuplot()

Gnuplot ns3::SatMarkovFadingExamplePlot::GetGnuplot ( std::string  outputName,
std::string  title 
)
private

Definition at line 128 of file sat-markov-fading-trace-example.cc.

Referenced by Run().

+ Here is the caller graph for this function:

◆ GetGnuplotDataset()

Gnuplot2dDataset ns3::SatMarkovFadingExamplePlot::GetGnuplotDataset ( std::string  title)
private

Definition at line 114 of file sat-markov-fading-trace-example.cc.

References m_fadingValues.

Referenced by Run().

+ Here is the caller graph for this function:

◆ GetTypeId()

TypeId ns3::SatMarkovFadingExamplePlot::GetTypeId ( )
static

Definition at line 77 of file sat-markov-fading-trace-example.cc.

◆ GetVelocity()

double ns3::SatMarkovFadingExamplePlot::GetVelocity ( )
private

Definition at line 108 of file sat-markov-fading-trace-example.cc.

References m_velocity.

Referenced by Run().

+ Here is the caller graph for this function:

◆ Run()

void ns3::SatMarkovFadingExamplePlot::Run ( )

Set simulation output details

Create default Markov & Loo configurations

Create fading container based on default configuration

Run simulation

Definition at line 140 of file sat-markov-fading-trace-example.cc.

References ns3::SatMarkovContainer::DoGetFading(), FadingTraceCb(), ns3::SatEnums::FORWARD_USER_CH, GetElevation(), GetGnuplot(), GetGnuplotDataset(), GetVelocity(), and ns3::SatMarkovContainer::LockToSetAndState().

+ Here is the call graph for this function:

Member Data Documentation

◆ m_elevation

double ns3::SatMarkovFadingExamplePlot::m_elevation
private

Definition at line 69 of file sat-markov-fading-trace-example.cc.

Referenced by SatMarkovFadingExamplePlot(), and GetElevation().

◆ m_fadingValues

std::vector<std::pair<double, double> > ns3::SatMarkovFadingExamplePlot::m_fadingValues
private

Definition at line 71 of file sat-markov-fading-trace-example.cc.

Referenced by FadingTraceCb(), and GetGnuplotDataset().

◆ m_velocity

double ns3::SatMarkovFadingExamplePlot::m_velocity
private

Definition at line 70 of file sat-markov-fading-trace-example.cc.

Referenced by SatMarkovFadingExamplePlot(), and GetVelocity().


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