$darkmode
simulation_outcome.hpp File Reference
#include <map>
#include <fable/enum.hpp>
Include dependency graph for simulation_outcome.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define EXIT_OUTCOME_SUCCESS   EXIT_SUCCESS
 
#define EXIT_OUTCOME_UNKNOWN   EXIT_FAILURE
 
#define EXIT_OUTCOME_NOSTART   4
 
#define EXIT_OUTCOME_STOPPED   8
 
#define EXIT_OUTCOME_FAILURE   9
 
#define EXIT_OUTCOME_ABORTED   16
 

Enumerations

enum class  engine::SimulationOutcome {
  NoStart , Aborted , Stopped , Failure ,
  Success , Probing
}
 

Functions

 engine::ENUM_SERIALIZATION (SimulationOutcome,({ {SimulationOutcome::Aborted, "aborted"}, {SimulationOutcome::NoStart, "no-start"}, {SimulationOutcome::Failure, "failure"}, {SimulationOutcome::Success, "success"}, {SimulationOutcome::Stopped, "stopped"}, {SimulationOutcome::Probing, "probing"}, })) inline int as_exit_code(SimulationOutcome outcome
 

Enumeration Type Documentation

◆ SimulationOutcome

SimulationOutcome describes the possible outcomes a simulation can have.

Enumerator
NoStart 

Simulation unable to start.

Aborted 

Simulation aborted due to technical problems or interrupt.

Stopped 

Simulation concluded, but without valuation.

Failure 

Simulation explicitly concluded with failure.

Success 

Simulation explicitly concluded with success.

Probing 

Simulation started briefly to gather specific information.