22 #include "ns3/config-store-module.h"
23 #include "ns3/core-module.h"
24 #include "ns3/internet-module.h"
25 #include "ns3/network-module.h"
26 #include "ns3/satellite-module.h"
27 #include "ns3/traffic-module.h"
41 NS_LOG_COMPONENT_DEFINE(
"sat-generic-launcher");
44 main(
int argc,
char* argv[])
46 std::string inputFileNameWithPath =
47 Singleton<SatEnvVariables>::Get()->LocateDirectory(
"contrib/satellite/examples") +
48 "/generic-input-attributes.xml";
50 Ptr<SimulationHelper> simulationHelper = CreateObject<SimulationHelper>(
"generic-launcher");
51 simulationHelper->DisableAllCapacityAssignmentCategories();
52 simulationHelper->EnableCrdsa();
55 simulationHelper->AddDefaultUiArguments(cmd, inputFileNameWithPath);
56 cmd.Parse(argc, argv);
58 simulationHelper->ConfigureAttributesFromFile(inputFileNameWithPath);
59 simulationHelper->StoreAttributesToFile(
"parametersUsed.xml");
60 simulationHelper->RunSimulation();
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.