|
FERS 1.0.0
The Flexible Extensible Radar Simulator
|
Encapsulates the state required during the XML parsing process. More...
#include "xml_parser_utils.h"
Collaboration diagram for serial::xml_parser_utils::ParserContext:Public Attributes | |
| params::Parameters | parameters |
| An isolated copy of the simulation parameters being built. | |
| core::World * | world = nullptr |
| Pointer to the World where parsed objects are inserted. | |
| std::filesystem::path | base_dir |
| The directory of the main XML file (used to resolve relative asset paths). | |
| std::mt19937 * | master_seeder = nullptr |
| RNG used to generate independent seeds for simulated objects. | |
| AssetLoaders | loaders |
| The injected asset loaders for external files. | |
Encapsulates the state required during the XML parsing process.
This context object holds the intermediate simulation parameters, a pointer to the simulation world, the base directory for resolving relative paths, the master random number generator, and the asset loading hooks. It is passed through the parsing functions to aggregate the scenario definition.
Definition at line 110 of file xml_parser_utils.h.
| std::filesystem::path serial::xml_parser_utils::ParserContext::base_dir |
The directory of the main XML file (used to resolve relative asset paths).
Definition at line 114 of file xml_parser_utils.h.
Referenced by serial::parseSimulation(), serial::parseSimulationFromString(), and serial::xml_parser_utils::parseWaveform().
| AssetLoaders serial::xml_parser_utils::ParserContext::loaders |
The injected asset loaders for external files.
Definition at line 116 of file xml_parser_utils.h.
Referenced by serial::xml_parser_utils::parseAntenna(), serial::parseSimulation(), serial::parseSimulationFromString(), serial::xml_parser_utils::parseTarget(), and serial::xml_parser_utils::parseWaveform().
| std::mt19937* serial::xml_parser_utils::ParserContext::master_seeder = nullptr |
RNG used to generate independent seeds for simulated objects.
Definition at line 115 of file xml_parser_utils.h.
Referenced by serial::xml_parser_utils::parseReceiver(), serial::parseSimulation(), serial::parseSimulationFromString(), serial::xml_parser_utils::parseTarget(), and serial::xml_parser_utils::parseTransmitter().
| params::Parameters serial::xml_parser_utils::ParserContext::parameters |
An isolated copy of the simulation parameters being built.
Definition at line 112 of file xml_parser_utils.h.
Referenced by serial::xml_parser_utils::parsePlatform(), serial::parseSimulation(), serial::parseSimulationFromString(), serial::xml_parser_utils::parseWaveform(), and serial::xml_parser_utils::processParsedDocument().
| core::World* serial::xml_parser_utils::ParserContext::world = nullptr |
Pointer to the World where parsed objects are inserted.
Definition at line 113 of file xml_parser_utils.h.
Referenced by serial::xml_parser_utils::parseAntenna(), serial::xml_parser_utils::parsePlatform(), serial::xml_parser_utils::parseReceiver(), serial::parseSimulation(), serial::parseSimulationFromString(), serial::xml_parser_utils::parseTarget(), serial::xml_parser_utils::parseTiming(), serial::xml_parser_utils::parseTransmitter(), serial::xml_parser_utils::parseWaveform(), and serial::xml_parser_utils::processParsedDocument().