|
Icarus
Vehicle Simulation as a Transformable Computational Graph, built on Vulcan and Janus
|
Configuration for phase management. More...
#include <PhaseManager.hpp>
Public Member Functions | |
| std::optional< int32_t > | GetPhaseValue (const std::string &name) const |
| Get phase integer from name, or nullopt if not found. | |
| std::string | GetPhaseName (int32_t value) const |
| Get phase name from integer, or empty string if not found. | |
Public Attributes | |
| std::map< std::string, int32_t > | definitions |
| Phase name to integer mapping (e.g., {"GROUND": 0, "BOOST": 1, ...}). | |
| std::string | initial_phase |
| Initial phase name. | |
| std::vector< PhaseTransition > | transitions |
| Transition rules. | |
| std::string | entity_prefix |
| Entity prefix for phase signal (e.g., "Vehicle" -> "Vehicle.phase"). | |
Configuration for phase management.
|
inlinenodiscard |
Get phase name from integer, or empty string if not found.
|
inlinenodiscard |
Get phase integer from name, or nullopt if not found.
| std::map<std::string, int32_t> icarus::PhaseConfig::definitions |
Phase name to integer mapping (e.g., {"GROUND": 0, "BOOST": 1, ...}).
| std::string icarus::PhaseConfig::entity_prefix |
Entity prefix for phase signal (e.g., "Vehicle" -> "Vehicle.phase").
| std::string icarus::PhaseConfig::initial_phase |
Initial phase name.
| std::vector<PhaseTransition> icarus::PhaseConfig::transitions |
Transition rules.