$darkmode
simulation_context.hpp File Reference
#include <cstdint>
#include <functional>
#include <map>
#include <memory>
#include <optional>
#include <string>
#include <vector>
#include <sol/state_view.hpp>
#include <cloe/cloe_fwd.hpp>
#include <cloe/data_broker.hpp>
#include <cloe/sync.hpp>
#include <cloe/trigger/nil_event.hpp>
#include <cloe/utility/statistics.hpp>
#include <cloe/utility/timer.hpp>
#include "coordinator.hpp"
#include "registrar.hpp"
#include "server.hpp"
#include "simulation_progress.hpp"
#include "stack.hpp"
#include "utility/command.hpp"
#include "utility/time_event.hpp"
Include dependency graph for simulation_context.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  engine::SimulationSync
 
struct  engine::SimulationStatistics
 
struct  engine::SimulationContext
 

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
}
 

Functions

 engine::ENUM_SERIALIZATION (SimulationOutcome,({ {SimulationOutcome::Aborted, "aborted"}, {SimulationOutcome::NoStart, "no-start"}, {SimulationOutcome::Failure, "failure"}, {SimulationOutcome::Success, "success"}, {SimulationOutcome::Stopped, "stopped"}, })) namespace events
 

Detailed Description

See also
simulation_context.cpp

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.