#include "simulation-helper.h"
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_t > | m_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) | |
Definition at line 699 of file simulation-helper.h.
Enumerator | |
---|---|
RTN_LINK | |
FWD_LINK | |
BOTH_LINK |
Definition at line 729 of file simulation-helper.h.
Enumerator | |
---|---|
PROTOCOL_UDP | |
PROTOCOL_TCP | |
PROTOCOL_BOTH |
Definition at line 722 of file simulation-helper.h.
ns3::SimulationHelperConf::SimulationHelperConf | ( | ) |
Default constructor.
Definition at line 204 of file simulation-helper.cc.
|
virtual |
Destructor.
Definition at line 216 of file simulation-helper.cc.
TypeId ns3::SimulationHelperConf::GetInstanceTypeId | ( | void | ) | const |
Derived from Object.
Definition at line 197 of file simulation-helper.cc.
References GetTypeId().
|
inlineprivate |
Definition at line 841 of file simulation-helper.h.
References m_trafficModel.
|
inlineprivate |
Definition at line 785 of file simulation-helper.h.
References m_trafficModel.
|
inlineprivate |
Definition at line 813 of file simulation-helper.h.
References m_trafficModel.
|
inlineprivate |
Definition at line 925 of file simulation-helper.h.
References m_trafficModel.
|
inlineprivate |
Definition at line 869 of file simulation-helper.h.
References m_trafficModel.
|
inlineprivate |
Definition at line 897 of file simulation-helper.h.
References m_trafficModel.
|
static |
Derived from Object.
Definition at line 118 of file simulation-helper.cc.
References m_activateProgressLogging, m_activateStatistics, m_enabledBeams, m_mobileUtsFolder, m_simTime, m_utCount, m_utMobileUserCount, m_utUserCount, PROTOCOL_TCP, PROTOCOL_UDP, RTN_LINK, and SIM_ADD_TRAFFIC_MODEL_ATTRIBUTES.
Referenced by GetInstanceTypeId().
|
inlineprivate |
Definition at line 825 of file simulation-helper.h.
References TrafficConfiguration_t::m_direction, and m_trafficModel.
|
inlineprivate |
Definition at line 769 of file simulation-helper.h.
References TrafficConfiguration_t::m_percentage, and m_trafficModel.
|
inlineprivate |
Definition at line 797 of file simulation-helper.h.
References TrafficConfiguration_t::m_protocol, and m_trafficModel.
|
inlineprivate |
Definition at line 909 of file simulation-helper.h.
References TrafficConfiguration_t::m_startDelay, and m_trafficModel.
|
inlineprivate |
Definition at line 853 of file simulation-helper.h.
References TrafficConfiguration_t::m_startTime, and m_trafficModel.
|
inlineprivate |
Definition at line 881 of file simulation-helper.h.
References TrafficConfiguration_t::m_startTime, and m_trafficModel.
|
private |
|
private |
|
private |
|
private |
bool ns3::SimulationHelperConf::m_activateProgressLogging |
Definition at line 763 of file simulation-helper.h.
Referenced by GetTypeId().
bool ns3::SimulationHelperConf::m_activateStatistics |
Definition at line 762 of file simulation-helper.h.
Referenced by GetTypeId().
SimulationHelper::CrTxConf_t ns3::SimulationHelperConf::m_crTxConf |
Definition at line 764 of file simulation-helper.h.
std::string ns3::SimulationHelperConf::m_enabledBeams |
Definition at line 758 of file simulation-helper.h.
Referenced by GetTypeId().
std::string ns3::SimulationHelperConf::m_mobileUtsFolder |
Definition at line 766 of file simulation-helper.h.
Referenced by GetTypeId().
Time ns3::SimulationHelperConf::m_simTime |
Definition at line 757 of file simulation-helper.h.
Referenced by GetTypeId().
std::map<std::string, TrafficConfiguration_t> ns3::SimulationHelperConf::m_trafficModel |
Definition at line 765 of file simulation-helper.h.
Referenced by GetTrafficDirection(), GetTrafficPercentage(), GetTrafficProtocol(), GetTrafficStartDelay(), GetTrafficStartTime(), GetTrafficStopTime(), SetTrafficDirection(), SetTrafficPercentage(), SetTrafficProtocol(), SetTrafficStartDelay(), SetTrafficStartTime(), and SetTrafficStopTime().
Ptr<RandomVariableStream> ns3::SimulationHelperConf::m_utCount |
Definition at line 759 of file simulation-helper.h.
Referenced by GetTypeId().
Ptr<RandomVariableStream> ns3::SimulationHelperConf::m_utMobileUserCount |
Definition at line 761 of file simulation-helper.h.
Referenced by GetTypeId().
Ptr<RandomVariableStream> ns3::SimulationHelperConf::m_utUserCount |
Definition at line 760 of file simulation-helper.h.
Referenced by GetTypeId().