17#ifndef DAISI_SOLA_NS3_SOLA_SCENARIOFILE_H_
18#define DAISI_SOLA_NS3_SOLA_SCENARIOFILE_H_
23#include "manager/general_scenariofile.h"
24#include "ns3/core-module.h"
26namespace daisi::sola_ns3 {
29 static std::string typeName() {
return "start_sola"; }
33 void parse(
const YAML::Node &node);
37 static std::string typeName() {
return "subscribe_topic"; }
42 void parse(
const YAML::Node &node);
46 static std::string typeName() {
return "delay"; }
50 void parse(
const YAML::Node &node);
54 static std::string typeName() {
return "publish"; }
57 uint64_t message_size;
60 void parse(
const YAML::Node &node);
64 std::variant<StartSOLA, SubscribeTopic, Delay, Publish> step;
66 void parse(
const YAML::Node &node);
72 uint32_t number_nodes = 0;
74 std::vector<SolaScenarioSequenceStep> scenario_sequence;
Definition general_scenariofile.h:28
Definition sola_scenariofile.h:45
Definition sola_scenariofile.h:53
Definition sola_scenariofile.h:63
Definition sola_scenariofile.h:69
Definition sola_scenariofile.h:28
Definition sola_scenariofile.h:36