33 explicit CppsManager(
const std::string &scenario_config_file);
36 void setupImpl()
override;
38 std::string getDatabaseFilename()
const override;
40 void initAMR(uint32_t index);
41 void connectAMR(uint32_t index);
42 void startAMR(uint32_t index);
44 void initMF(uint32_t index);
45 void startMF(uint32_t index);
48 void executeMaterialFlow(
int index,
const std::string &friendly_name);
54 void scheduleEvents();
56 uint64_t getNumberOfNodes()
const;
61 void clearFinishedMaterialFlows();
63 void checkStarted(uint32_t index);
67 std::unordered_map<std::string, AmrDescription> amr_descriptions_;
68 std::unordered_map<std::string, MaterialFlowDescriptionScenario> material_flow_descriptions_;
70 std::priority_queue<SpawnInfoScenario, std::vector<SpawnInfoScenario>, std::greater<>>
72 std::priority_queue<SpawnInfoScenario, std::vector<SpawnInfoScenario>, std::greater<>>
76 uint64_t number_material_flows_scheduled_for_execution_ = 0;
77 uint64_t number_material_flows_finished_ = 0;
80 ns3::NodeContainer amrs_;
81 ns3::NodeContainer material_flows_;