ns3::SimulationHelperConf Class Reference

#include "simulation-helper.h"

+ Inheritance diagram for ns3::SimulationHelperConf:
+ Collaboration diagram for ns3::SimulationHelperConf:

Public Types

enum  TrafficDirection_t { RTN_LINK , FWD_LINK , BOTH_LINK }
 
enum  TransportLayerProtocol_t { PROTOCOL_UDP , PROTOCOL_TCP , PROTOCOL_BOTH }
 

Public Member Functions

 SimulationHelperConf ()
 Default constructor. More...
 
virtual ~SimulationHelperConf ()
 Destructor. More...
 
TypeId GetInstanceTypeId (void) const
 Derived from Object. More...
 

Static Public Member Functions

static TypeId GetTypeId (void)
 Derived from Object. More...
 

Public Attributes

bool m_activateProgressLogging
 
bool m_activateStatistics
 
SimulationHelper::CrTxConf_t m_crTxConf
 
std::string m_enabledBeams
 
std::string m_mobileUtsFolder
 
Time m_simTime
 
std::map< std::string, TrafficConfiguration_tm_trafficModel
 
Ptr< RandomVariableStream > m_utCount
 
Ptr< RandomVariableStream > m_utMobileUserCount
 
Ptr< RandomVariableStream > m_utUserCount
 

Private Member Functions

TrafficDirection_t GetTrafficDirection (std::string trafficModel) const
 
double GetTrafficPercentage (std::string trafficModel) const
 
TransportLayerProtocol_t GetTrafficProtocol (std::string trafficModel) const
 
Time GetTrafficStartDelay (std::string trafficModel) const
 
Time GetTrafficStartTime (std::string trafficModel) const
 
Time GetTrafficStopTime (std::string trafficModel) const
 
void SetTrafficDirection (std::string trafficModel, TrafficDirection_t direction)
 
void SetTrafficPercentage (std::string trafficModel, double percentage)
 
void SetTrafficProtocol (std::string trafficModel, TransportLayerProtocol_t protocol)
 
void SetTrafficStartDelay (std::string trafficModel, Time startDelay)
 
void SetTrafficStartTime (std::string trafficModel, Time startTime)
 
void SetTrafficStopTime (std::string trafficModel, Time stopTime)
 
 TRAFFIC_MODEL_ATTRIBUTE_ACCESSOR_DEFINE (Cbr)
 
 TRAFFIC_MODEL_ATTRIBUTE_ACCESSOR_DEFINE (Http)
 
 TRAFFIC_MODEL_ATTRIBUTE_ACCESSOR_DEFINE (Nrtv)
 
 TRAFFIC_MODEL_ATTRIBUTE_ACCESSOR_DEFINE (OnOff)
 

Detailed Description

Definition at line 699 of file simulation-helper.h.

Member Enumeration Documentation

◆ TrafficDirection_t

Enumerator
RTN_LINK 
FWD_LINK 
BOTH_LINK 

Definition at line 729 of file simulation-helper.h.

◆ TransportLayerProtocol_t

Enumerator
PROTOCOL_UDP 
PROTOCOL_TCP 
PROTOCOL_BOTH 

Definition at line 722 of file simulation-helper.h.

Constructor & Destructor Documentation

◆ SimulationHelperConf()

ns3::SimulationHelperConf::SimulationHelperConf ( )

Default constructor.

Definition at line 204 of file simulation-helper.cc.

◆ ~SimulationHelperConf()

ns3::SimulationHelperConf::~SimulationHelperConf ( )
virtual

Destructor.

Definition at line 216 of file simulation-helper.cc.

Member Function Documentation

◆ GetInstanceTypeId()

TypeId ns3::SimulationHelperConf::GetInstanceTypeId ( void  ) const

Derived from Object.

Definition at line 197 of file simulation-helper.cc.

References GetTypeId().

+ Here is the call graph for this function:

◆ GetTrafficDirection()

TrafficDirection_t ns3::SimulationHelperConf::GetTrafficDirection ( std::string  trafficModel) const
inlineprivate

Definition at line 841 of file simulation-helper.h.

References m_trafficModel.

◆ GetTrafficPercentage()

double ns3::SimulationHelperConf::GetTrafficPercentage ( std::string  trafficModel) const
inlineprivate

Definition at line 785 of file simulation-helper.h.

References m_trafficModel.

◆ GetTrafficProtocol()

TransportLayerProtocol_t ns3::SimulationHelperConf::GetTrafficProtocol ( std::string  trafficModel) const
inlineprivate

Definition at line 813 of file simulation-helper.h.

References m_trafficModel.

◆ GetTrafficStartDelay()

Time ns3::SimulationHelperConf::GetTrafficStartDelay ( std::string  trafficModel) const
inlineprivate

Definition at line 925 of file simulation-helper.h.

References m_trafficModel.

◆ GetTrafficStartTime()

Time ns3::SimulationHelperConf::GetTrafficStartTime ( std::string  trafficModel) const
inlineprivate

Definition at line 869 of file simulation-helper.h.

References m_trafficModel.

◆ GetTrafficStopTime()

Time ns3::SimulationHelperConf::GetTrafficStopTime ( std::string  trafficModel) const
inlineprivate

Definition at line 897 of file simulation-helper.h.

References m_trafficModel.

◆ GetTypeId()

TypeId ns3::SimulationHelperConf::GetTypeId ( void  )
static

◆ SetTrafficDirection()

void ns3::SimulationHelperConf::SetTrafficDirection ( std::string  trafficModel,
TrafficDirection_t  direction 
)
inlineprivate

Definition at line 825 of file simulation-helper.h.

References TrafficConfiguration_t::m_direction, and m_trafficModel.

◆ SetTrafficPercentage()

void ns3::SimulationHelperConf::SetTrafficPercentage ( std::string  trafficModel,
double  percentage 
)
inlineprivate

Definition at line 769 of file simulation-helper.h.

References TrafficConfiguration_t::m_percentage, and m_trafficModel.

◆ SetTrafficProtocol()

void ns3::SimulationHelperConf::SetTrafficProtocol ( std::string  trafficModel,
TransportLayerProtocol_t  protocol 
)
inlineprivate

Definition at line 797 of file simulation-helper.h.

References TrafficConfiguration_t::m_protocol, and m_trafficModel.

◆ SetTrafficStartDelay()

void ns3::SimulationHelperConf::SetTrafficStartDelay ( std::string  trafficModel,
Time  startDelay 
)
inlineprivate

Definition at line 909 of file simulation-helper.h.

References TrafficConfiguration_t::m_startDelay, and m_trafficModel.

◆ SetTrafficStartTime()

void ns3::SimulationHelperConf::SetTrafficStartTime ( std::string  trafficModel,
Time  startTime 
)
inlineprivate

Definition at line 853 of file simulation-helper.h.

References TrafficConfiguration_t::m_startTime, and m_trafficModel.

◆ SetTrafficStopTime()

void ns3::SimulationHelperConf::SetTrafficStopTime ( std::string  trafficModel,
Time  stopTime 
)
inlineprivate

Definition at line 881 of file simulation-helper.h.

References TrafficConfiguration_t::m_startTime, and m_trafficModel.

◆ TRAFFIC_MODEL_ATTRIBUTE_ACCESSOR_DEFINE() [1/4]

ns3::SimulationHelperConf::TRAFFIC_MODEL_ATTRIBUTE_ACCESSOR_DEFINE ( Cbr  )
private

◆ TRAFFIC_MODEL_ATTRIBUTE_ACCESSOR_DEFINE() [2/4]

ns3::SimulationHelperConf::TRAFFIC_MODEL_ATTRIBUTE_ACCESSOR_DEFINE ( Http  )
private

◆ TRAFFIC_MODEL_ATTRIBUTE_ACCESSOR_DEFINE() [3/4]

ns3::SimulationHelperConf::TRAFFIC_MODEL_ATTRIBUTE_ACCESSOR_DEFINE ( Nrtv  )
private

◆ TRAFFIC_MODEL_ATTRIBUTE_ACCESSOR_DEFINE() [4/4]

ns3::SimulationHelperConf::TRAFFIC_MODEL_ATTRIBUTE_ACCESSOR_DEFINE ( OnOff  )
private

Member Data Documentation

◆ m_activateProgressLogging

bool ns3::SimulationHelperConf::m_activateProgressLogging

Definition at line 763 of file simulation-helper.h.

Referenced by GetTypeId().

◆ m_activateStatistics

bool ns3::SimulationHelperConf::m_activateStatistics

Definition at line 762 of file simulation-helper.h.

Referenced by GetTypeId().

◆ m_crTxConf

SimulationHelper::CrTxConf_t ns3::SimulationHelperConf::m_crTxConf

Definition at line 764 of file simulation-helper.h.

◆ m_enabledBeams

std::string ns3::SimulationHelperConf::m_enabledBeams

Definition at line 758 of file simulation-helper.h.

Referenced by GetTypeId().

◆ m_mobileUtsFolder

std::string ns3::SimulationHelperConf::m_mobileUtsFolder

Definition at line 766 of file simulation-helper.h.

Referenced by GetTypeId().

◆ m_simTime

Time ns3::SimulationHelperConf::m_simTime

Definition at line 757 of file simulation-helper.h.

Referenced by GetTypeId().

◆ m_trafficModel

◆ m_utCount

Ptr<RandomVariableStream> ns3::SimulationHelperConf::m_utCount

Definition at line 759 of file simulation-helper.h.

Referenced by GetTypeId().

◆ m_utMobileUserCount

Ptr<RandomVariableStream> ns3::SimulationHelperConf::m_utMobileUserCount

Definition at line 761 of file simulation-helper.h.

Referenced by GetTypeId().

◆ m_utUserCount

Ptr<RandomVariableStream> ns3::SimulationHelperConf::m_utUserCount

Definition at line 760 of file simulation-helper.h.

Referenced by GetTypeId().


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