Icarus
Vehicle Simulation as a Transformable Computational Graph, built on Vulcan and Janus
Loading...
Searching...
No Matches
icarus::EntityTemplate Struct Reference

Entity template loaded from YAML. More...

#include <SimulatorConfig.hpp>

Collaboration diagram for icarus::EntityTemplate:

Static Public Member Functions

static EntityTemplate FromFile (const std::string &yaml_path)
 Load template from YAML file (implemented in SimulationLoader.hpp).

Public Attributes

std::string name
 Template name (e.g., "Rocket").
std::string description
 Optional description.
std::vector< ComponentConfigcomponents
 Components within this entity.
std::vector< signal::SignalRouteroutes
 Internal routes (relative names, expanded with entity prefix).
SchedulerConfig scheduler
 Internal scheduler configuration.
StageConfig staging
 Internal staging configuration.

Detailed Description

Entity template loaded from YAML.

Self-contained unit defining components, internal routes, scheduler, and staging. Can be instantiated multiple times with different names and overrides.

Member Function Documentation

◆ FromFile()

EntityTemplate icarus::EntityTemplate::FromFile ( const std::string & yaml_path)
inlinestatic

Load template from YAML file (implemented in SimulationLoader.hpp).

Member Data Documentation

◆ components

std::vector<ComponentConfig> icarus::EntityTemplate::components

Components within this entity.

◆ description

std::string icarus::EntityTemplate::description

Optional description.

◆ name

std::string icarus::EntityTemplate::name

Template name (e.g., "Rocket").

◆ routes

std::vector<signal::SignalRoute> icarus::EntityTemplate::routes

Internal routes (relative names, expanded with entity prefix).

◆ scheduler

SchedulerConfig icarus::EntityTemplate::scheduler

Internal scheduler configuration.

◆ staging

StageConfig icarus::EntityTemplate::staging

Internal staging configuration.


The documentation for this struct was generated from the following files: